Skip to content
Commit 28d838cc authored by Linus Torvalds's avatar Linus Torvalds
Browse files

Fix ptrace self-attach rule



Before we did CLONE_THREAD, the way to check whether we were attaching
to ourselves was to just check "current == task", but with CLONE_THREAD
we should check that the thread group ID matches instead.

Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent ac111bfa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment