[CVE-2009-0029] System call wrappers part 32
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
This commit is contained in:
@ -198,7 +198,7 @@ struct file *eventfd_fget(int fd)
|
||||
return file;
|
||||
}
|
||||
|
||||
asmlinkage long sys_eventfd2(unsigned int count, int flags)
|
||||
SYSCALL_DEFINE2(eventfd2, unsigned int, count, int, flags)
|
||||
{
|
||||
int fd;
|
||||
struct eventfd_ctx *ctx;
|
||||
@ -228,8 +228,7 @@ asmlinkage long sys_eventfd2(unsigned int count, int flags)
|
||||
return fd;
|
||||
}
|
||||
|
||||
asmlinkage long sys_eventfd(unsigned int count)
|
||||
SYSCALL_DEFINE1(eventfd, unsigned int, count)
|
||||
{
|
||||
return sys_eventfd2(count, 0);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user