From: Roland McGrath Date: Wed, 6 Jun 2007 10:59:00 +0000 (-0700) Subject: Restrict clearing TIF_SIGPENDING X-Git-Tag: v2.6.22-rc5~103 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b74d0deb968e1f85942f17080eace015ce3c332c;p=pandora-kernel.git 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 Cc: Andrew Morton Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Satoru Takeuchi Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed