From nobody Fri Jun 6 02:38:42 2025 X-Original-To: dev-commits-src-main@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 4bD59H2ft5z5xJcV; Fri, 06 Jun 2025 02:38:43 +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 4bD59G6skFz3k6t; Fri, 06 Jun 2025 02:38:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1749177523; 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=gASuoRz9ytz1aPaY6/iE8/5kuhlfJbOoxqfl6kZh9a8=; b=dmAYEnokf4PvjZTzt8RfvCzjQQdGLiiMVTGhzMZBpQN5J2BvZB5VM/JgBUMIXwTTSXDpKh MNVz2NdDqueODlEaD2fX/8JnGE8FOmWM2/g/1TTvjRzyRIefewzhBOTYu2UKD+4ExrAA2z yS7CRj6t+sLW764hhQo8ZUlFujaoHTfeXpKBeaOIZr43s+F9Qni0WiCmMAmnHwRAAfPNEE kKbJFSo2unpNRoSu8N9K49/IemZSejnRo3FDJCis4tQuPauQapfb3wh0INWnV4Y7u5ceaW LW7DSEwNlc9HyJokzgzr+SS6pVBTC0xwYi2aWrExDukuYowLc7E5vEA2eLHftQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1749177523; 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=gASuoRz9ytz1aPaY6/iE8/5kuhlfJbOoxqfl6kZh9a8=; b=RUvYI7wRhr2d2E9DosYwVg450otzjKF1EjdlFWuFp4HJZteEz9ao595g4FL3a/IdvDMRyG 0SFm1xE55wBoXVP9E4ua3M+geL18ujpFw8kq6nYAHSxERjN5Rx5ltqVFhk+W9BwpVaYWMX 2ZAQv6vHqCTRcUlGhy08AKchih9dISI5D01GEGRXwEcTZ+O/q0MghViAPZE4X4zgGdFL6S 3Dj2w0FBhelDjQQZY02XaV++uydgm1Xae4w1AQVlvKTwmFUb+DgHrwQjNlzj9SVylwKnph TlB7QtV8MY8R8x6A1zTvg3KpIVBVoWuD1N8xkURcEnVoBM4ppJ67112zca3YsA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1749177523; a=rsa-sha256; cv=none; b=NdHCGSpCV8Idc3v0612LVlW0S1MqyQWp7/DpJvjS5aGmCzRhGa5H9VvBNIfjuclFqF0Lss RvvTEys5DpAafJMN1J78tCijYhjJpiavFq4lSI+ioMulJ9E6RgJMjsOpsTIPVBYdOg3lW+ 24QS9f0bXjk3DygZWxqGoYBZU22O+plbqyz+aJoyeO39/zse+VDU8hUdHsRVA799SwAoQS JY/ZmdqKFKTEqztg9CRq/1zhN/dtI3twY3OtjFTPzq3ApHZS4qA7fGysjxNTUYy4SvMRKq Ua33qTYZdD0ueRpwLUAG3SqVLTUXOGNqCB/L1QBM1ydKOkd4FveLTOO5tp3NgA== 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 4bD59G6Mzrzcrs; Fri, 06 Jun 2025 02:38:42 +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 5562cgFX008821; Fri, 6 Jun 2025 02:38:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 5562cgDG008818; Fri, 6 Jun 2025 02:38:42 GMT (envelope-from git) Date: Fri, 6 Jun 2025 02:38:42 GMT Message-Id: <202506060238.5562cgDG008818@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: 6d46fd2cbea4 - main - capsicum.4: Add capsicum_helpers and libcasper references List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6d46fd2cbea43002689ae1a8a0e388e9774da1bc Auto-Submitted: auto-generated The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=6d46fd2cbea43002689ae1a8a0e388e9774da1bc commit 6d46fd2cbea43002689ae1a8a0e388e9774da1bc Author: Ed Maste AuthorDate: 2025-06-05 21:22:13 +0000 Commit: Ed Maste CommitDate: 2025-06-06 02:38:27 +0000 capsicum.4: Add capsicum_helpers and libcasper references These were present in the SEE ALSO section but were not explicitly mentioned. Add a brief description of both. Reviewed by: ziaee Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D50707 --- share/man/man4/capsicum.4 | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/share/man/man4/capsicum.4 b/share/man/man4/capsicum.4 index 3c3eab5d798b..6aefae9d6df2 100644 --- a/share/man/man4/capsicum.4 +++ b/share/man/man4/capsicum.4 @@ -24,7 +24,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd January 3, 2024 +.Dd June 5, 2025 .Dt CAPSICUM 4 .Os .Sh NAME @@ -101,6 +101,20 @@ restrict access to global namespaces: Processes can only act upon their own process ID with syscalls such as .Xr cpuset_setaffinity 2 . .El +.Pp +.Fx +provides some additional functionality to support application sandboxing that +is not part of +.Nm +itself: +.Bl -tag -width indent +.It Xr capsicum_helpers 3 +A set of a inline functions which simplify modifying programs to use +.Nm . +.It Xr libcasper 3 +A library that provides services for sandboxed applications, such as operating +on files specified on a command line or establishing network connections. +.El .Sh SEE ALSO .Xr cap_enter 2 , .Xr cap_fcntls_limit 2 ,