vfs: fix vaccess prototype in the manpage

Reported by:	des
This commit is contained in:
Mateusz Guzik 2022-08-23 20:59:20 +00:00
parent 96d1fbf367
commit 4c9c0b640b

View File

@ -25,7 +25,7 @@
.\" .\"
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd September 18, 2009 .Dd August 23, 2022
.Dt VACCESS 9 .Dt VACCESS 9
.Os .Os
.Sh NAME .Sh NAME
@ -42,7 +42,6 @@
.Fa "gid_t file_gid" .Fa "gid_t file_gid"
.Fa "accmode_t accmode" .Fa "accmode_t accmode"
.Fa "struct ucred *cred" .Fa "struct ucred *cred"
.Fa "int *privused"
.Fc .Fc
.Sh DESCRIPTION .Sh DESCRIPTION
This call implements the logic for the This call implements the logic for the
@ -59,19 +58,9 @@ owning UID
owning GID owning GID
.Fa file_gid , .Fa file_gid ,
desired access mode desired access mode
.Fa accmode , .Fa accmode
requesting credential and requesting credential
.Fa cred , .Fa cred .
and an optional call-by-reference
.Vt int
pointer returning whether or not
privilege was required for successful evaluation of the call; the
.Fa privused
pointer may be set to
.Dv NULL
by the caller in order not to be informed of
privilege information, or it may point to an integer that will be set to
1 if privilege is used, and 0 otherwise.
.Pp .Pp
This call is intended to support implementations of This call is intended to support implementations of
.Xr VOP_ACCESS 9 , .Xr VOP_ACCESS 9 ,