summaryrefslogtreecommitdiffstats
path: root/sys/security/mac_bsdextended/mac_bsdextended.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2007-10-29 13:33:06 +0000
committerrwatson <rwatson@FreeBSD.org>2007-10-29 13:33:06 +0000
commita4265719055fe445116eb2743b6aacf518bb1a8d (patch)
treeb5d3ede5fbbf1cb40c13deb6bb8e406ce58b639e /sys/security/mac_bsdextended/mac_bsdextended.c
parent17e940f736d56194ae75e4a2963c775a59f0a3f6 (diff)
downloadFreeBSD-src-a4265719055fe445116eb2743b6aacf518bb1a8d.zip
FreeBSD-src-a4265719055fe445116eb2743b6aacf518bb1a8d.tar.gz
Resort TrustedBSD MAC Framework policy entry point implementations and
declarations to match the object, operation sort order in the framework itself. Obtained from: TrustedBSD Project
Diffstat (limited to 'sys/security/mac_bsdextended/mac_bsdextended.c')
-rw-r--r--sys/security/mac_bsdextended/mac_bsdextended.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/security/mac_bsdextended/mac_bsdextended.c b/sys/security/mac_bsdextended/mac_bsdextended.c
index a4c4a38..3c97e78 100644
--- a/sys/security/mac_bsdextended/mac_bsdextended.c
+++ b/sys/security/mac_bsdextended/mac_bsdextended.c
@@ -442,6 +442,10 @@ ugidfw_check_vp(struct ucred *cred, struct vnode *vp, int acc_mode)
return (ugidfw_check(cred, vp, &vap, acc_mode));
}
+/*
+ * Object-specific entry point implementations are sorted alphabetically by
+ * object type and then by operation.
+ */
static int
ugidfw_system_check_acct(struct ucred *cred, struct vnode *vp,
struct label *vplabel)
OpenPOWER on IntegriCloud