diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-09 20:33:07 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-09 20:33:07 +0100 |
commit | 28d838cc4dfea980cb6eda0a7409cbf91889ca74 (patch) | |
tree | 4bbf42063718ac7744ca67ef9f67adce17bfbb5c /arch | |
parent | Merge master.kernel.org:/home/rmk/linux-2.6-arm (diff) | |
download | linux-28d838cc4dfea980cb6eda0a7409cbf91889ca74.tar.xz linux-28d838cc4dfea980cb6eda0a7409cbf91889ca74.zip |
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: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions