eventfd: Implement eventfd2 and fix eventfd
commite118373cbb58ba5ffa5fb6670957678d5b87cdb9
authorKhem Raj <raj.khem@gmail.com>
Sun, 10 Jun 2012 16:36:23 +0000 (10 09:36 -0700)
committerKhem Raj <raj.khem@gmail.com>
Sun, 10 Jun 2012 16:36:23 +0000 (10 09:36 -0700)
tree968f30ebbb43633fdf74dc1baa3d8b02e9b41872
parent2952c70804b48bb5c87eea21df5e401969dc4ec1
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>
libc/sysdeps/linux/common/eventfd.c
libc/sysdeps/linux/common/stubs.c