From nobody Tue Jul 22 20:30:58 2025 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 4bmpnH0hPwz5q7bx; Tue, 22 Jul 2025 20:30:59 +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 4bmpnG4HZbz3CWb; Tue, 22 Jul 2025 20:30:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753216258; 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=xuDCZmKT+us/cxpjCnaZ3DoBQUVHfkPHxLLJg8dLoCs=; b=TqCEXtg1VZGcKUTyfdJ0TOWgW2RywVR5Kl1k15eVi1J22PJlTl79ZxG3ptuplBKWHmzqtk hlOvb9gspQDpiLDBP0vlbYm4x85O8rAR6KlQq8hmr68E0ln4dTkAJ7vXq6FvUAEC3Fi7DQ Hfs+9Cbf82idJXmdDIuaUGWBj4kzZpBWGjCddN6h9WavU3YhT/wMk5Y8Zz3s92LiEKkqap Zw6xfJT4qC8RfeR8CrENli32KBaPDMXNFPp3x/om1zhGjNwwudLM+xMVch95t2liakCuAA QB+wdwawqYEyjLmDxGMuAD/ROo9xEkCTAmDA3fDFZEV4dIw8T14ZvkM1ekqn6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753216258; 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=xuDCZmKT+us/cxpjCnaZ3DoBQUVHfkPHxLLJg8dLoCs=; b=pQXQLdhhKlVtN+bO2Kag/9Q4VjVMqP/vTXGw7YeRC8YSwf+8fx7kEyzuSCxxHEeo2hYga2 lekHgwfq8aQRN32SR2RkEYN9umgoeNpg9UvyHZ4+3Sll/KaFVhX5vzecRVBjI5+D6ENO9V OMqRFjNP4xfpZeSZEureekqzDix/Ggiqu+z4wXH+JRORx4w27AstQZEm9pET/+Z+65go/6 8hmq9PYukTgbkBj3HojndYsMu6+jC8zdNFXNECahvede0UtImlNzWR8n9usHhxhp2oPqPK 2CcJpt2uX5VvMk+3W/wMkvnd9SvLQA4NCjITijOJbCWHdJLnXZ0PFTkZQ2tlsA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1753216258; a=rsa-sha256; cv=none; b=lz7VJtaYsdmhsQMmvhGYv88ObkIAgULwoglHz+D1Kbl+B374/zv3v95xV8o61KzM+AgCV/ L1O9vgxZ6/ECtsZW2cprzKZQpghnGZtiBoRrjmCULQJbpNMLInbdv/SVZsmfkl9/ErolyO eAvofx85DhNT1M17YIRkxmMekt6SxKN/kBL8+yzVBsbTyxFsNAOWtIBYq6p0dKaPwwYESh ILHMxNUVjy0az64C+NYGUsz+YNyWhNmJnNi0P7gdvla8SpWyP3e/6L0NFacRVF1geRs8JG 0YCIZVWxRZUMbdE40x/dc3l4a+bUwl/JUZaAPW88pr5ABZmoRc/AjIVbG/OrpA== 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 4bmpnG3hLczjf4; Tue, 22 Jul 2025 20:30:58 +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 56MKUwln000222; Tue, 22 Jul 2025 20:30:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 56MKUwCj000219; Tue, 22 Jul 2025 20:30:58 GMT (envelope-from git) Date: Tue, 22 Jul 2025 20:30:58 GMT Message-Id: <202507222030.56MKUwCj000219@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Ed Maste Subject: git: f58fb8abc465 - stable/14 - capsicum.4: Add capsicum_helpers and libcasper references 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 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/stable/14 X-Git-Reftype: branch X-Git-Commit: f58fb8abc465303ec756b15ef1c8f0e75a33067b Auto-Submitted: auto-generated The branch stable/14 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=f58fb8abc465303ec756b15ef1c8f0e75a33067b commit f58fb8abc465303ec756b15ef1c8f0e75a33067b Author: Ed Maste AuthorDate: 2025-06-05 21:22:13 +0000 Commit: Ed Maste CommitDate: 2025-07-22 20:30:30 +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 (cherry picked from commit 6d46fd2cbea43002689ae1a8a0e388e9774da1bc) --- 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 ,