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:42:54 +0000 (10:42 -0400)
commitdd0ab7509addfa62db59e255ea8fdd884505367d
tree6f3df44a203c5ae713e230e679cfaa92dd0012e0
parent6596bd9ed223c5567aa72981082012437526d83d
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.024556 seconds and 4 git commands to generate.