From nobody Sun Apr 07 16:59:02 2024 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 4VCJN63HN3z5H862; Sun, 7 Apr 2024 16:59: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 4VCJN62g6qz4Lsl; Sun, 7 Apr 2024 16:59:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712509142; 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=CL/meVK3J9U4YXmK/yKJF5PjqzSj0Ot0FCuAyoXIiJc=; b=p4u6nQCRV3uzjSZ5qs4GrdsPJLdp7uteup9RkgbQhbxmbWAhBQfHy8xwYG3ea7aYB7QfZ/ w5hWY9vCpdXJsiCFiPJU/pDv/nTyT6S3odw5zQ490v2q12oOGpq3+4PpwA2XRE/NVEzOFt CT7FtdLvFYWYayAOy0/by43g76IusmIqBW/anLw+rYIZ9nbtCh0akpcdCulrXJzHdawgmY JUC+o4G9XBIIfagXZX0Wt7314gEq8V9f836YTOd4yTTgk6HxvN7po0cVpvLK4H1JWQjgLi XYIuqzcQANVRYBkTIdugENmCPRkHnWASLCMxGzUikPI5vwjMzHE9kuOgr00zEA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712509142; a=rsa-sha256; cv=none; b=T1wpH00qbW0emFx3O43wOSZl1oBxQRIl2JILGFZfwja6ryan2adPYsLuMwUy9cbsRxLj2z IHI/9WV599mqhiISgb7qNGlTvHnFl7PKrRXNAl1hgwWbbC0eAyF/etGHFU7QtJeLL2WmI1 DwbVw4qUforMcFvIEsYLJedUBCB4uI3CrIt/MS6SAOCaQUGZrtJoIS5G1iT+HMz672qCfh g0Nb2T3MRSv7bHIdMeWZ5YgmZpBMx4JZ3AdUuDk2HUotl1RQYbtJ6LLStnBMnLj93TmibG wDepLbdqQnL4fgrmoVm+/pWuRMHJRHFIBc55/N0Su1ynW5iP9iPpDT5UojgTyQ== 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=1712509142; 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=CL/meVK3J9U4YXmK/yKJF5PjqzSj0Ot0FCuAyoXIiJc=; b=h09OkYEafoeMq3Vb2upxF+rvaPmN/FW+5jTdYh/e1QJA/tLxfIsJUL0nLpmi2VCT/CScLF v5BWuJmQzfPn5VvH+VYwiN+peCgeYZH3uNBuMAJVfE1VawKZ4lsQ3+oQ0cI5KoL/UhZvJe KsIalokQdGVjQNao7LoT9wzINX4GC25j5O5+IGCCIpw8DLniNLZcz9/QAkQgtrH4WyahqQ 4tH+BvkNYeu37Ym+81R0Ppv9jgW4Ipijo0RW6LaBtvhh7Pf+FL/NWfQeuzr0xpuoPfsFbL tm9wwFBHhyx5JQqZGpGl6nXpzf0rWAyEYLG55dtsvoIOpZbvJShjSo0v+BTSFw== 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 4VCJN62H5Zzc2X; Sun, 7 Apr 2024 16:59: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 437Gx2Ge026002; Sun, 7 Apr 2024 16:59:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 437Gx21m025999; Sun, 7 Apr 2024 16:59:02 GMT (envelope-from git) Date: Sun, 7 Apr 2024 16:59:02 GMT Message-Id: <202404071659.437Gx21m025999@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: 9031978083ce - stable/13 - rights.4: add note about rights not being simple bitmasks 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/13 X-Git-Reftype: branch X-Git-Commit: 9031978083ce158f54fb5dadc0e1c683bbad762b Auto-Submitted: auto-generated The branch stable/13 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=9031978083ce158f54fb5dadc0e1c683bbad762b commit 9031978083ce158f54fb5dadc0e1c683bbad762b Author: Ed Maste AuthorDate: 2024-03-22 13:47:57 +0000 Commit: Ed Maste CommitDate: 2024-04-07 16:58:50 +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 (cherry picked from commit 537bdafbc25d39b4bb3dce124691913f86c08288) (cherry picked from commit 6ac10e8a72a730e9078738e317f5c3e2475bd7bd) --- 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