Skip to content

untrappable-signal

Default severity: warning

Unix-like kernels handle SIGKILL and SIGSTOP directly. They are never delivered to the process, so registering them with os/signal cannot work.

signal.Notify(ch, os.Kill)
signal.Notify(ch, syscall.SIGTERM)