[sudo-commits] sudo changeset 15208:4ce4bedf84fe
Todd C. Miller
Todd.Miller at sudo.ws
Wed Dec 13 12:53:01 MST 2023
changeset: 15208:4ce4bedf84fe in /raid/repos/sudo
branch: 1.9
details: https://www.sudo.ws/repos/sudo/rev/4ce4bedf84fe
user: Todd C. Miller <Todd.Miller at sudo.ws>
date: Thu Nov 09 14:08:50 2023 -0700
files: src/sudo.c
Log Message:
Always disable core dumps when sudo sends itself a fatal signal.
When a command exits due to a fatal signal, sudo will re-send that
signal to itself so the shell does not ignore keyboard-generated
signals. However, now that sudo disables core dumps by default for
the command, we cannot rely on WCOREDUMP() telling us whether or
not the signal will lead to a core dump. It is safest to always
disable core dumps before sending the signal to ourself.
diffstat:
src/sudo.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
More information about the sudo-commits
mailing list