From nobody Mon Dec 16 14:45:14 2024 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 4YBjQz0GgVz5hWSB; Mon, 16 Dec 2024 14:45:15 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YBjQy5nb7z4cFN; Mon, 16 Dec 2024 14:45:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734360314; 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=Vh5+t6w0pKCvg2WcTHHNny2mTPeDy4qw6L9zkV0IXIw=; b=W01x4JuW9zGVfBRc2M1tZGhyhZnioEnPQbWDJ222p9ZXjbo/UNZ9VquO307mpTnduhQp/y VaXkWQGyHI1zsidQv165Y7/zgHEPyk42WKIT45I+duD9oc0s5wd1l7WuC2hjQxq/EHfnem ec4B+yvWmgEG6g+UxwWrAFJ8MUhq3Vq2VWZHK4yiGYL7tvwzE2kTnX6U7iGsOlVDHBQJua gSPIK3/VadJPd/cN5QQdD9Fuy7Et5ISsotYyk8P3GahmbEgMkqFhToCyb5i7qJEJPUg7hm SlRXVRtWJ93521c/gRzPorIh9dOCmPxg91D7YVDXhce2Ax5rGzmJT8ccioRDZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734360314; 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=Vh5+t6w0pKCvg2WcTHHNny2mTPeDy4qw6L9zkV0IXIw=; b=iVjAfRzJms9ah1JXWnn4yH6U2s7B8qcuG43/1nxL5FMZoN+KGAWS18DAdEk5FGd/itW1Ew i3h+eTo8Hu6Pj8p4wOJjIXi4TlOXOAtOAFgtD2F2vuEKSAMi7wRGF+FvqqK7giIO+rmQls YXtq9QIjUorcr1/Q/hF3aJqu8flRRSDSledDK2PI9Z8AgAIboIOrTZmD4KhRUtcPpfBLuq AlMsbu3BFsDJa6Zv14eJQ5Cd6wOXORxxjEyxfPvnn7tfl6RXtAy/2t/5ySbqgmUHQj+OCK XQ5p4tUqOzB964tmdh0pn1mX6HOSKRMMRAji78JQ9CYlqpurf7sKdXKDtNN4+Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734360314; a=rsa-sha256; cv=none; b=B9guWsgKrstP3HsSpwfmAEXA+ykJb8S6BWDf6d7GBuWcIramn5BOAIGukFUOnMYcpNYUKj CuoPoOXE6jzXs8g77CVQdr7BDcds6Jztk0wwhxo5znLCNjCVQwIkCMdZ8X6AT3LpTF7vsJ zvJRzkdf9wjUdjL82Slg9hK0tThxwEgw19kSk7XjMGRh+vmvkpIICwDY6ASWKy7eUZYZVk DXMzDUn+DMLr8A/UnNLgXSDClPomSYiGO/WRFUppmIy/QcLXnxRC6wSaAjRrBnO1iEOauK k8paskheR07T46AqC8Rm8d6twJk6y61cv5+eCZcY7+j2Mh0J7naLvteKN+jGmQ== 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 4YBjQy5PqMzxWn; Mon, 16 Dec 2024 14:45:14 +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 4BGEjEtV051426; Mon, 16 Dec 2024 14:45:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4BGEjELw051423; Mon, 16 Dec 2024 14:45:14 GMT (envelope-from git) Date: Mon, 16 Dec 2024 14:45:14 GMT Message-Id: <202412161445.4BGEjELw051423@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Olivier Certner Subject: git: f7bda491ef05 - main - jail.h: New SYSCTL_JAIL_PARAM_DECL() 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: olce X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f7bda491ef05717fb4fe6c89083485599db951b8 Auto-Submitted: auto-generated The branch main has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=f7bda491ef05717fb4fe6c89083485599db951b8 commit f7bda491ef05717fb4fe6c89083485599db951b8 Author: Olivier Certner AuthorDate: 2024-07-04 09:50:04 +0000 Commit: Olivier Certner CommitDate: 2024-12-16 14:42:28 +0000 jail.h: New SYSCTL_JAIL_PARAM_DECL() Like SYSCTL_DECL(), additionally prepending the well-known jail parameters' sysctl prefix. Reviewed by: jamie Approved by: markj (mentor) MFC after: 5 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D46902 --- sys/sys/jail.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/sys/jail.h b/sys/sys/jail.h index 94533ef1e8b5..72799dbf172f 100644 --- a/sys/sys/jail.h +++ b/sys/sys/jail.h @@ -378,6 +378,8 @@ extern struct sx allprison_lock; */ SYSCTL_DECL(_security_jail_param); +#define SYSCTL_JAIL_PARAM_DECL(name) \ + SYSCTL_DECL(_security_jail_param_##name) #define SYSCTL_JAIL_PARAM(module, param, type, fmt, descr) \ SYSCTL_PROC(_security_jail_param ## module, OID_AUTO, param, \ (type) | CTLFLAG_MPSAFE, NULL, 0, sysctl_jail_param, fmt, descr)