[sudo-commits] sudo changeset 15161:0383034bc54e

Todd C. Miller Todd.Miller at sudo.ws
Thu Nov 9 14:13:50 MST 2023


changeset:	15161:0383034bc54e in /raid/repos/sudo
tags:		tip
details:	https://www.sudo.ws/repos/sudo/rev/0383034bc54e
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