#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