summaryrefslogtreecommitdiff
path: root/lib/acl-internal.h
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2008-06-08 20:33:08 +0200
committerBruno Haible <bruno@clisp.org>2008-06-08 20:33:08 +0200
commit3f5a64015c34e525c73ccda17d5e300c58ee7505 (patch)
treeadf58cb48b17fd3e0078534647364ba585e3db15 /lib/acl-internal.h
parent7e766e7fc7aecffc5b37f4b799921de254a8450d (diff)
downloadgnulib-3f5a64015c34e525c73ccda17d5e300c58ee7505.tar.gz
Add support for AIX ACLs.
Diffstat (limited to 'lib/acl-internal.h')
-rw-r--r--lib/acl-internal.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/acl-internal.h b/lib/acl-internal.h
index af7396e92a..74d67aeb8c 100644
--- a/lib/acl-internal.h
+++ b/lib/acl-internal.h
@@ -185,6 +185,16 @@ extern int acl_ace_nontrivial (int count, ace_t *entries);
Return 0 if it is trivial, i.e. equivalent to a simple stat() mode. */
extern int acl_nontrivial (int count, struct acl_entry *entries, struct stat *sb);
+# elif HAVE_ACLX_GET && 0 /* AIX */
+
+/* TODO */
+
+# elif HAVE_STATACL /* older AIX */
+
+/* Return 1 if the given ACL is non-trivial.
+ Return 0 if it is trivial, i.e. equivalent to a simple stat() mode. */
+extern int acl_nontrivial (struct acl *a);
+
# endif
#endif