From nobody Tue Aug 23 21:02:09 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MC1rK4LXRz4ZH7n; Tue, 23 Aug 2022 21:02:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MC1rK3h3Dz3cf9; Tue, 23 Aug 2022 21:02:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661288529; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=YczUrebyOHGBmS0jBpdlBHRikV5uv5Op7t37nA2+GvY=; b=sgS1ceBrROeODYEC08tq2GkiYeoBULIea676gvBw5zesWvketLOKLVk1jUDxhBrcnQ2Zpr H0QlW8wPReRkUM2tbiH6EAbzgyYexywKqUYh3qPseSMwTVY+CNA1VcAcsDd1g9qhk2S/MI FT4YLb1mHAaOm+2rwzdaIzsCwfYT4117x+ilWU9yi+5XB9HT2Rkt1t09Pxy9n8aHySSXzN xrYx50VSSa2RZ5MyGLQGeDrOMymBuAjFdxu0LwVZzYLn8WFW0Dr96AX0RTCmnhoEQXEB4d SeE0myZJjJ98tnsZFuSK9zU1Ur8CTuc+AOwT8hz2/eHGKay++oXMt2GR2772qA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MC1rK2k9czkQZ; Tue, 23 Aug 2022 21:02:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 27NL29wp076136; Tue, 23 Aug 2022 21:02:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27NL29dX076135; Tue, 23 Aug 2022 21:02:09 GMT (envelope-from git) Date: Tue, 23 Aug 2022 21:02:09 GMT Message-Id: <202208232102.27NL29dX076135@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mateusz Guzik Subject: git: 4c9c0b640bde - main - vfs: fix vaccess prototype in the manpage List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mjg X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4c9c0b640bde3586bcfe7e9e0fee64893a83aa3c Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661288529; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=YczUrebyOHGBmS0jBpdlBHRikV5uv5Op7t37nA2+GvY=; b=LRr4NcNKWmefQ6CKXRD8fFTaYlI1HFM6haxSHxgHkbMJZHKV1+zKaiPgMXCWEzJ4SwVjmg X+gF3NxfRhBmZsU/BE6vV+sYk95b/5SMVHQPvRkvyDimpAlHMQH4g0Ev6R5LCiYmMDu4+K fxeR5/jYE88geEUjxvSik+EZlN7wDWp8BwysF/MPQ8xcrtN5/qLmixhmMkbgKzKibnQupA MCrtNesHeGMHavMJBQf/vusyzjPCE3snKXz3hDogbR6okbv7/JupFX/NmmhPi26/APCfHn mX2iyLLdvy7bIrKB4jrIgEBP50M8MH5nHkrc6TLuoWcQ5vibw5aqzF3QlPgRUw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661288529; a=rsa-sha256; cv=none; b=vOPfhkta01ID4b6Bx/WvFKe4Aaqmk+6xLnvgefGBxb5aWReczfAIduOpQ1ZuY/0i/2W6EJ dIXQBpbuL8nuig4yS27OYmV/jkIIvp/VTnZs3N0GIAWePPqbPa3wuyoIb9DHPec4U8Nefg 1yv3xiyhgwqy3Ooh684wD6wSOoEQr1u42p5BXglRDTtbp9jGgiwQ194FZ1YRi+hTftLFtu YIO5+cMVBAf7WdHjQElxDDIyITqwzKhL3KKp1DnW1X7oHEU0aCztCQrm6GWX4OTOYg2ICv FdujgigZ/DvIrRvjgoESwDPwkXMBb8UBa83vqy7z0Wo9CAH+Ow/aMdHYHb35Jg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=4c9c0b640bde3586bcfe7e9e0fee64893a83aa3c commit 4c9c0b640bde3586bcfe7e9e0fee64893a83aa3c Author: Mateusz Guzik AuthorDate: 2022-08-23 20:59:20 +0000 Commit: Mateusz Guzik 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 ,