[sudo-commits] sudo changeset 15014:36a5ece4027a

Todd C. Miller Todd.Miller at sudo.ws
Fri Aug 25 11:20:49 MDT 2023


changeset:	15014:36a5ece4027a in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/36a5ece4027a
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Fri Aug 25 11:19:42 2023 -0600

Log Message:
	Move tty_present() into policy.c as sudoers_tty_present().

	This function is policy-dependent.  For the modern sudo front-end
	it will simply check tcpgid and/or ttypath.

diffstat:

 plugins/sudoers/policy.c  |  16 ++++++++++++++++
 plugins/sudoers/sudoers.c |  18 +-----------------
 plugins/sudoers/sudoers.h |   1 +
 3 files changed, 18 insertions(+), 17 deletions(-)



More information about the sudo-commits mailing list