From nobody Sun Apr 07 16:34:41 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 4VCHr1409Tz5H6DN; Sun, 7 Apr 2024 16:34:41 +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 4VCHr11XQzz4Jky; Sun, 7 Apr 2024 16:34:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712507681; 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=mC4BkJePOnETBZWT3Jpy1Opl820if8/+ue6YAupkGk0=; b=xE2fihupmg5RDwo/yIh0P9f+08YPxtp4T89N+rbX2+P/mjLK6PNGv5HKYDlGV4Gk1SXHC+ mVslwbt8Mq6I6KQqcGupZKhbdwovcuXrmG0P1cj9Rnc/vtIeXFVD0JbGlHQ7h/7TowBJuK df868bDyBcbzOAzNX721kP4oYhugbW1EcdttLIbKc9c2I3pU8ATJQ15JiwcZB1y8RnTOrt 6NDsFa3cnzR3xhiDOrWK/LSdoUlSJ0h5BI2W33/SEMkWj9FnxNSZoTiaAec2JaYq3oSNlQ HTgb9EA+UnKe/2UF5xUa3KTBhb2ukGWkIrHF7h46TloUWhMdOiegLA2UO6K76w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712507681; a=rsa-sha256; cv=none; b=ADMbLANkVJQP9yiUO/ViqavcWZnvCNwtmLm0EwUFLY5PLVdFUJpUNTHbEmMB+HjV6qctXD lgGQVh6gS8BudjtNp0S6nbzKhED96CpmuOAKScqnFWAf/J8Cf8RA7JN3H5b1tYmqa79JxY cEXniBM4viJUCvr5brtAJI06mhiY0PWkQSHrtXJj50yGhbfSVs/bSry3CEzi/7BoMZiasp OlBb0tYe5lldxDCOR53U2poQvtCBtj/+mqLFlR3f+P/uDaCW74r2/IIlMIeQtQceNTKRDf nbSU20OhoFfLJr+Xy/WGPCntnZptLZ4uTqguV28Y1PeeF+nAEUPKKCmkw983fQ== 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=1712507681; 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=mC4BkJePOnETBZWT3Jpy1Opl820if8/+ue6YAupkGk0=; b=YW8sdR2bMXokJhQLGeBXjm7RoHGkU560qS2yc4fPDUWTNRPlL4NgxCgC19Nz9LUEiUtVeU acIWNAS2vKwi36AwIh+xqPdrv1wm/4HKFrTJUPCXkgK7yZuzZxuwCsXKrYLg1MYSgXcm3B 7JM7WSL8wVY3tHseJ2PYPL7YBlwShiC4bEKsfCZNBO3rcIBqgtcQ7Y6suySDBF7L36tTV7 3R5RDfbA4IlF2M8KDGZc2fIw9MU8PQxflt8OTaEQ3msbsRr/LXb74qdKQFW09djYYc1y3Q icW9wPi+ha40COKrOtaWrsrnzkXeHXoiqpAMLn/H9C5d/sb31zJxL8beY25Eag== 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 4VCHr117w7zbGV; Sun, 7 Apr 2024 16:34:41 +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 437GYf3p092109; Sun, 7 Apr 2024 16:34:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 437GYfas092106; Sun, 7 Apr 2024 16:34:41 GMT (envelope-from git) Date: Sun, 7 Apr 2024 16:34:41 GMT Message-Id: <202404071634.437GYfas092106@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: 6ac10e8a72a7 - stable/14 - 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/14 X-Git-Reftype: branch X-Git-Commit: 6ac10e8a72a730e9078738e317f5c3e2475bd7bd Auto-Submitted: auto-generated The branch stable/14 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=6ac10e8a72a730e9078738e317f5c3e2475bd7bd commit 6ac10e8a72a730e9078738e317f5c3e2475bd7bd Author: Ed Maste AuthorDate: 2024-03-22 13:47:57 +0000 Commit: Ed Maste CommitDate: 2024-04-07 16:34:04 +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) --- 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