Update priv(9) after r341827
Reported by: trasz Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
377328701d
commit
1ea91370ae
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=342235
@ -28,7 +28,7 @@
|
|||||||
.\"
|
.\"
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd August 30, 2006
|
.Dd December 19, 2018
|
||||||
.Dt PRIV 9
|
.Dt PRIV 9
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -39,7 +39,7 @@
|
|||||||
.Ft int
|
.Ft int
|
||||||
.Fn priv_check "struct thread *td" "int priv"
|
.Fn priv_check "struct thread *td" "int priv"
|
||||||
.Ft int
|
.Ft int
|
||||||
.Fn priv_check_cred "struct ucred *cred" "int priv" "int flags"
|
.Fn priv_check_cred "struct ucred *cred" "int priv"
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
The
|
The
|
||||||
.Nm
|
.Nm
|
||||||
@ -57,9 +57,6 @@ policy or access control list.
|
|||||||
The caller identifies the desired privilege via the
|
The caller identifies the desired privilege via the
|
||||||
.Fa priv
|
.Fa priv
|
||||||
argument.
|
argument.
|
||||||
The optional flags argument,
|
|
||||||
.Fa flags ,
|
|
||||||
is currently unused.
|
|
||||||
.Ss Privilege Policies
|
.Ss Privilege Policies
|
||||||
Privileges are typically granted based on one of two base system policies:
|
Privileges are typically granted based on one of two base system policies:
|
||||||
the superuser policy, which grants privilege based on the effective (or
|
the superuser policy, which grants privilege based on the effective (or
|
||||||
|
Loading…
Reference in New Issue
Block a user