]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Introduce support for Mandatory Access Control and extensible
authorrwatson <rwatson@FreeBSD.org>
Thu, 1 Aug 2002 17:14:28 +0000 (17:14 +0000)
committerrwatson <rwatson@FreeBSD.org>
Thu, 1 Aug 2002 17:14:28 +0000 (17:14 +0000)
commit001b90982f906c22822564fd232f26a36192eaf9
treec313fadbbe1c4835e0a82b06667fe7c42afcc9b3
parent1d14d5adc9396c31736da74c756c0f34b188dc67
Introduce support for Mandatory Access Control and extensible
kernel access control.

Restructure the vn_open_cred() access control checks to invoke
the MAC entry point for open authorization.  Note that MAC can
reject open requests where existing DAC code skips the open
authorization check due to O_CREAT.  However, the failure mode
here is the same as other failure modes following creation,
wherein an empty file may be left behind.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
sys/kern/vfs_vnops.c