]> granicus.if.org Git - sudo/commitdiff
For PERM_ROOT when using setreuid(), only set the euid to 0 prior
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 6 Feb 2012 18:37:11 +0000 (13:37 -0500)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 6 Feb 2012 18:37:11 +0000 (13:37 -0500)
to the call to setuid(0) if the current euid is non-zero.  This
effectively restores the state of things prior to rev 7bfeb629fccb.
Fixes a problem on AIX where LDR_PRELOAD was not being honored for
the command being executed.

--HG--
branch : 1.8


Trivial merge