Date: Mon, 18 Sep 2000 09:13:02 -0700 (PDT) From: Robert Watson <rwatson@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/ufs/ufs ufs_lookup.c ufs_quota.c ufs_readwrite.c ufs_vnops.c Message-ID: <200009181613.JAA70695@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2000/09/18 09:13:02 PDT
Modified files:
sys/ufs/ufs ufs_lookup.c ufs_quota.c ufs_readwrite.c
ufs_vnops.c
Log:
o Substitute suser() calls for direct credential checks, which is now
safe as suser() no longer sets ASU.
o Note that in some cases, the PRISON_ROOT flag is used even though no
process structure is passed, to indicate that if a process structure
(and hence jail) was available, it would be ok. In the long run,
the jail identifier should probably be moved to ucred, as the uidinfo
information was.
o Some uid 0 checks remain relating to the quota code, which I'll leave
for another day.
Reviewed by: phk, eivind
Obtained from: TrustedBSD Project
Revision Changes Path
1.40 +2 -2 src/sys/ufs/ufs/ufs_lookup.c
1.37 +3 -3 src/sys/ufs/ufs/ufs_quota.c
1.69 +3 -2 src/sys/ufs/ufs/ufs_readwrite.c
1.145 +6 -5 src/sys/ufs/ufs/ufs_vnops.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?200009181613.JAA70695>
