diff options
author | brian <brian@FreeBSD.org> | 1999-12-30 03:36:11 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1999-12-30 03:36:11 +0000 |
commit | 7a49c5353eae55a58eca0de57ed432432624e1dc (patch) | |
tree | a8c6db3de6f4ba5408490ec8c2fa4f53c70e2ae6 /usr.sbin/ppp/exec.c | |
parent | 48829a5d6b8a2d298f31a3d298c809338e2dfb1a (diff) | |
download | FreeBSD-src-7a49c5353eae55a58eca0de57ed432432624e1dc.zip FreeBSD-src-7a49c5353eae55a58eca0de57ed432432624e1dc.tar.gz |
Correct usages of getuid() and geteuid()
Pointed out by: billf
Diffstat (limited to 'usr.sbin/ppp/exec.c')
-rw-r--r-- | usr.sbin/ppp/exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ppp/exec.c b/usr.sbin/ppp/exec.c index e9bf01a..0102704 100644 --- a/usr.sbin/ppp/exec.c +++ b/usr.sbin/ppp/exec.c @@ -126,7 +126,7 @@ exec_Create(struct physical *p) case 0: close(fids[0]); timer_TermService(); - setuid(geteuid()); + setuid(ID0realuid()); switch (fork()) { case 0: |