[sudo-commits] sudo changeset 7449:ad4f1190143b
Todd C. Miller
Todd.Miller at courtesan.com
Thu Dec 8 17:18:34 EST 2011
changeset: 7449:ad4f1190143b in /home/hg/sudo
details: http://www.sudo.ws/repos/sudo/rev/ad4f1190143b
user: Todd C. Miller <Todd.Miller at courtesan.com>
date: Thu Dec 08 17:17:25 2011 -0500
Log Message:
When running a login shell with a login_class specified, use
LOGIN_SETENV instead of rolling our own login.conf setenv support
since FreeBSD's login.conf has more than just setenv capabilities.
This requires us to swap the plugin-provided envp for the global
environ before calling setusercontext() and then stash the resulting
environ pointer back into the command details, which is kind of a
hack.
diffstat:
MANIFEST | 1 -
configure | 1 -
configure.in | 1 -
mkdep.pl | 2 +-
plugins/sudoers/Makefile.in | 9 -
plugins/sudoers/env.c | 3 +-
plugins/sudoers/login_class.c | 227 ------------------------------------------
plugins/sudoers/sudoers.c | 13 +--
plugins/sudoers/sudoers.h | 5 -
src/sudo.c | 25 ++++-
10 files changed, 27 insertions(+), 260 deletions(-)
More information about the sudo-commits
mailing list