diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-24 14:00:48 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-03-03 23:00:33 -0500 |
commit | 07b053457b5faea05630c119baffa7c61c515fe4 (patch) | |
tree | b281b4da5cc45ee45f5136123d1fd2eaacbfe3c5 /arch/x86/include/asm/sys_ia32.h | |
parent | 0e65a81b105a3f646793d46740ad90fa5c067986 (diff) |
x86: sys32_kill and sys32_mprotect are pointless
their argument types are identical to those of sys_kill and sys_mprotect
resp., so we are not doing any kind of argument validation, etc. in those -
they turn into unconditional branches to corresponding syscalls.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/x86/include/asm/sys_ia32.h')
-rw-r--r-- | arch/x86/include/asm/sys_ia32.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/include/asm/sys_ia32.h b/arch/x86/include/asm/sys_ia32.h index df8ad3b3920a..5e1724176626 100644 --- a/arch/x86/include/asm/sys_ia32.h +++ b/arch/x86/include/asm/sys_ia32.h | |||
@@ -30,7 +30,6 @@ asmlinkage long sys32_fstatat(unsigned int, const char __user *, | |||
30 | struct stat64 __user *, int); | 30 | struct stat64 __user *, int); |
31 | struct mmap_arg_struct32; | 31 | struct mmap_arg_struct32; |
32 | asmlinkage long sys32_mmap(struct mmap_arg_struct32 __user *); | 32 | asmlinkage long sys32_mmap(struct mmap_arg_struct32 __user *); |
33 | asmlinkage long sys32_mprotect(unsigned long, size_t, unsigned long); | ||
34 | 33 | ||
35 | asmlinkage long sys32_alarm(unsigned int); | 34 | asmlinkage long sys32_alarm(unsigned int); |
36 | 35 | ||
@@ -42,7 +41,6 @@ asmlinkage long sys32_pwrite(unsigned int, const char __user *, u32, u32, u32); | |||
42 | 41 | ||
43 | asmlinkage long sys32_personality(unsigned long); | 42 | asmlinkage long sys32_personality(unsigned long); |
44 | 43 | ||
45 | long sys32_kill(int, int); | ||
46 | long sys32_fadvise64_64(int, __u32, __u32, __u32, __u32, int); | 44 | long sys32_fadvise64_64(int, __u32, __u32, __u32, __u32, int); |
47 | long sys32_vm86_warning(void); | 45 | long sys32_vm86_warning(void); |
48 | 46 | ||