1 .\" Access Control Lists manual pages
3 .\" (C) 2002 Andreas Gruenbacher, <a.gruenbacher@bestbits.at>
5 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
6 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
7 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
8 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
9 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
10 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
11 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
12 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
13 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
14 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
22 .Nd test for information in the ACL by file descriptor
24 Linux Access Control Lists library (libacl, \-lacl).
29 .Fn acl_extended_fd "int fd"
35 if the file identified by the argument
37 is associated with an extended access ACL. The function returns
39 if the file does not have an extended access ACL.
41 An extended ACL is an ACL that contains entries other than the three
42 required entries of tag types ACL_USER_OBJ, ACL_GROUP_OBJ and ACL_OTHER.
45 function for a file object is
47 then the ACL defines no discretionary access rights other than those
48 already defined by the traditional file permission bits.
50 Access to the file object may be further restricted by other
51 mechanisms, such as Mandatory Access Control schemes. The
53 system call can be used to check whether a given type of access to a file
54 object would be granted.
60 if the file object identified by
62 has an extended access ACL, and
64 if the file object identified by
66 does not have an extended access ACL. Otherwise, the value
68 is returned and the global variable
70 is set to indicate the error.
72 If any of the following conditions occur, the
78 to the corresponding value:
83 argument is not a valid file descriptor.
85 The file system on which the file identified by
87 is located does not support ACLs, or ACLs are disabled.
90 This is a non-portable, Linux specific extension to the ACL manipulation
91 functions defined in IEEE Std 1003.1e draft 17 (\(lqPOSIX.1e\(rq, abandoned).
98 .An "Andreas Gruenbacher" Aq a.gruenbacher@bestbits.at .