2001-05-14 00:52:33 +02:00
|
|
|
|
.\"-
|
|
|
|
|
.\" Copyright (c) 1999 Robert N. M. Watson
|
|
|
|
|
.\" All rights reserved.
|
|
|
|
|
.\"
|
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
|
.\" are met:
|
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
|
|
|
.\"
|
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
|
|
|
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
|
|
|
|
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
|
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
|
|
|
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
|
|
|
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
|
|
|
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
|
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
|
|
|
.\" SUCH DAMAGE.
|
|
|
|
|
.\"
|
2003-11-21 04:03:11 +01:00
|
|
|
|
.\" %FreeBSD: src/share/man/man9/VOP_ACLCHECK.9,v 1.11 2003/10/23 02:11:14 hmp Exp %
|
2001-05-14 00:52:33 +02:00
|
|
|
|
.\"
|
2001-12-23 01:24:24 +01:00
|
|
|
|
.\" $FreeBSD$
|
2001-05-14 00:52:33 +02:00
|
|
|
|
.Dd December 23, 1999
|
|
|
|
|
.Os
|
|
|
|
|
.Dt VOP_ACLCHECK 9
|
|
|
|
|
.Sh ̾<EFBFBD><EFBFBD>
|
|
|
|
|
.Nm VOP_ACLCHECK
|
|
|
|
|
.Nd vnode <EFBFBD>Υ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ꥹ<EFBFBD>Ȥ<EFBFBD>Ĵ<EFBFBD><EFBFBD>
|
|
|
|
|
.Sh <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
2001-12-23 01:24:24 +01:00
|
|
|
|
.In sys/param.h
|
|
|
|
|
.In sys/vnode.h
|
|
|
|
|
.In sys/acl.h
|
2001-05-14 00:52:33 +02:00
|
|
|
|
.Ft int
|
2002-11-18 06:36:49 +01:00
|
|
|
|
.Fn VOP_ACLCHECK "struct vnode *vp" "acl_type_t type" "struct acl *aclp" "struct ucred *cred" "struct thread *td"
|
2001-05-14 00:52:33 +02:00
|
|
|
|
.Sh <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD> vnode <20>ƤӽФ<D3BD><D0A4>ϡ<EFBFBD><CFA1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Υե<CEA5><D5A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><DEA4>ϥǥ<CFA5><C7A5>쥯<EFBFBD>ȥ<EFBFBD><C8A5><EFBFBD><EFBFBD>Ф<EFBFBD><D0A4><EFBFBD>
|
|
|
|
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Υ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ꥹ<EFBFBD><EFBFBD> (ACL) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ꤹ<EFBFBD>뤿<EFBFBD><EBA4BF><EFBFBD>ˡ<EFBFBD><CBA1><EFBFBD><EFBFBD>Ѳ<EFBFBD>ǽ<EFBFBD>Ǥ<EFBFBD><C7A4><EFBFBD>
|
|
|
|
|
.Pp
|
|
|
|
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϰʲ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>̤<EFBFBD><EFBFBD>Ǥ<EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.Bl -tag -width type
|
2003-07-17 08:02:30 +02:00
|
|
|
|
.It Fa vp
|
2001-05-14 00:52:33 +02:00
|
|
|
|
<EFBFBD>ե<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD>ϥǥ<EFBFBD><EFBFBD>쥯<EFBFBD>ȥ<EFBFBD><EFBFBD><EFBFBD> vnode<64><65>
|
2003-07-17 08:02:30 +02:00
|
|
|
|
.It Fa type
|
2001-05-14 00:52:33 +02:00
|
|
|
|
Ĵ<EFBFBD><EFBFBD><EFBFBD>оݤ<EFBFBD> ACL <20>η<EFBFBD><CEB7><EFBFBD>
|
2003-07-17 08:02:30 +02:00
|
|
|
|
.It Fa aclp
|
2001-05-14 00:52:33 +02:00
|
|
|
|
ACL <20>ǡ<EFBFBD><C7A1><EFBFBD><EFBFBD>μ<EFBFBD><CEBC><EFBFBD><EFBFBD>Ф<EFBFBD><D0A4><EFBFBD><EFBFBD><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