[CVE-2009-0029] System call wrappers part 32

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
This commit is contained in:
Heiko Carstens
2009-01-14 14:14:34 +01:00
parent 836f92adf1
commit d4e82042c4
7 changed files with 24 additions and 17 deletions

View File

@ -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);
}