From b89ff96c7d86131008a5f5ae1362d570d97841e6 Mon Sep 17 00:00:00 2001 From: Ian Lepore Date: Sat, 21 Jul 2018 18:54:24 +0000 Subject: [PATCH] Add option MAC to armv6 and armv7 kernels by default, it needs to be compiled-in to allow loading policy modules at runtime. --- sys/arm/conf/std.armv6 | 1 + sys/arm/conf/std.armv7 | 1 + 2 files changed, 2 insertions(+) diff --git a/sys/arm/conf/std.armv6 b/sys/arm/conf/std.armv6 index 123fbca7efe..9d9eade06cc 100644 --- a/sys/arm/conf/std.armv6 +++ b/sys/arm/conf/std.armv6 @@ -41,6 +41,7 @@ options KBD_INSTALL_CDEV # install a CDEV entry in /dev options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4) options FREEBSD_BOOT_LOADER # Process metadata passed from loader(8) options VFP # Enable floating point hardware support +options MAC # Support for Mandatory Access Control (MAC) options COMPAT_FREEBSD10 # Compatible with FreeBSD10 options COMPAT_FREEBSD11 # Compatible with FreeBSD11 diff --git a/sys/arm/conf/std.armv7 b/sys/arm/conf/std.armv7 index d1e42e15ebe..daa499026fd 100644 --- a/sys/arm/conf/std.armv7 +++ b/sys/arm/conf/std.armv7 @@ -41,6 +41,7 @@ options KBD_INSTALL_CDEV # install a CDEV entry in /dev options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4) options FREEBSD_BOOT_LOADER # Process metadata passed from loader(8) options VFP # Enable floating point hardware support +options MAC # Support for Mandatory Access Control (MAC) options COMPAT_FREEBSD10 # Compatible with FreeBSD10 options COMPAT_FREEBSD11 # Compatible with FreeBSD11