diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-09-19 13:08:13 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-01 00:53:58 -0400 |
commit | 8f1597e959a3cfeae8f5cfae26890710f9092443 (patch) | |
tree | ab2b435a5b7dc1e9ac9f06bfb7b26d07346de504 /arch/mn10300/kernel | |
parent | 255461c53a91d34e2eddb8c8a2ba39e99065d7c1 (diff) |
mn10300: switch to generic sys_execve()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/mn10300/kernel')
-rw-r--r-- | arch/mn10300/kernel/process.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/mn10300/kernel/process.c b/arch/mn10300/kernel/process.c index be87fbee4da5..49af5ca89343 100644 --- a/arch/mn10300/kernel/process.c +++ b/arch/mn10300/kernel/process.c @@ -283,22 +283,6 @@ asmlinkage long sys_vfork(void) current_frame(), 0, NULL, NULL); } -asmlinkage long sys_execve(const char __user *name, - const char __user *const __user *argv, - const char __user *const __user *envp) -{ - char *filename; - int error; - - filename = getname(name); - error = PTR_ERR(filename); - if (IS_ERR(filename)) - return error; - error = do_execve(filename, argv, envp, current_frame()); - putname(filename); - return error; -} - unsigned long get_wchan(struct task_struct *p) { return p->thread.wchan; |