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
This commit is contained in:
Lexi Winter 2025-05-22 17:59:32 +01:00
parent 098b5d4dc7
commit c8d8cac2a8
3 changed files with 4 additions and 1 deletions

View file

@ -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

View file

@ -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

View file

@ -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