mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 04:43:53 +00:00
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
This commit is contained in:
parent
da2d6e2815
commit
537bdafbc2
|
@ -30,7 +30,7 @@
|
||||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
.\" SUCH DAMAGE.
|
.\" SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.Dd February 28, 2019
|
.Dd March 22, 2024
|
||||||
.Dt RIGHTS 4
|
.Dt RIGHTS 4
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
|
@ -68,6 +68,12 @@ The
|
||||||
.Xr cap_rights_init 3
|
.Xr cap_rights_init 3
|
||||||
family of functions should be used to manage the structure.
|
family of functions should be used to manage the structure.
|
||||||
.Sh RIGHTS
|
.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
|
.Bl -tag -width CAP_RENAMEAT_SOURCE
|
||||||
.It Dv CAP_ACCEPT
|
.It Dv CAP_ACCEPT
|
||||||
Permit
|
Permit
|
||||||
|
|
Loading…
Reference in a new issue