diff options
author | dzwdz | 2022-08-12 00:30:14 +0200 |
---|---|---|
committer | dzwdz | 2022-08-12 00:30:14 +0200 |
commit | 215aa95c8d8c85985c1dcc5a994ad164823b39e6 (patch) | |
tree | a8346262dea6d5d32b552c8ccf407256d370e086 /src/shared | |
parent | d170ceb6c9f26f222558012ccbb75614ec2a6b8f (diff) |
vfs: OPEN_RO flag, read-only whitelist entries
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/include/camellia/errno.h | 1 | ||||
-rw-r--r-- | src/shared/include/camellia/flags.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/include/camellia/errno.h b/src/shared/include/camellia/errno.h index e352015..9d3eddc 100644 --- a/src/shared/include/camellia/errno.h +++ b/src/shared/include/camellia/errno.h @@ -8,3 +8,4 @@ #define ENOMEM 7 #define ENOENT 8 #define ENOTEMPTY 9 +#define EACCES 10 diff --git a/src/shared/include/camellia/flags.h b/src/shared/include/camellia/flags.h index 2a208c3..5b8f834 100644 --- a/src/shared/include/camellia/flags.h +++ b/src/shared/include/camellia/flags.h @@ -9,5 +9,6 @@ #define WRITE_TRUNCATE 1 #define OPEN_CREATE 1 +#define OPEN_RO 2 #define FSR_DELEGATE 1 |