[sudo-commits] sudo changeset 10296:b41c5b289f35

Todd C. Miller Todd.Miller at courtesan.com
Mon Jan 11 11:15:44 MST 2016


changeset:	10296:b41c5b289f35 in /media/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/b41c5b289f35
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Mon Jan 11 11:15:42 2016 -0700

Log Message:
	No need to check whether the fd we opened is really a directory in
	sudo_edit_open_nonwritable() since if not, the openat() will fail
	with ENOTDIR anyway.

diffstat:

 src/sudo_edit.c |  8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)


More information about the sudo-commits mailing list