[sudo-commits] sudo changeset 13847:d84eff07783f

Todd C. Miller Todd.Miller at sudo.ws
Tue Mar 1 11:45:54 MST 2022


changeset:	13847:d84eff07783f in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/d84eff07783f
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Tue Mar 01 09:54:23 2022 -0700

Log Message:
	Use close_range(2) in closefrom() emulation if available.
	On Linux, prefer our own closefrom() emulation since the glibc
	version may fail if /proc is not present and close_range() is not
	supported.  On FreeBSD, closefrom(3) will either call the closefrom
	or close_range system call, depending on which is available.

diffstat:

 NEWS                 |   5 +++++
 config.h.in          |   6 ++++++
 configure            |  29 +++++++++++++++++++++++++++++
 configure.ac         |  13 ++++++++++++-
 lib/util/closefrom.c |   8 +++++++-
 5 files changed, 59 insertions(+), 2 deletions(-)



More information about the sudo-commits mailing list