Date: Mon, 13 Mar 2000 15:00:10 -0800 (PST) From: "Brian S. Dean" <bsd@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern sysv_ipc.c Message-ID: <200003132300.PAA67292@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
bsd 2000/03/13 15:00:10 PST
Modified files:
sys/kern sysv_ipc.c
Log:
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
Revision Changes Path
1.14 +3 -8 src/sys/kern/sysv_ipc.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003132300.PAA67292>
