[sudo-commits] sudo changeset 11074:c9b9c6c4e0ad

Todd C. Miller Todd.Miller at courtesan.com
Thu Sep 7 15:05:41 MDT 2017


changeset:	11074:c9b9c6c4e0ad in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/c9b9c6c4e0ad
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Thu Sep 07 11:32:30 2017 -0600

Log Message:
	If /dev/tty is not available and no I/O logging plugins are configured,
	fall back on exec_nopty() even if the policy plugin requested a pty.
	We never allocate a pty when sudo is not run from a terminal anyway.

diffstat:

 src/exec.c       |  41 ++++++++++++++++++++++-------------------
 src/exec_nopty.c |   6 +++---
 src/exec_pty.c   |   9 ++++++---
 src/sudo_exec.h  |   4 ++--
 4 files changed, 33 insertions(+), 27 deletions(-)


More information about the sudo-commits mailing list