aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/sys.txt
diff options
context:
space:
mode:
authorDenis Efremov <efremov@linux.com>2021-09-27 19:08:24 +0300
committerAleksandr Nogikh <wp32pw@gmail.com>2021-09-28 14:43:34 +0200
commitd82cb92782c3ba0f68f7393b069afb07adfbc585 (patch)
tree99da89afe842a0a3281b7cb7c19939fd3303a0f8 /sys/linux/sys.txt
parent6b6e15b0ff6d7ddfc1c029250f1fb8fcc2d4a204 (diff)
sys/linux: remove O_RDONLY from fanotify_events
O_RDONLY is not really a flag. Not providing O_WRONLY means O_RDONLY. Signed-off-by: Denis Efremov <efremov@linux.com>
Diffstat (limited to 'sys/linux/sys.txt')
-rw-r--r--sys/linux/sys.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/linux/sys.txt b/sys/linux/sys.txt
index 0fa9ec08b..6df237ea9 100644
--- a/sys/linux/sys.txt
+++ b/sys/linux/sys.txt
@@ -1193,6 +1193,7 @@ open_how {
resolve flags[resolve_flags, int64]
}
+# Not providing O_WRONLY means O_RDONLY.
open_flags = O_WRONLY, O_RDWR, O_APPEND, FASYNC, O_CLOEXEC, O_CREAT, O_DIRECT, O_DIRECTORY, O_EXCL, O_LARGEFILE, O_NOATIME, O_NOCTTY, O_NOFOLLOW, O_NONBLOCK, O_PATH, O_SYNC, O_TRUNC, __O_TMPFILE
open_mode = S_IRUSR, S_IWUSR, S_IXUSR, S_IRGRP, S_IWGRP, S_IXGRP, S_IROTH, S_IWOTH, S_IXOTH
resolve_flags = RESOLVE_BENEATH, RESOLVE_IN_ROOT, RESOLVE_NO_MAGICLINKS, RESOLVE_NO_SYMLINKS, RESOLVE_NO_XDEV