summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2020-07-13 19:38:27 +0000
committerRich Felker <dalias@aerifal.cx>2020-09-09 17:20:49 -0400
commit8adf42f7c13c2c569b35521db2615844ddd5a4a9 (patch)
tree17096e4fe9d7e446e81f12eda52ec02db42c2876 /include
parent94ab68c24cbd249103a3dd8b41b18170833ec59d (diff)
downloadmusl-8adf42f7c13c2c569b35521db2615844ddd5a4a9.tar.gz
sys/fanotify.h: update to linux v5.7
see linux commit 9e2ba2c34f1922ca1e0c7d31b30ace5842c2e7d1 fanotify: send FAN_DIR_MODIFY event flavor with dir inode and name linux commit 44d705b0370b1d581f46ff23e5d33e8b5ff8ec58 fanotify: report name info for FAN_DIR_MODIFY event
Diffstat (limited to 'include')
-rw-r--r--include/sys/fanotify.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/sys/fanotify.h b/include/sys/fanotify.h
index b637c8f5..75766790 100644
--- a/include/sys/fanotify.h
+++ b/include/sys/fanotify.h
@@ -55,8 +55,9 @@ struct fanotify_response {
#define FAN_OPEN_PERM 0x10000
#define FAN_ACCESS_PERM 0x20000
#define FAN_OPEN_EXEC_PERM 0x40000
-#define FAN_ONDIR 0x40000000
+#define FAN_DIR_MODIFY 0x00080000
#define FAN_EVENT_ON_CHILD 0x08000000
+#define FAN_ONDIR 0x40000000
#define FAN_CLOSE (FAN_CLOSE_WRITE | FAN_CLOSE_NOWRITE)
#define FAN_MOVE (FAN_MOVED_FROM | FAN_MOVED_TO)
#define FAN_CLOEXEC 0x01
@@ -88,6 +89,7 @@ struct fanotify_response {
#define FAN_ALL_OUTGOING_EVENTS (FAN_ALL_EVENTS | FAN_ALL_PERM_EVENTS | FAN_Q_OVERFLOW)
#define FANOTIFY_METADATA_VERSION 3
#define FAN_EVENT_INFO_TYPE_FID 1
+#define FAN_EVENT_INFO_TYPE_DFID_NAME 2
#define FAN_ALLOW 0x01
#define FAN_DENY 0x02
#define FAN_AUDIT 0x10