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:35 +0000 (10:42 -0400)
commitb27eb473af7cec9312e2ee7ce3986b77dfd9245c
treeff41da80f229839beebf01147401784b443e1157
parent6c35c1c381e1f08eed2a8694fe88cf75bf4ab7e1
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.025874 seconds and 4 git commands to generate.