diff options
Diffstat (limited to 'arch/parisc')
-rw-r--r-- | arch/parisc/hpux/fs.c | 5 | ||||
-rw-r--r-- | arch/parisc/kernel/process.c | 5 | ||||
-rw-r--r-- | arch/parisc/kernel/sys_parisc32.c | 5 |
3 files changed, 0 insertions, 15 deletions
diff --git a/arch/parisc/hpux/fs.c b/arch/parisc/hpux/fs.c index 5cbe9f9e5d9e..54075360a8fd 100644 --- a/arch/parisc/hpux/fs.c +++ b/arch/parisc/hpux/fs.c | |||
@@ -44,11 +44,6 @@ int hpux_execve(struct pt_regs *regs) | |||
44 | error = do_execve(filename, (char __user * __user *) regs->gr[25], | 44 | error = do_execve(filename, (char __user * __user *) regs->gr[25], |
45 | (char __user * __user *) regs->gr[24], regs); | 45 | (char __user * __user *) regs->gr[24], regs); |
46 | 46 | ||
47 | if (error == 0) { | ||
48 | task_lock(current); | ||
49 | current->ptrace &= ~PT_DTRACE; | ||
50 | task_unlock(current); | ||
51 | } | ||
52 | putname(filename); | 47 | putname(filename); |
53 | 48 | ||
54 | out: | 49 | out: |
diff --git a/arch/parisc/kernel/process.c b/arch/parisc/kernel/process.c index 6f69101f90bb..61c07078c072 100644 --- a/arch/parisc/kernel/process.c +++ b/arch/parisc/kernel/process.c | |||
@@ -349,11 +349,6 @@ asmlinkage int sys_execve(struct pt_regs *regs) | |||
349 | goto out; | 349 | goto out; |
350 | error = do_execve(filename, (char __user * __user *) regs->gr[25], | 350 | error = do_execve(filename, (char __user * __user *) regs->gr[25], |
351 | (char __user * __user *) regs->gr[24], regs); | 351 | (char __user * __user *) regs->gr[24], regs); |
352 | if (error == 0) { | ||
353 | task_lock(current); | ||
354 | current->ptrace &= ~PT_DTRACE; | ||
355 | task_unlock(current); | ||
356 | } | ||
357 | putname(filename); | 352 | putname(filename); |
358 | out: | 353 | out: |
359 | 354 | ||
diff --git a/arch/parisc/kernel/sys_parisc32.c b/arch/parisc/kernel/sys_parisc32.c index 0838155b7a88..1adb40c81669 100644 --- a/arch/parisc/kernel/sys_parisc32.c +++ b/arch/parisc/kernel/sys_parisc32.c | |||
@@ -77,11 +77,6 @@ asmlinkage int sys32_execve(struct pt_regs *regs) | |||
77 | goto out; | 77 | goto out; |
78 | error = compat_do_execve(filename, compat_ptr(regs->gr[25]), | 78 | error = compat_do_execve(filename, compat_ptr(regs->gr[25]), |
79 | compat_ptr(regs->gr[24]), regs); | 79 | compat_ptr(regs->gr[24]), regs); |
80 | if (error == 0) { | ||
81 | task_lock(current); | ||
82 | current->ptrace &= ~PT_DTRACE; | ||
83 | task_unlock(current); | ||
84 | } | ||
85 | putname(filename); | 80 | putname(filename); |
86 | out: | 81 | out: |
87 | 82 | ||