summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authordzwdz2022-08-12 00:30:14 +0200
committerdzwdz2022-08-12 00:30:14 +0200
commit215aa95c8d8c85985c1dcc5a994ad164823b39e6 (patch)
treea8346262dea6d5d32b552c8ccf407256d370e086 /src/shared
parentd170ceb6c9f26f222558012ccbb75614ec2a6b8f (diff)
vfs: OPEN_RO flag, read-only whitelist entries
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/include/camellia/errno.h1
-rw-r--r--src/shared/include/camellia/flags.h1
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