]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/sys/attr.h
xnu-1504.9.17.tar.gz
[apple/xnu.git] / bsd / sys / attr.h
index 487696334e060dc49916cb77502da3857a8ac21e..5f85717d7973ed5611bb850b601da0ee2d41246e 100644 (file)
@@ -394,9 +394,11 @@ typedef struct vol_attributes_attr {
 #define ATTR_FILE_DATAALLOCSIZE                        0x00000400
 #define ATTR_FILE_RSRCLENGTH                   0x00001000
 #define ATTR_FILE_RSRCALLOCSIZE                        0x00002000
+/* Only used when CONFIG_PROTECT is ON */
+#define ATTR_FILE_PROTECTION_CLASS                     0x00004000
 
-#define ATTR_FILE_VALIDMASK                    0x000037FF
-#define ATTR_FILE_SETMASK                      0x00000020
+#define ATTR_FILE_VALIDMASK                    0x000077FF
+#define ATTR_FILE_SETMASK                      0x00004020
 
 #define ATTR_FORK_TOTALSIZE                    0x00000001
 #define ATTR_FORK_ALLOCSIZE                    0x00000002