On Thu 17-03-22 16:34:43, Jan Kara wrote: > On Mon 07-03-22 17:57:40, Amir Goldstein wrote: > > Similar to inotify's IN_MARK_CREATE, adding an fanotify mark with flag > > FAN_MARK_CREATE will fail with error EEXIST if an fanotify mark already > > exists on the object. > > > > Unlike inotify's IN_MARK_CREATE, FAN_MARK_CREATE has to supplied in > > combination with FAN_MARK_ADD (FAN_MARK_ADD is like inotify_add_watch() > > and the behavior of IN_MARK_ADD is the default for fanotify_mark()). > > > > Signed-off-by: Amir Goldstein <amir73il@xxxxxxxxx> > > What I'm missing in this changelog is "why". Is it just about feature > parity with inotify? I don't find this feature particularly useful... OK, now I understand after reading patch 5/5. Hum, but I'm not quite happy about the limitation to non-existing mark as much as I understand why you need it. Let me think... Honza -- Jan Kara <jack@xxxxxxxx> SUSE Labs, CR