[sudo-commits] sudo changeset 14568:77300a0e1537

Todd C. Miller Todd.Miller at sudo.ws
Tue Feb 21 13:39:47 MST 2023


changeset:	14568:77300a0e1537 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/77300a0e1537
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Tue Feb 21 13:24:33 2023 -0700

Log Message:
	Add pivot_root() and unpivot_root() to switch the root dir and restore it.
	This will be used to more accurately handling command resolution and
	path matching when a new root directory is specified.

diffstat:

 MANIFEST                    |   1 +
 plugins/sudoers/Makefile.in |  32 +++++++++++++--
 plugins/sudoers/pivot.c     |  90 +++++++++++++++++++++++++++++++++++++++++++++
 plugins/sudoers/sudoers.h   |   4 ++
 4 files changed, 122 insertions(+), 5 deletions(-)



More information about the sudo-commits mailing list