diff options
author | Bruno Haible <bruno@clisp.org> | 2008-06-08 19:08:22 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2008-06-08 19:08:22 +0200 |
commit | 7e766e7fc7aecffc5b37f4b799921de254a8450d (patch) | |
tree | 28fa8a9d27fa27823f021577120f91339d7e2da9 /lib/acl-internal.h | |
parent | c3dcd03b1c12d7a7e80e573dd09168feb469b1e2 (diff) | |
download | gnulib-7e766e7fc7aecffc5b37f4b799921de254a8450d.tar.gz |
Add support for HP-UX ACLs.
Diffstat (limited to 'lib/acl-internal.h')
-rw-r--r-- | lib/acl-internal.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/acl-internal.h b/lib/acl-internal.h index f629eeb1f1..af7396e92a 100644 --- a/lib/acl-internal.h +++ b/lib/acl-internal.h @@ -179,6 +179,12 @@ extern int acl_nontrivial (int count, aclent_t *entries); extern int acl_ace_nontrivial (int count, ace_t *entries); # endif +# elif HAVE_GETACL /* HP-UX */ + +/* 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 (int count, struct acl_entry *entries, struct stat *sb); + # endif #endif |