Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 71e91a0a authored by Roland McGrath's avatar Roland McGrath Committed by Paul Mackerras
Browse files

[POWERPC] Don't touch PT_DTRACE in exec



The PT_DTRACE flag is meaningless and obsolete.
Don't touch it.

Signed-off-by: default avatarRoland McGrath <roland@redhat.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent bceabd15
Loading
Loading
Loading
Loading
+0 −5
Original line number Original line Diff line number Diff line
@@ -862,11 +862,6 @@ int sys_execve(unsigned long a0, unsigned long a1, unsigned long a2,
	flush_spe_to_thread(current);
	flush_spe_to_thread(current);
	error = do_execve(filename, (char __user * __user *) a1,
	error = do_execve(filename, (char __user * __user *) a1,
			  (char __user * __user *) a2, regs);
			  (char __user * __user *) a2, regs);
	if (error == 0) {
		task_lock(current);
		current->ptrace &= ~PT_DTRACE;
		task_unlock(current);
	}
	putname(filename);
	putname(filename);
out:
out:
	return error;
	return error;
+0 −5
Original line number Original line Diff line number Diff line
@@ -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);
	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);
	putname(filename);


out:
out: