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 13:35:25 +0000 (09:35 -0400)
commitd3f531ff12fe7b5c2533cbfc6862b686f460da2d
treeb9833352d40b2a324d81fa7b9b7c23341bf58055
parent2d01d9779f90daf38b43f57ef53137a1474db97e
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.025641 seconds and 4 git commands to generate.