[sudo-commits] sudo changeset 14796:2cbebcb8082c

Todd C. Miller Todd.Miller at sudo.ws
Wed Jun 28 11:16:54 MDT 2023


changeset:	14796:2cbebcb8082c in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/2cbebcb8082c
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Wed Jun 28 10:59:26 2023 -0600

Log Message:
	Fix undefined symbol on macOS for intercept mode and log_subcmds.

	macOS does not support direct access to the environ pointer from a
	shared object.  We need to redirect through _NSGetEnviron() instead.
	Fixes GitHub issue #276.

diffstat:

 config.h.in                 |   6 ++++++
 configure                   |  18 ++++++++++++++++++
 configure.ac                |   3 +++
 src/sudo_intercept.c        |   8 ++++++++
 src/sudo_intercept_common.c |   7 +++++++
 5 files changed, 42 insertions(+), 0 deletions(-)



More information about the sudo-commits mailing list