aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLexi Winter <ivy@FreeBSD.org>2025-05-22 16:59:32 +0000
committerLexi Winter <ivy@FreeBSD.org>2025-05-22 16:59:32 +0000
commitc8d8cac2a8479009bcdca6c0cb9852af514896f2 (patch)
treebc255658aef194add34aef64d024336cf3331cce
parent098b5d4dc744283a90b2d80c11395ecc18a84084 (diff)
mac_do(4): allow compiling into kernel
The manual page says this is possible, but it's not. Make it possible. Reviewed by: olce, kevans Approved by: kevans (mentor) Differential Revision: https://reviews.freebsd.org/D50451
-rw-r--r--sys/conf/NOTES1
-rw-r--r--sys/conf/files3
-rw-r--r--sys/conf/options1
3 files changed, 4 insertions, 1 deletions
diff --git a/sys/conf/NOTES b/sys/conf/NOTES
index e84fdcb30220..8aa0ed9dda78 100644
--- a/sys/conf/NOTES
+++ b/sys/conf/NOTES
@@ -1249,6 +1249,7 @@ options MAC
options MAC_BIBA
options MAC_BSDEXTENDED
options MAC_DDB
+options MAC_DO
options MAC_IFOFF
options MAC_IPACL
options MAC_LOMAC
diff --git a/sys/conf/files b/sys/conf/files
index 6ad3ea21b14e..e54eff8464a7 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -5203,10 +5203,11 @@ security/mac/mac_sysv_sem.c optional mac
security/mac/mac_sysv_shm.c optional mac
security/mac/mac_vfs.c optional mac
security/mac_biba/mac_biba.c optional mac_biba
-security/mac_ddb/mac_ddb.c optional mac_ddb
security/mac_bsdextended/mac_bsdextended.c optional mac_bsdextended
security/mac_bsdextended/ugidfw_system.c optional mac_bsdextended
security/mac_bsdextended/ugidfw_vnode.c optional mac_bsdextended
+security/mac_ddb/mac_ddb.c optional mac_ddb
+security/mac_do/mac_do.c optional mac_do
security/mac_ifoff/mac_ifoff.c optional mac_ifoff
security/mac_ipacl/mac_ipacl.c optional mac_ipacl
security/mac_lomac/mac_lomac.c optional mac_lomac
diff --git a/sys/conf/options b/sys/conf/options
index 92f3c310c77b..48018e3b6adf 100644
--- a/sys/conf/options
+++ b/sys/conf/options
@@ -155,6 +155,7 @@ MAC_BIBA opt_dontuse.h
MAC_BSDEXTENDED opt_dontuse.h
MAC_DDB opt_dontuse.h
MAC_DEBUG opt_mac.h
+MAC_DO opt_dontuse.h
MAC_IFOFF opt_dontuse.h
MAC_IPACL opt_dontuse.h
MAC_LOMAC opt_dontuse.h