Update priv(9) after r341827

Reported by:	trasz
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Mateusz Guzik 2018-12-19 20:25:58 +00:00
parent 377328701d
commit 1ea91370ae

View File

@ -28,7 +28,7 @@
.\"
.\" $FreeBSD$
.\"
.Dd August 30, 2006
.Dd December 19, 2018
.Dt PRIV 9
.Os
.Sh NAME
@ -39,7 +39,7 @@
.Ft int
.Fn priv_check "struct thread *td" "int priv"
.Ft int
.Fn priv_check_cred "struct ucred *cred" "int priv" "int flags"
.Fn priv_check_cred "struct ucred *cred" "int priv"
.Sh DESCRIPTION
The
.Nm
@ -57,9 +57,6 @@ policy or access control list.
The caller identifies the desired privilege via the
.Fa priv
argument.
The optional flags argument,
.Fa flags ,
is currently unused.
.Ss Privilege Policies
Privileges are typically granted based on one of two base system policies:
the superuser policy, which grants privilege based on the effective (or