The branch main has been updated by ivy:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=c8d8cac2a8479009bcdca6c0cb9852af514896f2

commit c8d8cac2a8479009bcdca6c0cb9852af514896f2
Author:     Lexi Winter <i...@freebsd.org>
AuthorDate: 2025-05-22 16:59:32 +0000
Commit:     Lexi Winter <i...@freebsd.org>
CommitDate: 2025-05-22 16:59:32 +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
---
 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 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

Reply via email to