]> arthur.barton.de Git - netatalk.git/blobdiff - include/atalk/acl.h
Configurable symlink behaviour
[netatalk.git] / include / atalk / acl.h
index 95aa0753401bb3385013192c3ea620a1fdd327b1..810be707bfec96b9ee2a8366cd1e25b8a83ad28e 100644 (file)
@@ -21,6 +21,8 @@
 
 #ifdef HAVE_ACLS
 
+#define O_NETATALK_ACL (O_NOFOLLOW << 1)
+
 #ifdef HAVE_SOLARIS_ACLS
 #include <sys/acl.h>
 
@@ -51,6 +53,7 @@ extern int remove_acl_vfs(const char *name);
 
 #else /* HAVE_ACLS=no */
 
+#define O_NETATALK_ACL
 #define chmod_acl chmod
 
 #endif /* HAVE_ACLS */