Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Mar 2024 14:03:02 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: 537bdafbc25d - main - rights.4: add note about rights not being simple bitmasks
Message-ID:  <202403221403.42ME321g055330@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=537bdafbc25d39b4bb3dce124691913f86c08288

commit 537bdafbc25d39b4bb3dce124691913f86c08288
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2024-03-22 13:47:57 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
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



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