]> git.ozlabs.org Git - ppp.git/commitdiff
Restore original EUID rather than 0 during option processing.
authorPaul Mackerras <paulus@samba.org>
Sun, 18 Jun 2006 11:26:00 +0000 (11:26 +0000)
committerPaul Mackerras <paulus@samba.org>
Sun, 18 Jun 2006 11:26:00 +0000 (11:26 +0000)
When dropping and regaining privileges during option processing,
the seteuid to regain privileges is now the original EUID rather
than a constant zero.  This means that `pppd --version' run without
root privilege prints the version number and exits rather than
giving an "unable to regain privileges" error.


No differences found