summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/stubs.c
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-06-10 09:36:23 -0700
committerKhem Raj <raj.khem@gmail.com>2012-06-10 09:36:23 -0700
commite118373cbb58ba5ffa5fb6670957678d5b87cdb9 (patch)
tree968f30ebbb43633fdf74dc1baa3d8b02e9b41872 /libc/sysdeps/linux/common/stubs.c
parent2952c70804b48bb5c87eea21df5e401969dc4ec1 (diff)
eventfd: Implement eventfd2 and fix eventfd
eventfd: evntfd assumes to take two arguments instead it should be one evntfd expects two therefore implement both syscalls with correct parameters Thanks Eugene Rudoy for reporting it and also providing the patch Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/common/stubs.c')
-rw-r--r--libc/sysdeps/linux/common/stubs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/stubs.c b/libc/sysdeps/linux/common/stubs.c
index 3567b0786..1fc23933c 100644
--- a/libc/sysdeps/linux/common/stubs.c
+++ b/libc/sysdeps/linux/common/stubs.c
@@ -110,7 +110,7 @@ make_stub(epoll_pwait)
make_stub(epoll_wait)
#endif
-#if !defined __NR_eventfd && defined __UCLIBC_LINUX_SPECIFIC__
+#if !defined __NR_eventfd && !defined __NR_eventfd2 && defined __UCLIBC_LINUX_SPECIFIC__
make_stub(eventfd)
#endif