From nobody Tue Apr 19 19:53:10 2022 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 C5C6911CB75C; Tue, 19 Apr 2022 19:53:10 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KjZGt4w3lz4hks; Tue, 19 Apr 2022 19:53:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650397990; 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=iby8FDyEO0WEf6iJeyssFfT7ht4zKozFA6ApyM/kxzM=; b=Z79HocwF+6WdEfAFeerXYuiHCe8nrEtSH5AlDNifVStCZqHeRxBIOWnZIX7rbvucQzJGnK HbVZSB4DjdqpkKlH/MYLefaQFC5fwN9A2fvadWZuFKMPiPuK1RFL2wj3g5t75NPs9KCejE dVjzYLuNvJh04dHEFiDOTkhdxj2yU/AC082bzPifnRv3ic9RbdQwtSZHcUmeGcabven7iI Cayj2e4SupNEFiHt08rtDxekoSm5G/G3+kl1em4ZuUFEd1jiUuiT86jJcuoeKAxhAqQqjh hSor0PpyG7vpRNE2PFtPypqTeb6ex7DnwZ+eky/NiPpUlstZ+TFe08KA1dipjQ== 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 890192DB11; Tue, 19 Apr 2022 19:53:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 23JJrAt6013911; Tue, 19 Apr 2022 19:53:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23JJrAi1013910; Tue, 19 Apr 2022 19:53:10 GMT (envelope-from git) Date: Tue, 19 Apr 2022 19:53:10 GMT Message-Id: <202204191953.23JJrAi1013910@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: 1f568792c615 - main - capsicum: briefly describe capabilities in man page 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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: 1f568792c6156988d357ea31a36d77ed11cc9a2d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650397990; 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=iby8FDyEO0WEf6iJeyssFfT7ht4zKozFA6ApyM/kxzM=; b=bfYiK716LjCWc3fad8stHKnLk87RxhxfSPkduJ+CMaJKdtMWFr7oExFMNWn4oCDTtnTEyS C+S88wM3jukEAKaQAW3wUfeMy79I/aasH7oc2oXgG6X2rlq130g1cCDwG4hVbrzmq29npL /J8qyozSxg7osqbX37mRHegI1Q5EqSmOI9/UYb06TdnfopfKfoH4EVkIOd9WhDdk5TOpUz MitEZlnbh4OOwVakR2XYOfGUBnUvcD3+Bjaajoj1B3p+byW6pqBXXDYwxg0vDcrEInYpNv K33DzssM1fBid3Cw21YWcdCFLQF5YpmjlOQPPHgMPJ99Nt+tEkOwKh1ImtRdfQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650397990; a=rsa-sha256; cv=none; b=bxrUjWVjm4KfYUCDs5r/cwHc0n6aWk+XI5b+9y78/3QNHlJEwhoZKwDscUrwQRrjBncuIp 2DNjRxdaUdL4Wb4wFSkeY2rwv02f8Ez9noODaUD1UL1zhjixLKFgHxjEQjIWaJpadudcFf z1JfSzlKJ156nDaR9+X0958CTeXBVtkeHKB9i+c4RQPxqeBWRRvOwpI283l+v75CahXIAb zTSzgtxoM+0fhoinpbnBnJGb2MP/rdL0rRH4uVdcQ4ekUE/f6/aGPgcYy4vndYnjchYD+N oKE0uLRB/cjCgQRJgTOmAVoOZBNuarZwf+vhozYRvDPUghHDwLKaiH7dxBnIUQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=1f568792c6156988d357ea31a36d77ed11cc9a2d commit 1f568792c6156988d357ea31a36d77ed11cc9a2d Author: Ed Maste AuthorDate: 2022-04-19 19:44:46 +0000 Commit: Ed Maste CommitDate: 2022-04-19 19:52:16 +0000 capsicum: briefly describe capabilities in man page Provide a very brief introduction to capabilities, using a couple of sentences from David Chisnall's mailing list response[1] to a question about Linux capabilities and Capsicum. Mailing list subject (in case the archive URL changes) was Re: Linux capabilities to Capsicum [1] https://lists.freebsd.org/archives/freebsd-hackers/2022-April/001032.html Reviewed by: oshogbo MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D34945 --- share/man/man4/capsicum.4 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/share/man/man4/capsicum.4 b/share/man/man4/capsicum.4 index 0dbd3067e0ea..d9ff9c489fd0 100644 --- a/share/man/man4/capsicum.4 +++ b/share/man/man4/capsicum.4 @@ -26,7 +26,7 @@ .\" .\" $FreeBSD$ .\" -.Dd May 18, 2017 +.Dd April 19, 2022 .Dt CAPSICUM 4 .Os .Sh NAME @@ -39,6 +39,11 @@ .Nm is a lightweight OS capability and sandbox framework implementing a hybrid capability system model. +Capabilities are unforgeable tokens of authority that can be delegated and must +be presented to perform an action. +.Nm +makes file descriptors into capabilities. +.Pp .Nm can be used for application and library compartmentalisation, the decomposition of larger bodies of software into isolated (sandboxed)