]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Reject any attempt to set the handler for SIGKILL/STOP
authorMark Wielaard <mark@klomp.org>
Mon, 14 Jul 2025 21:23:23 +0000 (23:23 +0200)
committerMark Wielaard <mark@klomp.org>
Mon, 14 Jul 2025 21:28:07 +0000 (23:28 +0200)
commit806abab0557a53546d9498926f699fd679b9f0f1
treed4679cb3115c6eecc84dcad534291192440174e8
parent2ddc8484eb7905b6badfe5288c375d38a06aae89
Reject any attempt to set the handler for SIGKILL/STOP

Even though resetting SIGKILL or SIGSTOP to SIG_DFL would be a noop it
isn't allowed. Just always return EINVAL if an attempt is made to set
the signal handler for SIGKILL or SIGSTOP. There is an LTP test for
this signal01.

https://bugs.kde.org/show_bug.cgi?id=506930
NEWS
coregrind/m_signals.c