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/>.
31 Linux Access Control Lists library (libacl, \-lacl).
36 .Fn acl_valid "acl_t acl"
40 function checks the ACL referred to by the argument
44 The three required entries ACL_USER_OBJ, ACL_GROUP_OBJ, and ACL_OTHER
45 must exist exactly once in the ACL. If the ACL contains any ACL_USER or
46 ACL_GROUP entries, then an ACL_MASK entry is also required. The ACL
47 may contain at most one ACL_MASK entry.
49 The user identifiers must be unique among all entries of type ACL_USER.
50 The group identifiers must be unique among all entries of type ACL_GROUP.
54 If any of the following conditions occur, the
60 to the corresponding value:
65 is not a valid pointer to an ACL.
69 does not point to a valid ACL.
71 One or more of the required ACL entries is not present in
74 The ACL contains entries that are not unique.
77 IEEE Std 1003.1e draft 17 (\(lqPOSIX.1e\(rq, abandoned)
83 Derived from the FreeBSD manual pages written by
84 .An "Robert N M Watson" Aq rwatson@FreeBSD.org ,
85 and adapted for Linux by
86 .An "Andreas Gruenbacher" Aq a.gruenbacher@bestbits.at .