git: 4c9c0b640bde - main - vfs: fix vaccess prototype in the manpage
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 23 Aug 2022 21:02:09 UTC
The branch main has been updated by mjg:
URL: https://cgit.FreeBSD.org/src/commit/?id=4c9c0b640bde3586bcfe7e9e0fee64893a83aa3c
commit 4c9c0b640bde3586bcfe7e9e0fee64893a83aa3c
Author: Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2022-08-23 20:59:20 +0000
Commit: Mateusz Guzik <mjg@FreeBSD.org>
CommitDate: 2022-08-23 21:01:55 +0000
vfs: fix vaccess prototype in the manpage
Reported by: des
---
share/man/man9/vaccess.9 | 19 ++++---------------
1 file changed, 4 insertions(+), 15 deletions(-)
diff --git a/share/man/man9/vaccess.9 b/share/man/man9/vaccess.9
index 4bf377406903..85ee4cbdd692 100644
--- a/share/man/man9/vaccess.9
+++ b/share/man/man9/vaccess.9
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd September 18, 2009
+.Dd August 23, 2022
.Dt VACCESS 9
.Os
.Sh NAME
@@ -42,7 +42,6 @@
.Fa "gid_t file_gid"
.Fa "accmode_t accmode"
.Fa "struct ucred *cred"
-.Fa "int *privused"
.Fc
.Sh DESCRIPTION
This call implements the logic for the
@@ -59,19 +58,9 @@ owning UID
owning GID
.Fa file_gid ,
desired access mode
-.Fa accmode ,
-requesting credential
-.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.
+.Fa accmode
+and requesting credential
+.Fa cred .
.Pp
This call is intended to support implementations of
.Xr VOP_ACCESS 9 ,