summaryrefslogtreecommitdiffstats
path: root/include/linux/syscalls.h
diff options
context:
space:
mode:
authorAl Viro2012-10-21 03:49:33 +0200
committerAl Viro2012-11-29 03:53:37 +0100
commitda3d4c5fa56236dd924d77ffc4f982356816b93b (patch)
tree37cbc90820ef0e5474801db00c968e2da7c455aa /include/linux/syscalls.h
parentmake compat_do_execve() static, lose pt_regs argument (diff)
downloadkernel-qcow2-linux-da3d4c5fa56236dd924d77ffc4f982356816b93b.tar.gz
kernel-qcow2-linux-da3d4c5fa56236dd924d77ffc4f982356816b93b.tar.xz
kernel-qcow2-linux-da3d4c5fa56236dd924d77ffc4f982356816b93b.zip
get rid of pt_regs argument of do_execve()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/syscalls.h')
-rw-r--r--include/linux/syscalls.h3
1 files changed, 1 insertions, 2 deletions
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,