diff options
author | rwatson <rwatson@FreeBSD.org> | 2002-08-01 15:37:12 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2002-08-01 15:37:12 +0000 |
commit | 7af111191c599878545a46db61bc2ce941a6db99 (patch) | |
tree | 2623052f2ac865b58a0c903ad64a3abea0b1b692 /sys/kern/kern_switch.c | |
parent | 788a8001cc095577779652d0f77dddb2739e4bf6 (diff) | |
download | FreeBSD-src-7af111191c599878545a46db61bc2ce941a6db99.zip FreeBSD-src-7af111191c599878545a46db61bc2ce941a6db99.tar.gz |
Introduce support for Mandatory Access Control and extensible
kernel access control.
Invoke appropriate MAC entry points to authorize the following
operations:
truncate on open() (write)
access() (access)
readlink() (readlink)
chflags(), lchflags(), fchflags() (setflag)
chmod(), fchmod(), lchmod() (setmode)
chown(), fchown(), lchown() (setowner)
utimes(), lutimes(), futimes() (setutimes)
truncate(), ftrunfcate() (write)
revoke() (revoke)
fhopen() (open)
truncate on fhopen() (write)
extattr_set_fd, extattr_set_file() (setextattr)
extattr_get_fd, extattr_get_file() (getextattr)
extattr_delete_fd(), extattr_delete_file() (setextattr)
These entry points permit MAC policies to enforce a variety of
protections on vnodes. More vnode checks to come, especially in
non-native ABIs.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
Diffstat (limited to 'sys/kern/kern_switch.c')
0 files changed, 0 insertions, 0 deletions