diff options
author | rwatson <rwatson@FreeBSD.org> | 2002-11-03 02:39:42 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2002-11-03 02:39:42 +0000 |
commit | 7537530ad867a2a7e001d6becf47c25f0d0d0b2b (patch) | |
tree | 13c3b22f9d0fec4fd6fd7b545bd326917f19839c /sys/sys/mac.h | |
parent | c9f86b731d744756f510247ea7f52517bc88c0c1 (diff) | |
download | FreeBSD-src-7537530ad867a2a7e001d6becf47c25f0d0d0b2b.zip FreeBSD-src-7537530ad867a2a7e001d6becf47c25f0d0d0b2b.tar.gz |
Introduce mac_check_system_settime(), a MAC check allowing policies to
augment the system policy for changing the system time.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
Diffstat (limited to 'sys/sys/mac.h')
-rw-r--r-- | sys/sys/mac.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/mac.h b/sys/sys/mac.h index e50aaa7..efa811d 100644 --- a/sys/sys/mac.h +++ b/sys/sys/mac.h @@ -255,6 +255,7 @@ int mac_check_socket_receive(struct ucred *cred, struct socket *so); int mac_check_socket_send(struct ucred *cred, struct socket *so); int mac_check_socket_visible(struct ucred *cred, struct socket *so); int mac_check_system_reboot(struct ucred *cred, int howto); +int mac_check_system_settime(struct ucred *cred); int mac_check_system_swapon(struct ucred *cred, struct vnode *vp); int mac_check_system_sysctl(struct ucred *cred, int *name, u_int namelen, void *old, size_t *oldlenp, int inkernel, |