Date: Sat, 30 Jan 1999 04:28:51 -0800 (PST) From: Poul-Henning Kamp <phk@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/isofs/cd9660 cd9660_vfsops.c src/sys/kern vfs_syscalls.c src/sys/sys ucred.h Message-ID: <199901301228.EAA09479@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
phk 1999/01/30 04:28:51 PST
Modified files:
sys/isofs/cd9660 cd9660_vfsops.c
Log:
Use suser() to determine super-user-ness.
Don't pretend we can mount RW.
Reviewed by: bde
Revision Changes Path
1.50 +15 -17 src/sys/isofs/cd9660/cd9660_vfsops.c
Modified files:
sys/kern vfs_syscalls.c
Log:
Use suser() to determine super-user-ness.
Collapse some duplicated checks.
Reviewed by: bde
Revision Changes Path
1.116 +16 -26 src/sys/kern/vfs_syscalls.c
Modified files:
sys/sys ucred.h
Log:
Put a comment here about using suser() to determine super-user-ness.
Using suser() means that the p_acflag will (can) be set, to show that
a process used super-powers during execution. It also makes it easier
to restrict roots we don't trust later on.
Reviewed by: bde
Revision Changes Path
1.9 +4 -1 src/sys/sys/ucred.h
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?199901301228.EAA09479>
