git: 56da5c5ed35a - stable/14 - mac_do(4): allow compiling into kernel
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 01 Jun 2025 09:22:22 UTC
The branch stable/14 has been updated by ivy:
URL: https://cgit.FreeBSD.org/src/commit/?id=56da5c5ed35ad297538395b07654e31ac425ca30
commit 56da5c5ed35ad297538395b07654e31ac425ca30
Author: Lexi Winter <ivy@FreeBSD.org>
AuthorDate: 2025-05-22 16:59:32 +0000
Commit: Lexi Winter <ivy@FreeBSD.org>
CommitDate: 2025-06-01 09:14:51 +0000
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
(cherry picked from commit c8d8cac2a8479009bcdca6c0cb9852af514896f2)
---
sys/conf/NOTES | 1 +
sys/conf/files | 3 ++-
sys/conf/options | 1 +
3 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/sys/conf/NOTES b/sys/conf/NOTES
index 55c1798bbffc..8dff052258a6 100644
--- a/sys/conf/NOTES
+++ b/sys/conf/NOTES
@@ -1245,6 +1245,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 c793c0814fde..6412e84d9f70 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -5164,10 +5164,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 1d156ca41a49..7314a58a6a4f 100644
--- a/sys/conf/options
+++ b/sys/conf/options
@@ -154,6 +154,7 @@ MAC opt_global.h
MAC_BIBA opt_dontuse.h
MAC_BSDEXTENDED opt_dontuse.h
MAC_DDB opt_dontuse.h
+MAC_DO opt_dontuse.h
MAC_IFOFF opt_dontuse.h
MAC_IPACL opt_dontuse.h
MAC_LOMAC opt_dontuse.h