[sudo-commits] sudo changeset 12042:50bdbdbea1b7

Todd C. Miller Todd.Miller at sudo.ws
Wed Dec 25 13:48:39 MST 2019


changeset:	12042:50bdbdbea1b7 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/50bdbdbea1b7
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