diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-21 05:49:33 +0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-11-29 06:53:37 +0400 |
commit | da3d4c5fa56236dd924d77ffc4f982356816b93b (patch) | |
tree | 37cbc90820ef0e5474801db00c968e2da7c455aa /include/linux | |
parent | d03d26e58fde2ec99478e26aab47b55755189b08 (diff) | |
download | linux-da3d4c5fa56236dd924d77ffc4f982356816b93b.tar.xz |
get rid of pt_regs argument of do_execve()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux')
-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); extern int do_execve(const char *, const char __user * const __user *, - const char __user * const __user *, struct pt_regs *); + const char __user * const __user *); extern long do_fork(unsigned long, unsigned long, struct pt_regs *, unsigned long, int __user *, int __user *); struct task_struct *fork_idle(int); #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 #define kernel_execve(filename, argv, envp) \ do_execve(filename, \ (const char __user *const __user *)argv, \ - (const char __user *const __user *)envp, \ - current_pt_regs()) + (const char __user *const __user *)envp) #endif asmlinkage long sys_execve(const char __user *filename, |