projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31b3efb
)
sys/inotify.h: add IN_MASK_CREATE from linux v4.19
author
Szabolcs Nagy
<nsz@port70.net>
Sat, 10 Nov 2018 19:25:28 +0000
(19:25 +0000)
committer
Rich Felker
<dalias@aerifal.cx>
Wed, 13 Mar 2019 16:29:27 +0000
(12:29 -0400)
inotify_add_watch flag to prevent modifying existing watch descriptors,
when used on an already watched inode it fails with EEXIST.
added in linux commit
4d97f7d53da7dc830dbf416a3d2a6778d267ae68
include/sys/inotify.h
patch
|
blob
|
history
diff --git
a/include/sys/inotify.h
b/include/sys/inotify.h
index 46638cac9d4b4012deba5f526f238f92123bd19f..69b5863199228bb8d2a14cbf0a73dd2181fbeba7 100644
(file)
--- a/
include/sys/inotify.h
+++ b/
include/sys/inotify.h
@@
-40,6
+40,7
@@
struct inotify_event {
#define IN_ONLYDIR 0x01000000
#define IN_DONT_FOLLOW 0x02000000
#define IN_EXCL_UNLINK 0x04000000
+#define IN_MASK_CREATE 0x10000000
#define IN_MASK_ADD 0x20000000
#define IN_ISDIR 0x40000000