diff options
author | bsd <bsd@FreeBSD.org> | 2000-03-13 23:00:08 +0000 |
---|---|---|
committer | bsd <bsd@FreeBSD.org> | 2000-03-13 23:00:08 +0000 |
commit | fe41605fe0c0e256c26622b4c8e5edf23f72d7c7 (patch) | |
tree | 410c90f77693dc7ad3521b3783d9745cdb945f90 /usr.sbin/ppp/mp.c | |
parent | 6dfbd9470da9d6e78632a9edecb78862a654afad (diff) | |
download | FreeBSD-src-fe41605fe0c0e256c26622b4c8e5edf23f72d7c7.zip FreeBSD-src-fe41605fe0c0e256c26622b4c8e5edf23f72d7c7.tar.gz |
In 'ipcperm()', only call 'suser()' if it is actually required.
Previously, it was being called whether it was needed or not and the
ASU flag was being set (as a side affect of calling 'suser()') in
cases where superuser privileges were not actually needed. This was
all pointed out to me by Bruce Evans.
Reviewed by: bde
Diffstat (limited to 'usr.sbin/ppp/mp.c')
0 files changed, 0 insertions, 0 deletions