diff options
| author | Roland McGrath <[email protected]> | 2007-06-06 10:59:00 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-06-07 15:52:15 +0000 |
| commit | b74d0deb968e1f85942f17080eace015ce3c332c (patch) | |
| tree | 7db612ba2931ef22ff7166f51dcb0fd1fe1d7ee1 /net/unix/af_unix.c | |
| parent | checkpatch.pl: should be executable (diff) | |
| download | kernel-b74d0deb968e1f85942f17080eace015ce3c332c.tar.gz kernel-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 <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Satoru Takeuchi <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
