diff --git a/src/fs/file.h b/src/fs/file.h index 97eec9f..1cb605d 100644 --- a/src/fs/file.h +++ b/src/fs/file.h @@ -55,6 +55,13 @@ #define ACL_OP_UPDATE_ERASE 0x05 #define ACL_OP_READ_SEARCH 0x06 +#define ACL_NONE { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff } +#define ACL_ALL { 0 } +#define ACL_RO { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00 } +#define ACL_RW { 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00 } +#define ACL_R_WP { 0xff, 0xff, 0xff, 0xff, 0x90, 0x90, 0x00 } +#define ACL_WP { 0xff, 0xff, 0xff, 0xff, 0x90, 0x90, 0xff } + #define SPECIFY_EF 0x1 #define SPECIFY_DF 0x2 #define SPECIFY_ANY 0x3