diff options
Diffstat (limited to 'arch/xtensa/kernel/process.c')
-rw-r--r-- | arch/xtensa/kernel/process.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/xtensa/kernel/process.c b/arch/xtensa/kernel/process.c index 031f36685710..e1a04a346e75 100644 --- a/arch/xtensa/kernel/process.c +++ b/arch/xtensa/kernel/process.c | |||
@@ -331,11 +331,6 @@ long xtensa_execve(char __user *name, char __user * __user *argv, | |||
331 | if (IS_ERR(filename)) | 331 | if (IS_ERR(filename)) |
332 | goto out; | 332 | goto out; |
333 | error = do_execve(filename, argv, envp, regs); | 333 | error = do_execve(filename, argv, envp, regs); |
334 | if (error == 0) { | ||
335 | task_lock(current); | ||
336 | current->ptrace &= ~PT_DTRACE; | ||
337 | task_unlock(current); | ||
338 | } | ||
339 | putname(filename); | 334 | putname(filename); |
340 | out: | 335 | out: |
341 | return error; | 336 | return error; |