aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm
diff options
context:
space:
mode:
authorBrian Gerst <brgerst@gmail.com>2009-12-09 19:01:53 -0500
committerH. Peter Anvin <hpa@zytor.com>2009-12-09 19:28:34 -0500
commit11cf88bd0b8165b65aaabaee0977e9a3ad474ab7 (patch)
tree33e74a88baf24ee971282ded562b78db40749bb9 /arch/x86/include/asm
parent27f59559d63375a4d59e7c720a439d9f0b47edad (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.h6
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 */
24int sys_fork(struct pt_regs *); 24int sys_fork(struct pt_regs *);
25int sys_vfork(struct pt_regs *); 25int sys_vfork(struct pt_regs *);
26long sys_execve(char __user *, char __user * __user *,
27 char __user * __user *, struct pt_regs *);
26 28
27/* kernel/ldt.c */ 29/* kernel/ldt.c */
28asmlinkage int sys_modify_ldt(int, void __user *, unsigned long); 30asmlinkage 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 */
41int sys_clone(struct pt_regs *); 43int sys_clone(struct pt_regs *);
42int sys_execve(struct pt_regs *);
43 44
44/* kernel/signal.c */ 45/* kernel/signal.c */
45asmlinkage int sys_sigsuspend(int, int, old_sigset_t); 46asmlinkage int sys_sigsuspend(int, int, old_sigset_t);
@@ -73,9 +74,6 @@ int sys_vm86(struct pt_regs *);
73asmlinkage long sys_clone(unsigned long, unsigned long, 74asmlinkage 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 *);
76asmlinkage long sys_execve(char __user *, char __user * __user *,
77 char __user * __user *,
78 struct pt_regs *);
79long sys_arch_prctl(int, unsigned long); 77long sys_arch_prctl(int, unsigned long);
80 78
81/* kernel/signal.c */ 79/* kernel/signal.c */