]> granicus.if.org Git - sudo/commit
When running a login shell with a login_class specified, use
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 4 Jan 2012 18:01:41 +0000 (13:01 -0500)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 4 Jan 2012 18:01:41 +0000 (13:01 -0500)
commita2bb0cb6dfcbe4f2b24f53864e0c2b4705d9d1de
tree234bedf71d7ccbed854584d918c84250523797f3
parent0e4562217466161e10cabeb02cb6252e6ccf8b2f
parenta24d86b32cec6157a0ed13aaca39ccfab855c4f3
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.

--HG--
branch : 1.8
configure
configure.in