Fix: COMPAT_EPOLL_PROC_PATH is available from Linux 2.6.28
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Tue, 9 May 2017 19:46:35 +0000 (15:46 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 11 May 2017 14:43:02 +0000 (10:43 -0400)
commit811b2f150aae06ae0d211dc97416b847986798a3
treebc4d4e819970a3ad323fa89a754d2fbf258b9f81
parentbb346b1a1a6b58c835b0a246d5bf7e734c3d3904
Fix: COMPAT_EPOLL_PROC_PATH is available from Linux 2.6.28

v2: Typo in commit message "per see" -> "per se"

Failing on opening [1] is not an error per se. [1] was
introduced in Linux 2.6.28 but epoll is available since
2.5.44. Hence, goto end and set a default value without
setting error return value.

[1] /proc/sys/fs/epoll/max_user_watches

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/compat/compat-epoll.c
This page took 0.026113 seconds and 4 git commands to generate.