diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-04 08:34:57 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-14 19:36:37 -0400 |
commit | 7f1f311ac7b7b9c779fd207a20369f7fa3a61ba6 (patch) | |
tree | cf1fd972ab01e9c569bc8fe01226eec0f942681a /arch/parisc/kernel/process.c | |
parent | 4e5ed85ab5f1c9973588d7226c2894016059d9f6 (diff) | |
download | linux-7f1f311ac7b7b9c779fd207a20369f7fa3a61ba6.tar.bz2 |
parisc: switch to generic sys_execve()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/parisc/kernel/process.c')
-rw-r--r-- | arch/parisc/kernel/process.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/arch/parisc/kernel/process.c b/arch/parisc/kernel/process.c index f3f6408bfb4f..44e8534c52e9 100644 --- a/arch/parisc/kernel/process.c +++ b/arch/parisc/kernel/process.c @@ -314,29 +314,6 @@ unsigned long thread_saved_pc(struct task_struct *t) return t->thread.regs.kpc; } -/* - * sys_execve() executes a new program. - */ - -asmlinkage int sys_execve(struct pt_regs *regs) -{ - int error; - struct filename *filename; - - filename = getname((const char __user *) regs->gr[26]); - error = PTR_ERR(filename); - if (IS_ERR(filename)) - goto out; - error = do_execve(filename->name, - (const char __user *const __user *) regs->gr[25], - (const char __user *const __user *) regs->gr[24], - regs); - putname(filename); -out: - - return error; -} - unsigned long get_wchan(struct task_struct *p) { |