1.\"- 2.\" Copyright (c) 2001 Robert N. M. Watson 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24.\" SUCH DAMAGE. 25.\" |
26.\" $FreeBSD: head/share/man/man9/vaccess.9 107788 2002-12-12 17:26:04Z ru $ |
27.\" 28.Dd August 22, 2001 29.Os 30.Dt VACCESS 9 31.Sh NAME 32.Nm vaccess 33.Nd generate an access control decision using vnode parameters 34.Sh SYNOPSIS --- 8 unchanged lines hidden (view full) --- 43.Fa "mode_t acc_mode" 44.Fa "struct ucred *cred" 45.Fa "int *privused" 46.Fc 47.Sh DESCRIPTION 48This call implements the logic for the 49.Ux 50discretionary file security model |
51common to many file systems in |
52.Fx . 53It accepts the vnodes type 54.Fa type , 55permissions via 56.Fa file_mode , 57owning UID 58.Fa file_uid , 59owning GID --- 68 unchanged lines hidden --- |