Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Feb 2024 15:01:30 GMT
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 2c5ff9118c1e - main - rights.4: Remove sentence implying that rights are a mask
Message-ID:  <202402151501.41FF1UPd011604@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=2c5ff9118c1ed8483a9477db3595b1d154615e2c

commit 2c5ff9118c1ed8483a9477db3595b1d154615e2c
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2024-02-15 14:55:39 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2024-02-15 15:00:52 +0000

    rights.4: Remove sentence implying that rights are a mask
    
    Capability rights passed to cap_rights_* are (now) not simple bitmaks
    and cannot be ORed together in general (although it will work for
    certain subsets of rights).
    
    Remove sentence that implied rights are masks.  We already have the
    sentence "The complete list of capability rights is provided below" so
    listing the rights without an introductory sentence seems fine.
    
    PR:             277057
---
 share/man/man4/rights.4 | 1 -
 1 file changed, 1 deletion(-)

diff --git a/share/man/man4/rights.4 b/share/man/man4/rights.4
index b9fb5e15cf4f..770f9ea5c979 100644
--- a/share/man/man4/rights.4
+++ b/share/man/man4/rights.4
@@ -68,7 +68,6 @@ The
 .Xr cap_rights_init 3
 family of functions should be used to manage the structure.
 .Sh RIGHTS
-The following rights may be specified in a rights mask:
 .Bl -tag -width CAP_RENAMEAT_SOURCE
 .It Dv CAP_ACCEPT
 Permit



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202402151501.41FF1UPd011604>