]> git.hungrycats.org Git - linux/commit
[PATCH] Kernel thread signal handling.
authorDavid Woodhouse <dwmw2@infradead.org>
Mon, 13 Oct 2003 02:35:05 +0000 (19:35 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Mon, 13 Oct 2003 02:35:05 +0000 (19:35 -0700)
commit7bc9020b72e17bfb4d1764ccf3c7201136976e18
treeed1ee6872277a8241d19b306e7b67aaf21c41b12
parent6ab5c9ad7209be7081b9e2ac18cf8b6c9c2044f6
[PATCH] Kernel thread signal handling.

 - add disallow_signal() to complement allow_signal(), rather than
   having different subsystems try to do it by hand.

 - add a version of dequeue_signal() which does the necessary locking on
   its own, again to avoid having modules have to care.

 - let allow_signal() to actually allow signals other than
   SIGKILL. Currently they get either converted to SIGKILL or
   silently dropped, according to whether your kernel thread
   happens to have sa_handler set for the signal in question.

   (Barf alert: we do this by just installing a dummy handler)

 - make jffs2 use the cleaned up infrastructure
fs/jffs2/background.c
include/linux/sched.h
kernel/exit.c