[sudo-commits] sudo changeset 10061:97fe58966144
Todd C. Miller
Todd.Miller at courtesan.com
Thu Jun 18 09:51:43 MDT 2015
changeset: 10061:97fe58966144 in /media/repos/sudo
details: http://www.sudo.ws/repos/sudo/rev/97fe58966144
user: Todd C. Miller <Todd.Miller at courtesan.com>
date: Thu Jun 18 09:51:36 2015 -0600
Log Message:
Use a common function for resolviong the user's editor in sudoedit
and visudo. The find_path() function now returns a dynamically
allocated path instead of using a static string.
diffstat:
MANIFEST | 1 +
plugins/sudoers/Makefile.in | 14 +-
plugins/sudoers/editor.c | 120 +++++++++++++++
plugins/sudoers/find_path.c | 81 ++++++++--
plugins/sudoers/goodpath.c | 22 +-
plugins/sudoers/sudoers.c | 95 ++----------
plugins/sudoers/sudoers.h | 10 +-
plugins/sudoers/visudo.c | 335 +++++++++++++++++--------------------------
8 files changed, 368 insertions(+), 310 deletions(-)
More information about the sudo-commits
mailing list