vaccess.9 (88509) | vaccess.9 (89124) |
---|---|
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.\" | 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 88509 2001-12-26 23:14:04Z davidc $ | 26.\" $FreeBSD: head/share/man/man9/vaccess.9 89124 2002-01-09 11:43:48Z mpp $ |
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 --- 35 unchanged lines hidden (view full) --- 70pointer may be set to 71.Dv NULL 72by the caller in order not to be informed of 73privilege information, or it may point to an integer that will be set to 741 if privilege is used, and 0 otherwise. 75.Pp 76This call is intended to support implementations of 77.Xr VOP_ACCESS 9 , | 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 --- 35 unchanged lines hidden (view full) --- 70pointer may be set to 71.Dv NULL 72by the caller in order not to be informed of 73privilege information, or it may point to an integer that will be set to 741 if privilege is used, and 0 otherwise. 75.Pp 76This call is intended to support implementations of 77.Xr VOP_ACCESS 9 , |
78which will use their own accessor methods to retrieve the vnode properties, | 78which will use their own access methods to retrieve the vnode properties, |
79and then invoke 80.Fn vaccess 81in order to perform the actual check. 82Implementations of 83.Xr VOP_ACCESS 9 84may choose to implement additional security mechanisms whose results will 85be composed with the return value. 86.Pp --- 41 unchanged lines hidden --- | 79and then invoke 80.Fn vaccess 81in order to perform the actual check. 82Implementations of 83.Xr VOP_ACCESS 9 84may choose to implement additional security mechanisms whose results will 85be composed with the return value. 86.Pp --- 41 unchanged lines hidden --- |