From nobody Tue Apr 26 00:55:24 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 9E09A1A912F8; Tue, 26 Apr 2022 00:55:24 +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 4KnNhr3wBTz3tRQ; Tue, 26 Apr 2022 00:55:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650934524; 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=lxWUjMJTSW2RyGhFyirXaIBZ59/hJq3IPy7/Ed+rC+I=; b=ecr9OSbjy0IwgcAeWPlkyhOdlL+HjSZ+WrE4B5ArRF0FZ6OjkAmX1qgcy8m+OeF76j8uxv wY2Cntkqd6DpVeTOHX7yi/keXJ+0hhG6MF+pvobD+kvo2Nrbgv/gjJXIvMfb2q6AqxjRYx BetnHK4tYGR+5KcGYQEDItsKlJivaeJfMkXVPrWaWWhQITFXUwsqz/Afd1NY1X8Rbmv7Du BM6Xi9SVfccCJ+jj9lNJ8XSXA9mMBLcSd/2FWuNfAVU5Fhe5VEnboZRT++3NaGju1qdYGQ Qdp/qASgbmBViyGQYxrEY3OwT8C+D4obnHPXCUORA+h+wH18XBpZ+bRW+fAirg== 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 681A02539B; Tue, 26 Apr 2022 00:55:24 +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 23Q0tOXp082496; Tue, 26 Apr 2022 00:55:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23Q0tOeS082495; Tue, 26 Apr 2022 00:55:24 GMT (envelope-from git) Date: Tue, 26 Apr 2022 00:55:24 GMT Message-Id: <202204260055.23Q0tOeS082495@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: 870735c46b15 - stable/12 - 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/stable/12 X-Git-Reftype: branch X-Git-Commit: 870735c46b15feb7bac967b73c548f3732a7a545 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650934524; 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=lxWUjMJTSW2RyGhFyirXaIBZ59/hJq3IPy7/Ed+rC+I=; b=N3x8TnNtwJkGabBnZyJFC34G95K9xUwzwwfGPtMCBev/s331VD9lztvfPDAcPM4Wkc2sGP 8+zWn5ok/NTgWT/sUTjskSVqqRAqkZxSHoVU9/gMdwFpJiAzBJJF2fsEO0xtWDkt5UxTar HHw0tc9urueInyUHk41x/9ugf6+hIP1E0gK2x6XtyLYeimwd527nb4LNMh3nIAWLUHgS8H bYlJs84LXwFcE9pRDsb8RtDJ+rp7qztMURaNAs2UkaxnAoj/WD8c6gf54XRTtxkWVdRUgP auNHupXYgIRmDAvy3Hal1dio30P9JL9NlQh5CEecjB2AxlJ8ZPnypa80K9JMZw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650934524; a=rsa-sha256; cv=none; b=wqG4kAiCgXFRA0yqaOF7sTqkeIEZTEdk731dhv4CGCIWQBLeZhvEbEdXi+dYlFbd7oBx1B nybEg8VY6oz9iPdWII1hZHawgxt1zLNAkKAfIwvPpdTiSbKpqciaFvbeLwCeGhG8Pcs1x8 OpV7v3w1RAQ6+8CRjQyLnUlmyyvi45zWbVuvaiUsip+9KVC+pUooSrx6F3LVEC6BSYAqeT B0BdIGXdGICnR4G/SddoTf0+MCMeFz0LhHv4g16Gkpyx9rxkM/2Dyy/Nb2UIFSq1zopzgg iI4M9FGGvqwUPY2PlqneVku/TRsF9rzhvKJpgkespPkzdY/Ya/Sn6vJxl6bVlw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=870735c46b15feb7bac967b73c548f3732a7a545 commit 870735c46b15feb7bac967b73c548f3732a7a545 Author: Ed Maste AuthorDate: 2022-04-19 19:44:46 +0000 Commit: Ed Maste CommitDate: 2022-04-26 00:55:12 +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)