diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-20 21:49:33 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-11-28 21:53:37 -0500 |
commit | da3d4c5fa56236dd924d77ffc4f982356816b93b (patch) | |
tree | 37cbc90820ef0e5474801db00c968e2da7c455aa /include | |
parent | d03d26e58fde2ec99478e26aab47b55755189b08 (diff) |
get rid of pt_regs argument of do_execve()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/sched.h | 2 | ||||
-rw-r--r-- | include/linux/syscalls.h | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index a0166481eb20..c57249782e48 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -2288,7 +2288,7 @@ extern int disallow_signal(int); | |||
2288 | 2288 | ||
2289 | extern int do_execve(const char *, | 2289 | extern int do_execve(const char *, |
2290 | const char __user * const __user *, | 2290 | const char __user * const __user *, |
2291 | const char __user * const __user *, struct pt_regs *); | 2291 | const char __user * const __user *); |
2292 | extern long do_fork(unsigned long, unsigned long, struct pt_regs *, unsigned long, int __user *, int __user *); | 2292 | extern long do_fork(unsigned long, unsigned long, struct pt_regs *, unsigned long, int __user *, int __user *); |
2293 | struct task_struct *fork_idle(int); | 2293 | struct task_struct *fork_idle(int); |
2294 | #ifdef CONFIG_GENERIC_KERNEL_THREAD | 2294 | #ifdef CONFIG_GENERIC_KERNEL_THREAD |
diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h index 2779009ceaa3..526deb333b91 100644 --- a/include/linux/syscalls.h +++ b/include/linux/syscalls.h | |||
@@ -833,8 +833,7 @@ int kernel_execve(const char *filename, const char *const argv[], const char *co | |||
833 | #define kernel_execve(filename, argv, envp) \ | 833 | #define kernel_execve(filename, argv, envp) \ |
834 | do_execve(filename, \ | 834 | do_execve(filename, \ |
835 | (const char __user *const __user *)argv, \ | 835 | (const char __user *const __user *)argv, \ |
836 | (const char __user *const __user *)envp, \ | 836 | (const char __user *const __user *)envp) |
837 | current_pt_regs()) | ||
838 | #endif | 837 | #endif |
839 | 838 | ||
840 | asmlinkage long sys_execve(const char __user *filename, | 839 | asmlinkage long sys_execve(const char __user *filename, |