aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/posix1e
diff options
context:
space:
mode:
authorBrad Davis <brd@FreeBSD.org>2018-09-18 01:40:37 +0000
committerBrad Davis <brd@FreeBSD.org>2018-09-18 01:40:37 +0000
commitb6af74d28973161095946a2424026e8a5cfdd29a (patch)
tree730a9949301961c1151f3ffc728d9b2008c23cfb /lib/libc/posix1e
parent34da9e380257b2bcbb6de48bfbfaed5238aa69c0 (diff)
Notes
Diffstat (limited to 'lib/libc/posix1e')
-rw-r--r--lib/libc/posix1e/Makefile.inc1
-rw-r--r--lib/libc/posix1e/mac.conf18
2 files changed, 19 insertions, 0 deletions
diff --git a/lib/libc/posix1e/Makefile.inc b/lib/libc/posix1e/Makefile.inc
index 151f850682048..fb5cf6e39cc69 100644
--- a/lib/libc/posix1e/Makefile.inc
+++ b/lib/libc/posix1e/Makefile.inc
@@ -8,6 +8,7 @@ CFLAGS+=-D_ACL_PRIVATE
subr_acl_nfs4.c: ${SRCTOP}/sys/kern/subr_acl_nfs4.c
cat ${.ALLSRC} > ${.TARGET}
+CONFS+= posix1e/mac.conf
SRCS+= acl_branding.c \
acl_calc_mask.c \
acl_copy.c \
diff --git a/lib/libc/posix1e/mac.conf b/lib/libc/posix1e/mac.conf
new file mode 100644
index 0000000000000..36f3a6a57b1f1
--- /dev/null
+++ b/lib/libc/posix1e/mac.conf
@@ -0,0 +1,18 @@
+#
+# $FreeBSD$
+#
+# TrustedBSD MAC userland policy configuration file. Kernel modules
+# export label information, and mac.conf indicates to userland
+# applications what defaults they should use in the absence of any
+# other user-provided information.
+#
+
+#
+# Default label set to be used by simple MAC applications
+#
+
+default_labels file ?biba,?lomac,?mls,?sebsd
+default_labels ifnet ?biba,?lomac,?mls,?sebsd
+default_labels process ?biba,?lomac,?mls,?partition,?sebsd
+default_labels socket ?biba,?lomac,?mls
+