From nobody Sun Sep 06 10:01:24 2026 X-Original-To: dev-commits-src-branches@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 4hd5M868dZz6qqps for ; Sun, 06 Sep 2026 10:01:24 +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 "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hd5M83wP7z3MZB for ; Sun, 06 Sep 2026 10:01:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1788688884; 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=I0ABch76M6FxfVjIQJqjSn0PYiztFBQTcA38AIxvs1o=; b=DqlZninCMXnaI09JUooRyIiM1QO/BMQxIBxnKd4x9IyJVNQY5M8z7TW7oQzdTDVSQ1xagc i6vy6uBk6VEUhRbDVRsCpP+9FIy1Q+Q9LvGnoQXNu/1KufJl8EB23Roo6iVIQrN5yFnW0K Rycw6UTCauHO45MJhDkgpW6JzcOTCjWA4BmLuyFXm5yp1MD12Fg2hcLw7d3B6WScScijDA /nCujiPozE0IUWl75ukbvqIwGk8dlfDxaeAg5H4V3+tbnf1FIHI0PrrOCoGERiq2fmExvP zuzsExcvr0jPx6gEgLFQZpyNRDSf12UCrcT9+ebtls92fwS6UBPxuuxZ82mYpg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1788688884; a=rsa-sha256; cv=none; b=drwrTOrHfNriCHxEn9r7Nrb91cn0r1t0qCdKC/CUxqvUaf1N/5WsHObZkJ1I5FTqT65ELt Ub75a21mGbHgUCvqiVLHKrmgi/LtsmQzoaNjX6jWDkWHNIxzS4f720Ce8rKOgb/lQPoPiz dgZy/kajgiotmHHZ6mtcWT1hjgcEbXlK6BugC+eCnEqzBHYGA5tZbO6CG3nMw9xucYviHv Ye+Ldsrq0X1PhQCXh9nKuJgSIq3uR8v10lrQB8G7GcupFTibcTsjawE49C/efHg207oZAx l9WT9VTf4sS02hBRSwnoIBNiQcooZbsrR1+LqZwYkLEu18kzzjcFINt9OOFjrA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1788688884; 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=I0ABch76M6FxfVjIQJqjSn0PYiztFBQTcA38AIxvs1o=; b=rKp3z/SAUbEXKWrcG+C+6iBuXkKvIes+2BzgUpgzucDICPhmEZ3J4rnx5lFF53eMO9HcwR Ok9ANKWBRoVNZu2MLj0meSE20S1vNPVkb0yMiYThgL6HjIzsqReMNeIxUZHzzUX/C+T3LG qXebBltQ8RMlDwO1RNhWLwOpEUWe8I8VAaxpykS5uLGEqXbF3QKuE8xzIWiV4lXUGUdfyf czrVROkQL50GByVe1lZ7OM5dc2mb9iDjEPVUA9+QjlqyiCIAk1ERhld4/wq/x/dxQIyctp KuLsi9cjhNcMwyiCdVuIzTF+550UaTHUlTtVBZb4LE/BzE20pKSgjzw2goDdhQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hd5M82FcVzB94 for ; Sun, 06 Sep 2026 10:01:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 46608 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sun, 06 Sep 2026 10:01:24 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Alexander Leidinger Subject: git: af97285a6726 - stable/15 - rc.subr: svcj - add a setaudit option List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: netchild X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: af97285a6726dbc321250ae61a91ceb237ba07b5 Auto-Submitted: auto-generated Date: Sun, 06 Sep 2026 10:01:24 +0000 Message-Id: <6a9d39f4.46608.4e2ff779@gitrepo.freebsd.org> The branch stable/15 has been updated by netchild: URL: https://cgit.FreeBSD.org/src/commit/?id=af97285a6726dbc321250ae61a91ceb237ba07b5 commit af97285a6726dbc321250ae61a91ceb237ba07b5 Author: Alexander Leidinger AuthorDate: 2026-08-30 09:44:59 +0000 Commit: Alexander Leidinger CommitDate: 2026-09-06 09:58:47 +0000 rc.subr: svcj - add a setaudit option setaudit(8) is prefixed to the command inside the jail when ${name}_audit_user is set, and needs allow.setaudit. This is not added automatically when ${name}_audit_user is set, this needs an administrative setting of the options on purpose. MFC after: 1 week MFC to: stable/15 (cherry picked from commit 9125bc0727dbbf82b1c6a5f7c380f7b8c27b74dd) --- libexec/rc/rc.subr | 3 +++ share/man/man5/rc.conf.5 | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/libexec/rc/rc.subr b/libexec/rc/rc.subr index 5bcd104a9cd1..3c53382ccfd8 100644 --- a/libexec/rc/rc.subr +++ b/libexec/rc/rc.subr @@ -1290,6 +1290,9 @@ run_rc_command() routing) _opts="allow.routing" ;; + setaudit) + _opts="allow.setaudit" + ;; settime) _opts="allow.settime" ;; diff --git a/share/man/man5/rc.conf.5 b/share/man/man5/rc.conf.5 index b666345def48..d48ce72de088 100644 --- a/share/man/man5/rc.conf.5 +++ b/share/man/man5/rc.conf.5 @@ -22,7 +22,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd April 2, 2026 +.Dd August 30, 2026 .Dt RC.CONF 5 .Os .Sh NAME @@ -5059,6 +5059,10 @@ have not had jail functionality added to them. Allows to run nfsd and affiliated daemons. .It routing Allows to modify the system routing table. +.It setaudit +Allows to set the audit properties of the service, which +.Ao Ar name Ac Ns Va _audit_user +needs. .It settime Allows to set and slew the system time. .It sysvipc