[POWERPC] Don't touch PT_DTRACE in exec
The PT_DTRACE flag is meaningless and obsolete. Don't touch it. Signed-off-by: Roland McGrath <roland@redhat.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
committed by
Paul Mackerras
parent
bceabd1505
commit
71e91a0abb
@ -368,11 +368,6 @@ long compat_sys_execve(unsigned long a0, unsigned long a1, unsigned long a2,
|
||||
|
||||
error = compat_do_execve(filename, compat_ptr(a1), compat_ptr(a2), regs);
|
||||
|
||||
if (error == 0) {
|
||||
task_lock(current);
|
||||
current->ptrace &= ~PT_DTRACE;
|
||||
task_unlock(current);
|
||||
}
|
||||
putname(filename);
|
||||
|
||||
out:
|
||||
|
Reference in New Issue
Block a user