[sudo-commits] sudo changeset 13546:2e86d4150ce5

Todd C. Miller Todd.Miller at sudo.ws
Mon Sep 27 13:49:07 MDT 2021


changeset:	13546:2e86d4150ce5 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/2e86d4150ce5
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Mon Sep 27 13:44:41 2021 -0600

Log Message:
	Emulate closefrom() on macOS using proc_pidinfo().
	This avoids relying on /dev/fd which may not exist in a chroot jail.
	Adapted from a change in OpenSSH by likan_999.student AT sina.com

diffstat:

 config.h.in          |   6 ++++
 configure            |  18 ++++++++++++++
 configure.ac         |   3 ++
 lib/util/closefrom.c |  66 +++++++++++++++++++++++++++++++++++++++------------
 4 files changed, 77 insertions(+), 16 deletions(-)



More information about the sudo-commits mailing list