nldev

NetLink DEVice manager; a lightweight netlink frontend for mdev.
git clone git://r-36.net/nldev
Log | Files | Refs | LICENSE

commit 4890166e2f1d920d1b1de51d0ce49b2b9995e5c8
parent 0c6abf3133abf0100fe18d4a0e9fb0df48c6c0ba
Author: Natanael Copa <ncopa@alpinelinux.org>
Date:   Thu, 12 Mar 2015 20:59:31 +0100

nldev: do not try trap SIGKILL

Trying to trap SIGKILL is meaningless so don't do that.

Signed-off-by: Christoph Lohmann <20h@r-36.net>

Diffstat:
nldev.c | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/nldev.c b/nldev.c @@ -122,7 +122,6 @@ sighandler(int sig) case SIGQUIT: case SIGABRT: case SIGTERM: - case SIGKILL: if (listfd >= 0) { shutdown(listfd, SHUT_RDWR); close(listfd); @@ -142,7 +141,6 @@ initsignals(void) signal(SIGQUIT, sighandler); signal(SIGABRT, sighandler); signal(SIGTERM, sighandler); - signal(SIGKILL, sighandler); signal(SIGCHLD, SIG_IGN); signal(SIGPIPE, SIG_IGN);