From: Mathieu Desnoyers <[EMAIL PROTECTED]>
Date: Sat, 10 Mar 2007 03:08:44 -0500
> Fix atomicity of TIF update in flush_thread() for sparc64
Applied, thanks for fixing this up.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Fix atomicity of TIF update in flush_thread() for sparc64
Fixes correctly the race by using *_ti_thread_flag.
Race :
parent process executing :
sys_ptrace()
(lock_kernel())
(ptrace_get_task_struct(pid))
arch_ptrace()
ptrace_detach()
ptrace_disable(child);
clear_singlestep(child
From: Mathieu Desnoyers <[EMAIL PROTECTED]>
Date: Thu, 8 Mar 2007 21:38:14 -0500
> Fix atomicity of TIF update in flush_thread() for x86_64
^^
You mean sparc64 of course, I fixed this up while committing your
patch, thanks a lot.
-
To unsubsc
Fix atomicity of TIF update in flush_thread() for x86_64
Race :
parent process executing :
sys_ptrace()
(lock_kernel())
(ptrace_get_task_struct(pid))
arch_ptrace()
ptrace_detach()
ptrace_disable(child);
clear_singlestep(child);
clear_tsk_thread_flag(child, TIF_SINGLESTE
4 matches
Mail list logo