1 .\" Access Control Lists manual pages
3 .\" (C) 2002 Andreas Gruenbacher, <a.gruenbacher@bestbits.at>
5 .\" This is free documentation; you can redistribute it and/or
6 .\" modify it under the terms of the GNU General Public License as
7 .\" published by the Free Software Foundation; either version 2 of
8 .\" the License, or (at your option) any later version.
10 .\" The GNU General Public License's references to "object code"
11 .\" and "executables" are to be interpreted as the output of any
12 .\" document formatting or typesetting system, including
13 .\" intermediate and printed output.
15 .\" This manual is distributed in the hope that it will be useful,
16 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
17 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 .\" GNU General Public License for more details.
20 .\" You should have received a copy of the GNU General Public
21 .\" License along with this manual. If not, see
22 .\" <http://www.gnu.org/licenses/>.
29 .Nd test for information in the ACL by file descriptor
31 Linux Access Control Lists library (libacl, \-lacl).
36 .Fn acl_extended_fd "int fd"
42 if the file identified by the argument
44 is associated with an extended access ACL. The function returns
46 if the file does not have an extended access ACL.
48 An extended ACL is an ACL that contains entries other than the three
49 required entries of tag types ACL_USER_OBJ, ACL_GROUP_OBJ and ACL_OTHER.
52 function for a file object is
54 then the ACL defines no discretionary access rights other than those
55 already defined by the traditional file permission bits.
57 Access to the file object may be further restricted by other
58 mechanisms, such as Mandatory Access Control schemes. The
60 system call can be used to check whether a given type of access to a file
61 object would be granted.
67 if the file object identified by
69 has an extended access ACL, and
71 if the file object identified by
73 does not have an extended access ACL. Otherwise, the value
75 is returned and the global variable
77 is set to indicate the error.
79 If any of the following conditions occur, the
85 to the corresponding value:
90 argument is not a valid file descriptor.
92 The file system on which the file identified by
94 is located does not support ACLs, or ACLs are disabled.
97 This is a non-portable, Linux specific extension to the ACL manipulation
98 functions defined in IEEE Std 1003.1e draft 17 (\(lqPOSIX.1e\(rq, abandoned).
105 .An "Andreas Gruenbacher" Aq a.gruenbacher@bestbits.at .