From nobody Tue Apr 26 00:54:52 2022 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 D05891A91147; Tue, 26 Apr 2022 00:54:52 +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 4KnNhD5VRXz3stK; Tue, 26 Apr 2022 00:54:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650934492; 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=SLMo2jE/yYR/85kSB3GaWFwxTPMRlo0yjFT9sL19CKw=; b=cdeLAW+eRPJW8taSH51nixW+C+gbqHt2o5eydERRREIlrseqgHVgoRK6Xpd7PnUY8NhftS d5BwoWtADkHs8HngIkST7YJtACIa83FfT1pBGJB9Cud8Cn6gyfzYw4ylFk7g5NdFYKnTgM m1UwT8fEm29ETwxgz6DX4nnL3ZVVICIG4nF/LZ/QJaWreUu4K+MM0f/83zzs3zc7ZydQ6u A+eIpLioiKJVyH6hFJvgOHP3nc6q6lvikDOwCWlD+eRwYkcHZJX7iWYtHPaAygucXPUjCy cWd1k9lWN4LTza5yTHuQWIdIsXko5W+8ysYLuqRC4EMJ8TEjCeT/XjamaWKIBw== 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 9D2F725349; Tue, 26 Apr 2022 00:54:52 +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 23Q0sqvi082326; Tue, 26 Apr 2022 00:54:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23Q0sq0X082325; Tue, 26 Apr 2022 00:54:52 GMT (envelope-from git) Date: Tue, 26 Apr 2022 00:54:52 GMT Message-Id: <202204260054.23Q0sq0X082325@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: 364a69a529b2 - stable/13 - capsicum: briefly describe capabilities in man page 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: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: 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/13 X-Git-Reftype: branch X-Git-Commit: 364a69a529b215d72357e2957bf45f2c3652ae4f Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650934492; 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=SLMo2jE/yYR/85kSB3GaWFwxTPMRlo0yjFT9sL19CKw=; b=n9CUwM/opXClnG124xv/+EiLc3zTot9fwaFV43YWRuPxJ5lItPBAi7xmDrPqOGiGtCsTYk ICWolZf2DiVUceB+qQgBVUsTjgqZ4sLPlmrwPHX97Pdoonqi/kJyfIU6oSRICrRJrT+YP2 kSLPjC2De3jyeS4/YMvxYcqOO+wykQrHojymsZ2ZhmqRM2KdEXq+Y7JBUhGRVcMJ0dSt35 RcfhJ/dIgePJ5pQljliwF2Hw6THUUHbN98nJgG9sgqeKDTt8Ww7FuF938SJdpAlHsEZual iha5r1c7D2xWfnCwu8yOJNdUZ308cPJwIv8HZ8rLNU8zyWIlL2TlI1XfP7d84g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650934492; a=rsa-sha256; cv=none; b=qTW1etwneLQQTyLze4quc1oFwTZkuHPppqIyw213G1wA0N1LMkKsDEVMyqR3F9XLxtojTd WGtebDHNGMj29yVa2QGfja/4bnjRS4ZQn10oB7s/SyfZC1LLYIuPXL01NZO+bMfaEG70YS Wq0Hlkpq78/Kdg4RcpPJ0936kMYtx6pljmNeMY0PmK4avkFexWNMZJFHOM8JIXa2j6eFv6 ZgPAASDLsACce0cNlVrOcs8WeZRztqKeeYJu8uSfSJzc8uWGOHDR0QwjLy98ezomL30zH+ 2A3FJDyb4ApXiVi4clCnw6RGld/bvzYziXLIGUi9Z2DW8p1xLA1QTbVxSTONBg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=364a69a529b215d72357e2957bf45f2c3652ae4f commit 364a69a529b215d72357e2957bf45f2c3652ae4f Author: Ed Maste AuthorDate: 2022-04-19 19:44:46 +0000 Commit: Ed Maste CommitDate: 2022-04-26 00:54:38 +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 (cherry picked from commit 1f568792c6156988d357ea31a36d77ed11cc9a2d) --- 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)