diff options
| author | Roland McGrath <[email protected]> | 2007-06-06 03:59:00 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-06-07 08:52:15 -0700 |
| commit | b74d0deb968e1f85942f17080eace015ce3c332c (patch) | |
| tree | 7db612ba2931ef22ff7166f51dcb0fd1fe1d7ee1 /include/linux | |
| parent | 8381e04b90ce9e7669a2d20aa7aaff3be910e447 (diff) | |
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 'include/linux')
0 files changed, 0 insertions, 0 deletions