summaryrefslogtreecommitdiffstats
path: root/include/linux/syscalls.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-10-20 21:49:33 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-11-28 21:53:37 -0500
commitda3d4c5fa56236dd924d77ffc4f982356816b93b (patch)
tree37cbc90820ef0e5474801db00c968e2da7c455aa /include/linux/syscalls.h
parentd03d26e58fde2ec99478e26aab47b55755189b08 (diff)
downloadop-kernel-dev-da3d4c5fa56236dd924d77ffc4f982356816b93b.zip
op-kernel-dev-da3d4c5fa56236dd924d77ffc4f982356816b93b.tar.gz
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 2779009..526deb3 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,
OpenPOWER on IntegriCloud