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 +