From nobody Fri Mar 22 14:03:02 2024 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 4V1PDQ3nPXz5F1SC; Fri, 22 Mar 2024 14:03:02 +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 4V1PDQ1l4Jz4G7J; Fri, 22 Mar 2024 14:03:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711116182; 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=qBxAnJ66RekP8aYfmhdB4/YDBWbOAvxrkFjsfnFZTts=; b=YR/1Xa5yg/xoWk9hoCcxvQ4jVv82S3IgkbqRZMUXgyLPC5w8QVlxGHh3Io1hkHqp/kBxwX zhK6ebYZXkmSuDv3JCQnHB/Kpu3dNslcGDZai746Smf2KXx7xHLbAPsU+ZU515VuldiLp8 gD70aqj6CWuQ+4rZ7zx+Cj7gBB1ZoytTJh423TLyLTD8a8CqmBm4DACisWryJbgE/qThb3 Q5jiaUanL2dYzIXB8h7JrIvslv1LNGBKZ8ZnzQgivDsAjnEVm9XlVqzuUh+4wxnE2wvNet XF0ODnO8Pj6418J2YMQOQsHY6cIZHDtP4x9/O5JWdsgd4pqi5JxFvjfu/EV+vQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711116182; a=rsa-sha256; cv=none; b=aLNsj6yq9naVZ9CuDXvlRtlrB1KbdsO+sGL7geel/fwnH5HMzKS+3YoCJznfvTlX+vuCCc XhUYAEXkrV97h82p48jLuwA0QmEwumapPHz60h8DDt1XMHVThQ152IExwijQkXabjM+mb1 yN2im5uxsqMdbCEJBKhQp5gjVokJEn3HH7hxe0CHAQFdgStjo6oG3lqeiGrrZE/p0eMGiI 6w6m1qwhvxXW9oy7Ha8QisqlFZMCelyPZEg/5Acpg7atdUqIPKzdrTW4teH7qBUIyHpjsC LeJZpNOWl0QHe63HLba9PDCJJ6QPL/SohCjAPyT2Z9h6AFsVJ/8EDsr7ZWR/vA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711116182; 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=qBxAnJ66RekP8aYfmhdB4/YDBWbOAvxrkFjsfnFZTts=; b=Ptj2dSHm4/m/iT9tY0ABKUCtk6+6jyG9XdU1fNZF/JIjUE5k0I1LHGWY7N/kLfvQzn/xmC RuRIGtUwUxChsx6ZiGmL5pzrPbh3ayKa7KpblNVTwvT6TMq5nEuGK5/KIiwzDfzbPgsgns AFlydZ3i/ZXaUeEL5o9+orusjwXTOQde0EIJYONZ7/jGJ3JLkuwDHqgh/Qy30yQ/SEr5AK el8V4p3kcuYHlOEd9V8rsvlcPP1QpQsn0Ne/5NXUqLDP49lEgaSK+hEQN6ULsH3tdypKpr PbgD3cXyh0HscVxdOgzWZ/uu7/F3uQgNwdAKuxCStVlQFwAPF5uNFb69+MGDpA== 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 4V1PDQ1MPXz1LlQ; Fri, 22 Mar 2024 14:03:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 42ME32ru055333; Fri, 22 Mar 2024 14:03:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 42ME321g055330; Fri, 22 Mar 2024 14:03:02 GMT (envelope-from git) Date: Fri, 22 Mar 2024 14:03:02 GMT Message-Id: <202403221403.42ME321g055330@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: 537bdafbc25d - main - rights.4: add note about rights not being simple bitmasks 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: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: 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: 537bdafbc25d39b4bb3dce124691913f86c08288 Auto-Submitted: auto-generated The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=537bdafbc25d39b4bb3dce124691913f86c08288 commit 537bdafbc25d39b4bb3dce124691913f86c08288 Author: Ed Maste AuthorDate: 2024-03-22 13:47:57 +0000 Commit: Ed Maste CommitDate: 2024-03-22 14:02:31 +0000 rights.4: add note about rights not being simple bitmasks PR: 277057 Reviewed by: oshogbo, asomers Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D44473 --- share/man/man4/rights.4 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/share/man/man4/rights.4 b/share/man/man4/rights.4 index 770f9ea5c979..2d44a1060006 100644 --- a/share/man/man4/rights.4 +++ b/share/man/man4/rights.4 @@ -30,7 +30,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd February 28, 2019 +.Dd March 22, 2024 .Dt RIGHTS 4 .Os .Sh NAME @@ -68,6 +68,12 @@ The .Xr cap_rights_init 3 family of functions should be used to manage the structure. .Sh RIGHTS +Note that rights are not simple bitmasks (and cannot be bitwise-ORed together). +See +.Xr cap_rights_init 3 +for details. +.Pp +The following rights are available: .Bl -tag -width CAP_RENAMEAT_SOURCE .It Dv CAP_ACCEPT Permit