summaryrefslogtreecommitdiffstats
path: root/bin/setfacl/setfacl.h
diff options
context:
space:
mode:
authorjedgar <jedgar@FreeBSD.org>2001-12-03 01:20:52 +0000
committerjedgar <jedgar@FreeBSD.org>2001-12-03 01:20:52 +0000
commit38cc4cae2f21652f33602bd0b8435f6de13e21ff (patch)
treea0dcb32e4ca7de10c55c8ddcb63dfe12fc66f764 /bin/setfacl/setfacl.h
parent518bba4cc16c1c16dee2f3eed6cca94a1756705b (diff)
downloadFreeBSD-src-38cc4cae2f21652f33602bd0b8435f6de13e21ff.zip
FreeBSD-src-38cc4cae2f21652f33602bd0b8435f6de13e21ff.tar.gz
Add defines for access and default ACLs (ACCESS_ACL/DEFAULT_ACL)
to enhance readability. Obtained from: TrustedBSD Project
Diffstat (limited to 'bin/setfacl/setfacl.h')
-rw-r--r--bin/setfacl/setfacl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/setfacl/setfacl.h b/bin/setfacl/setfacl.h
index d3c7923..022a4a34 100644
--- a/bin/setfacl/setfacl.h
+++ b/bin/setfacl/setfacl.h
@@ -39,6 +39,10 @@
#define OP_REMOVE_EXT 0x02 /* remove extended acl's (-b) */
#define OP_REMOVE_ACL 0x03 /* remove acl's (-xX) */
+/* ACL types for the acl array */
+#define ACCESS_ACL 0
+#define DEFAULT_ACL 1
+
/* TAILQ entry for acl operations */
struct sf_entry {
uint op;
OpenPOWER on IntegriCloud