Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F162568967
D17162.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D17162.id.diff
View Options
Index: head/etc/Makefile
===================================================================
--- head/etc/Makefile
+++ head/etc/Makefile
@@ -18,7 +18,6 @@
hosts.allow \
libalias.conf \
login.access \
- mac.conf \
phones \
rc.bsdextended \
rc.firewall \
Index: head/etc/mac.conf
===================================================================
--- head/etc/mac.conf
+++ head/etc/mac.conf
@@ -1,18 +0,0 @@
-#
-# $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
-
Index: head/lib/libc/posix1e/Makefile.inc
===================================================================
--- head/lib/libc/posix1e/Makefile.inc
+++ head/lib/libc/posix1e/Makefile.inc
@@ -8,6 +8,7 @@
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 \
Index: head/lib/libc/posix1e/mac.conf
===================================================================
--- head/lib/libc/posix1e/mac.conf
+++ head/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
+
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jul 15, 3:39 PM (11 h, 14 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35105147
Default Alt Text
D17162.id.diff (1 KB)
Attached To
Mode
D17162: Move mac.conf to lib/libc/posix1e/
Attached
Detach File
Event Timeline
Log In to Comment