/* 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"
__BEGIN_DECLS
int xattr_protected(const char *);
int xattr_validatename(const char *);
+
+#define XATTR_MAXSIZE (64 * 1024 * 1024)
__END_DECLS
#endif /* KERNEL */