]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/sys/xattr.h
xnu-1504.9.37.tar.gz
[apple/xnu.git] / bsd / sys / xattr.h
index 67a04dab9bc0f1a866b2ecc6de6c61b713e328c3..c9ecf4275713e8ac6bd5da0c72a5fc40381bf07c 100644 (file)
 /* Set this to bypass authorization checking (eg. if doing auth-related work) */
 #define XATTR_NOSECURITY 0x0008
 
+/* Set this to bypass the default extended attribute file (dot-underscore file) */
+#define XATTR_NODEFAULT  0x0010
+
+/* option for f/getxattr() and f/listxattr() to expose the HFS Compression extended attributes */
+#define XATTR_SHOWCOMPRESSION 0x0020
+
 #define        XATTR_MAXNAMELEN   127
 
 #define        XATTR_FINDERINFO_NAME     "com.apple.FinderInfo"
@@ -52,6 +58,8 @@
 __BEGIN_DECLS
 int  xattr_protected(const char *);
 int  xattr_validatename(const char *);
+
+#define XATTR_MAXSIZE  (64 * 1024 * 1024)
 __END_DECLS
 #endif /* KERNEL */