summaryrefslogtreecommitdiffstats
path: root/kernel/mutex.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2007-06-06 12:59:00 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-06-07 17:52:15 +0200
commitb74d0deb968e1f85942f17080eace015ce3c332c (patch)
tree7db612ba2931ef22ff7166f51dcb0fd1fe1d7ee1 /kernel/mutex.c
parentcheckpatch.pl: should be executable (diff)
downloadlinux-b74d0deb968e1f85942f17080eace015ce3c332c.tar.xz
linux-b74d0deb968e1f85942f17080eace015ce3c332c.zip
Restrict clearing TIF_SIGPENDING
This patch should get a few birds. It prevents sigaction calls from clearing TIF_SIGPENDING in other threads, which could leak -ERESTART*. And It fixes ptrace_stop not to clear it, which done at the syscall exit stop could leak -ERESTART*. It probably removes the harm from signalfd, at least assuming it never calls dequeue_signal on kernel threads that might have used block_all_signals. Signed-off-by: Roland McGrath <roland@redhat.com> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/mutex.c')
0 files changed, 0 insertions, 0 deletions