]> granicus.if.org Git - sudo/commit
When running a login shell with a login_class specified, use
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 8 Dec 2011 22:17:25 +0000 (17:17 -0500)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 8 Dec 2011 22:17:25 +0000 (17:17 -0500)
commita24d86b32cec6157a0ed13aaca39ccfab855c4f3
treee10a3aac557596176f482abc01f70c147636ca64
parent27616d1f3edc3adc62925bc7307bc09577616f08
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.
MANIFEST
configure
configure.in
mkdep.pl
plugins/sudoers/Makefile.in
plugins/sudoers/env.c
plugins/sudoers/login_class.c [deleted file]
plugins/sudoers/sudoers.c
plugins/sudoers/sudoers.h
src/sudo.c