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

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
This commit is contained in:
Heiko Carstens
2009-01-14 14:14:30 +01:00
parent 1e7bfb2134
commit 938bb9f5e8
5 changed files with 21 additions and 24 deletions

View File

@ -576,7 +576,7 @@ static const struct inotify_operations inotify_user_ops = {
.destroy_watch = free_inotify_user_watch,
};
asmlinkage long sys_inotify_init1(int flags)
SYSCALL_DEFINE1(inotify_init1, int, flags)
{
struct inotify_device *dev;
struct inotify_handle *ih;
@ -655,7 +655,7 @@ out_put_fd:
return ret;
}
asmlinkage long sys_inotify_init(void)
SYSCALL_DEFINE0(inotify_init)
{
return sys_inotify_init1(0);
}