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 <o...@redhat.com> > Cc: Paul Mackerras <pau...@samba.org> > Cc: Michael Ellerman <m...@ellerman.id.au> > Cc: Thomas Gleixner <t...@linutronix.de> > Cc: Ingo Molnar <mi...@redhat.com> > Signed-off-by: Sudeep Holla <sudeep.ho...@arm.com>
Acked-by: Oleg Nesterov <o...@redhat.com>