X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/e2fac8b15b12a7979f72090454d850e612fc5b13..b0d623f7f2ae71ed96e60569f61f9a9a27016e80:/bsd/sys/xattr.h diff --git a/bsd/sys/xattr.h b/bsd/sys/xattr.h index 01f9c71e0..c9ecf4275 100644 --- a/bsd/sys/xattr.h +++ b/bsd/sys/xattr.h @@ -44,6 +44,9 @@ /* 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" @@ -55,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 */