From abe0314e01c2bc234b4c52a16c538c9d17aa342f Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" <Todd.Miller@courtesan.com> Date: Tue, 29 Oct 2013 14:20:43 -0600 Subject: [PATCH] SIGKILL is not catchable --- plugins/sudoers/sudoreplay.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/sudoers/sudoreplay.c b/plugins/sudoers/sudoreplay.c index b8edcbc6d..dc4260007 100644 --- a/plugins/sudoers/sudoreplay.c +++ b/plugins/sudoers/sudoreplay.c @@ -395,7 +395,6 @@ replay_session(const double max_wait, const char *decimal) sa.sa_flags = SA_RESETHAND; sa.sa_handler = sudoreplay_handler; (void) sigaction(SIGINT, &sa, NULL); - (void) sigaction(SIGKILL, &sa, NULL); (void) sigaction(SIGTERM, &sa, NULL); (void) sigaction(SIGHUP, &sa, NULL); (void) sigaction(SIGQUIT, &sa, NULL); @@ -1235,7 +1234,7 @@ sudoreplay_cleanup(void) } /* - * Signal handler for SIGINT, SIGKILL, SIGTERM, SIGHUP + * Signal handler for SIGINT, SIGTERM, SIGHUP, SIGQUIT * Must be installed with SA_RESETHAND enabled. */ static void -- 2.40.0