summaryrefslogtreecommitdiffstats
path: root/lib/plist.c
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2008-02-05 07:30:56 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-05 18:44:28 +0100
commitee3d9bd4de1ed93d2a7ee41c331ed30a1c7b8acd (patch)
treef49369c9f941066bdb8bbb2b4fd9d40bf2fda292 /lib/plist.c
parentuml: add virt_to_pte (diff)
downloadlinux-ee3d9bd4de1ed93d2a7ee41c331ed30a1c7b8acd.tar.xz
linux-ee3d9bd4de1ed93d2a7ee41c331ed30a1c7b8acd.zip
uml: simplify SIGSEGV handling
Simplify the page fault stub by not masking signals while it is running. This allows it to signal that it is done by executing an instruction which will generate a SIGTRAP (int3 on x86) rather than running sigreturn by hand after queueing a blocked SIGUSR1. userspace_tramp now no longer puts anything in the SIGSEGV sa_mask, but it does add SA_NODEFER to sa_flags so that SIGSEGV is still enabled after the signal handler fails to run sigreturn. SIGWINCH is just blocked so that we don't have to deal with it and the signal masks used by wait_stub_done are updated to reflect the smaller number of signals that it has to worry about. Signed-off-by: Jeff Dike <jdike@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/plist.c')
0 files changed, 0 insertions, 0 deletions