From 7e766e7fc7aecffc5b37f4b799921de254a8450d Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 8 Jun 2008 19:08:22 +0200 Subject: Add support for HP-UX ACLs. --- lib/acl-internal.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/acl-internal.h') 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 -- cgit v1.2.1