summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
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