diff options
author | Roland McGrath <roland@redhat.com> | 2007-06-06 10:59:00 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-06-07 15:52:15 (GMT) |
commit | b74d0deb968e1f85942f17080eace015ce3c332c (patch) | |
tree | 7db612ba2931ef22ff7166f51dcb0fd1fe1d7ee1 /kernel/wait.c | |
parent | 8381e04b90ce9e7669a2d20aa7aaff3be910e447 (diff) | |
download | linux-fsl-qoriq-b74d0deb968e1f85942f17080eace015ce3c332c.tar.xz |
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/wait.c')
0 files changed, 0 insertions, 0 deletions