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 check for an equivalent ACL
31 Linux Access Control Lists library (libacl, \-lacl).
36 .Fn acl_equiv_mode "acl_t acl" "mode_t *mode_p"
40 function checks if the ACL pointed to by the argument
42 contains only the required ACL entries of tag types
43 ACL_USER_OBJ, ACL_GROUP_OBJ, and ACL_OTHER, and contains no
44 permissions other that ACL_READ, ACL_WRITE or ACL_EXECUTE.
45 If the ACL has this form, it can can be fully represented with
46 the traditional file permission bits, and is considered
47 equivalent with the traditional file permission bits.
51 is an equivalent ACL and the pointer
55 the value pointed to by
57 is set to the value that defines the same owner, group and other
58 permissions as contained in
61 On success, this function returns the value
65 is an equivalent ACL, and the value
69 is not an equivalent ACL. On error, the value
75 If any of the following conditions occur, the
77 function returns the value
81 to the corresponding value:
86 is not a valid pointer to an ACL.
89 This is a non-portable, Linux specific extension to the ACL manipulation
90 functions defined in IEEE Std 1003.1e draft 17 (\(lqPOSIX.1e\(rq, abandoned).
96 .An "Andreas Gruenbacher" Aq a.gruenbacher@bestbits.at .