https://github.com/torvalds/linux
Revision a6c61e9dfdd0adf8443932cfc43b0c1e25036ad5 authored by Daniel Jacobowitz on 19 November 2005, 10:01:07 UTC, committed by Russell King on 19 November 2005, 10:01:07 UTC
Patch from Daniel Jacobowitz

After delivering a signal (creating its stack frame) we must check for
additional pending unblocked signals before returning to userspace.
Otherwise signals may be delayed past the next syscall or reschedule.

Once that was fixed it became obvious that the ARM signal mask manipulation
was broken.  It was a little bit broken before the recent SA_NODEFER
changes, and then very broken after them.  We must block the requested
signals before starting the handler or the same signal can be delivered
again before the handler even gets a chance to run.

Signed-off-by: Daniel Jacobowitz <dan@codesourcery.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
1 parent d2c5b69
History
Tip revision: a6c61e9dfdd0adf8443932cfc43b0c1e25036ad5 authored by Daniel Jacobowitz on 19 November 2005, 10:01:07 UTC
[ARM] 3168/1: Update ARM signal delivery and masking
Tip revision: a6c61e9
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
scripts
security
sound
usr
.gitignore -rw-r--r-- 391 bytes
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 87.2 KB
Kbuild -rw-r--r-- 1.2 KB
MAINTAINERS -rw-r--r-- 61.2 KB
Makefile -rw-r--r-- 42.8 KB
README -rw-r--r-- 14.7 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top