Date: Wed, 28 Mar 2001 12:50:16 -0800 (PST) From: Robert Watson <rwatson@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_prot.c src/sys/sys systm.h Message-ID: <200103282050.f2SKoGB64351@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2001/03/28 12:50:16 PST
Modified files:
sys/kern kern_prot.c
sys/sys systm.h
Log:
o introduce u_cansee(), which performs access control checks between
two subject ucreds. Unlike p_cansee(), u_cansee() doesn't have
process lock requirements, only valid ucred reference requirements,
so is prefered as process locking improves. For now, back p_cansee()
into u_cansee(), but eventually p_cansee() will go away.
Reviewed by: jhb, tmm
Obtained from: TrustedBSD Project
Revision Changes Path
1.77 +27 -15 src/sys/kern/kern_prot.c
1.138 +2 -1 src/sys/sys/systm.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?200103282050.f2SKoGB64351>
