diff options
author | Brian Gerst <brgerst@gmail.com> | 2009-12-09 19:01:53 -0500 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-12-09 19:28:34 -0500 |
commit | 11cf88bd0b8165b65aaabaee0977e9a3ad474ab7 (patch) | |
tree | 33e74a88baf24ee971282ded562b78db40749bb9 /arch/x86/include/asm | |
parent | 27f59559d63375a4d59e7c720a439d9f0b47edad (diff) |
x86: Merge sys_execve
Change 32-bit sys_execve to PTREGSCALL3, and merge with 64-bit.
Signed-off-by: Brian Gerst <brgerst@gmail.com>
LKML-Reference: <1260403316-5679-4-git-send-email-brgerst@gmail.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/include/asm')
-rw-r--r-- | arch/x86/include/asm/syscalls.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/x86/include/asm/syscalls.h b/arch/x86/include/asm/syscalls.h index 4b694cd904c4..48c48e508b9f 100644 --- a/arch/x86/include/asm/syscalls.h +++ b/arch/x86/include/asm/syscalls.h | |||
@@ -23,6 +23,8 @@ long sys_iopl(unsigned int, struct pt_regs *); | |||
23 | /* kernel/process.c */ | 23 | /* kernel/process.c */ |
24 | int sys_fork(struct pt_regs *); | 24 | int sys_fork(struct pt_regs *); |
25 | int sys_vfork(struct pt_regs *); | 25 | int sys_vfork(struct pt_regs *); |
26 | long sys_execve(char __user *, char __user * __user *, | ||
27 | char __user * __user *, struct pt_regs *); | ||
26 | 28 | ||
27 | /* kernel/ldt.c */ | 29 | /* kernel/ldt.c */ |
28 | asmlinkage int sys_modify_ldt(int, void __user *, unsigned long); | 30 | asmlinkage int sys_modify_ldt(int, void __user *, unsigned long); |
@@ -39,7 +41,6 @@ asmlinkage int sys_get_thread_area(struct user_desc __user *); | |||
39 | 41 | ||
40 | /* kernel/process_32.c */ | 42 | /* kernel/process_32.c */ |
41 | int sys_clone(struct pt_regs *); | 43 | int sys_clone(struct pt_regs *); |
42 | int sys_execve(struct pt_regs *); | ||
43 | 44 | ||
44 | /* kernel/signal.c */ | 45 | /* kernel/signal.c */ |
45 | asmlinkage int sys_sigsuspend(int, int, old_sigset_t); | 46 | asmlinkage int sys_sigsuspend(int, int, old_sigset_t); |
@@ -73,9 +74,6 @@ int sys_vm86(struct pt_regs *); | |||
73 | asmlinkage long sys_clone(unsigned long, unsigned long, | 74 | asmlinkage long sys_clone(unsigned long, unsigned long, |
74 | void __user *, void __user *, | 75 | void __user *, void __user *, |
75 | struct pt_regs *); | 76 | struct pt_regs *); |
76 | asmlinkage long sys_execve(char __user *, char __user * __user *, | ||
77 | char __user * __user *, | ||
78 | struct pt_regs *); | ||
79 | long sys_arch_prctl(int, unsigned long); | 77 | long sys_arch_prctl(int, unsigned long); |
80 | 78 | ||
81 | /* kernel/signal.c */ | 79 | /* kernel/signal.c */ |