From nobody Sun Jun 1 09:22:22 2025 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4b9BML6dZHz5xPP8; Sun, 01 Jun 2025 09:22:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4b9BML5TqKz3c7r; Sun, 01 Jun 2025 09:22:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1748769742; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Av7XPPA1n5jOI7GifszawBfT2NcH9X1Hnyk79bnUxoE=; b=Dh0jMWAtC1XtmE6EpJ5r6Xk9CwZ2X7HjwJ6RLnmOk686g6p1Px8tCxifx/wQG+Fi+pu0cj /p5/kRd1KcRlvxMAVIBmvyMPHng/Wr4P4RAioziPnsOY/v8YDjMMo7SFDlNNAuFEvCwSEo XONJua5vejVaUacsrJ+amCeioB4vw7zm5H8dNUvrs69Cu2aFkc+vdUX5lcT9ro2dfzdcPg SsPCsX2SV+I0O2q0Gqyk6Ax8+AC+ejMQzAn5U+ZuxYiwhLCvTwzVvguH60+rBKL4Yq0L/U D1g23X3GvzqQv67rE0Zs7GyExeMuXlwamMDNeG3s0ZB1bR9iWqpyuEo2ukweEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1748769742; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Av7XPPA1n5jOI7GifszawBfT2NcH9X1Hnyk79bnUxoE=; b=HpsVYZGyY9CaTLmq4JjMqxy/y6fRvwSEk8dgjoDDKmBZjF5KdxWfu4JYspHlzQBBl95Kqy QD9mkq5HvwtAbhkIQrLTz5Q7oN9zVIBjVMGqWKjAfzBMka5kTqG8IauHd2v6M7x3BfZd4V 5RB32+WeryA5AcRqBBXx9SwkaphCyhoqgdDKzxDVn03CdbpuO6f3m1A/YHbl36TJMcfGsy Qc6s5XMwe1B4RM/b6dfHFYKDrorVHm2ZfBwdlM5UwLbahXbh0TAARJmCLklqw6rQabzhnR 8qplJlmP9gC3Qk4ye/XQaJ+LljQTMa4Mi4fW9ckBmQqkHMI7ZcwVdFR0YmCEyA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1748769742; a=rsa-sha256; cv=none; b=PQLrAhmD6n0XYkHHW7Vpy8ht4CKfOrsEZb1pUPN0sgt6jZGKtjek1UTEIAuDk2HQ3dqIc6 Z1PoEljHWMrUhUX/vTM5bS5GpMyz3A/YwKmju+2FVMMG1gHdKIRPMvQreIfBKDZjKIq8Z3 4wt9P84rMz3y5DhWZkO8Q5v1ld7Av5xxcQbEKQTKu7jjjX8Nx2uUV7Kw1ab1tvs2/TSOUp Junw66dYoou4417qinAKhWLoaiGTcegYC63YRf5NIn2WsLb4MFcRNAVCzOwCLR531fnOT7 1Bc+LZFe6hLsY6qggDVmuPgxu5juI5wkt03HBH9r+B+VcsGh5w0rLXHV0uymuw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4b9BML53FWz2qq; Sun, 01 Jun 2025 09:22:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 5519MMPE049149; Sun, 1 Jun 2025 09:22:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 5519MMk7049146; Sun, 1 Jun 2025 09:22:22 GMT (envelope-from git) Date: Sun, 1 Jun 2025 09:22:22 GMT Message-Id: <202506010922.5519MMk7049146@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Lexi Winter Subject: git: 56da5c5ed35a - stable/14 - mac_do(4): allow compiling into kernel List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ivy X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 56da5c5ed35ad297538395b07654e31ac425ca30 Auto-Submitted: auto-generated The branch stable/14 has been updated by ivy: URL: https://cgit.FreeBSD.org/src/commit/?id=56da5c5ed35ad297538395b07654e31ac425ca30 commit 56da5c5ed35ad297538395b07654e31ac425ca30 Author: Lexi Winter AuthorDate: 2025-05-22 16:59:32 +0000 Commit: Lexi Winter 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