From 4c9c0b640bde3586bcfe7e9e0fee64893a83aa3c Mon Sep 17 00:00:00 2001 From: Mateusz Guzik Date: Tue, 23 Aug 2022 20:59:20 +0000 Subject: [PATCH] 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 ,