Messages in this thread | | | Date | Wed, 1 May 2019 18:13:30 +0200 | From | Oleg Nesterov <> | Subject | Re: [PATCH v3 1/4] ptrace: move clearing of TIF_SYSCALL_EMU flag to core |
| |
On 04/30, Sudeep Holla wrote: > > While the TIF_SYSCALL_EMU is set in ptrace_resume independent of any > architecture, currently only powerpc and x86 unset the TIF_SYSCALL_EMU > flag in ptrace_disable which gets called from ptrace_detach. > > Let's move the clearing of TIF_SYSCALL_EMU flag to __ptrace_unlink > which gets executed from ptrace_detach and also keep it along with > or close to clearing of TIF_SYSCALL_TRACE. > > Cc: Oleg Nesterov <oleg@redhat.com> > Cc: Paul Mackerras <paulus@samba.org> > Cc: Michael Ellerman <mpe@ellerman.id.au> > Cc: Thomas Gleixner <tglx@linutronix.de> > Cc: Ingo Molnar <mingo@redhat.com> > Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Acked-by: Oleg Nesterov <oleg@redhat.com>
| |