summaryrefslogtreecommitdiffstats
path: root/sys/security/mac/mac_framework.h
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2002-11-03 02:39:42 +0000
committerrwatson <rwatson@FreeBSD.org>2002-11-03 02:39:42 +0000
commit7537530ad867a2a7e001d6becf47c25f0d0d0b2b (patch)
tree13c3b22f9d0fec4fd6fd7b545bd326917f19839c /sys/security/mac/mac_framework.h
parentc9f86b731d744756f510247ea7f52517bc88c0c1 (diff)
downloadFreeBSD-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/security/mac/mac_framework.h')
-rw-r--r--sys/security/mac/mac_framework.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/security/mac/mac_framework.h b/sys/security/mac/mac_framework.h
index e50aaa7..efa811d 100644
--- a/sys/security/mac/mac_framework.h
+++ b/sys/security/mac/mac_framework.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,
OpenPOWER on IntegriCloud