[sudo-commits] sudo changeset 12044:29bcc747a988

Todd C. Miller Todd.Miller at sudo.ws
Wed Dec 25 13:49:54 MST 2019


changeset:	12044:29bcc747a988 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/29bcc747a988
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Wed Dec 25 13:48:04 2019 -0700

Log Message:
	When restoring old resource limits, try to recover if we receive
	EINVAL.  On NetBSD, setrlimit(2) can return EINVAL if the new soft
	limit is lower than the current resource usage.  This can be a
	problem when restoring the old stack limit if sudo has raised it.

diffstat:

 src/limits.c |  30 +++++++++++++++++++++++++++++-
 1 files changed, 29 insertions(+), 1 deletions(-)


More information about the sudo-commits mailing list