Introduction
Introduction Statistics Contact Development Disclaimer Help
SIGKILL cannot be handled - geomyidae - a small C-based gopherd (mirror)
git clone git://git.codemadness.org/geomyidae
Log
Files
Refs
README
LICENSE
---
commit d1bda986e611c9ca93670ffa2d10aae178fb2067
parent c5dfedcbd82163391ed046caa3b2764562b0c1cf
Author: Hiltjo Posthuma <[email protected]>
Date: Sat, 12 Aug 2023 20:23:28 +0200
SIGKILL cannot be handled
"The signals SIGKILL and SIGSTOP cannot be caught or ignored."
Signed-off-by: Christoph Lohmann <[email protected]>
Diffstat:
M main.c | 2 --
1 file changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/main.c b/main.c
@@ -464,7 +464,6 @@ sighandler(int sig)
case SIGQUIT:
case SIGABRT:
case SIGTERM:
- case SIGKILL:
if (dosyslog) {
closelog();
} else if (logfile != NULL && glfd != -1) {
@@ -493,7 +492,6 @@ initsignals(void)
signal(SIGQUIT, sighandler);
signal(SIGABRT, sighandler);
signal(SIGTERM, sighandler);
- signal(SIGKILL, sighandler);
signal(SIGPIPE, SIG_IGN);
}
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.