public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] fanotify man page updates for v5.17
@ 2022-06-30 19:06 Amir Goldstein
  2022-06-30 19:06 ` [PATCH v3 1/2] fanotify.7, fanotify_init.2: Document FAN_REPORT_TARGET_FID Amir Goldstein
  2022-06-30 19:06 ` [PATCH v3 2/2] fanotify.7, fanotify_init.2, fanotify_mark.2: Document FAN_RENAME Amir Goldstein
  0 siblings, 2 replies; 5+ messages in thread
From: Amir Goldstein @ 2022-06-30 19:06 UTC (permalink / raw)
  To: Alejandro Colomar; +Cc: Michael Kerrisk, Jan Kara, Matthew Bobrowski, linux-man

Hi Alex,

These two complementary APIs, FAN_REPORT_TARGET_FID (fanotify_init)
and FAN_RENAME (fanotify_mark) were merged to kernel v5.17.

Note that we used the fact that this is new API to fix a glitch that
exists in the old APIs - it is possble to request CREATE/DELETE/MOVE
events and flags FAN_ONDIR/FAN_EVENT_ON_CHILD for a non-directrory,
but those events and flags are only relevant for directories.

When the new APIs are used, ENOTDIR will be returned in such cases
and this change is reflected in the man pages updates.

The ENOTDIR error was added by later commits, one of them just merged
to mainline, which are also mentioned in the commit message of the
first patch.

Both Jan and Matthew re-reviewed the changes to the ENOTDIR section.

Thanks,
Amir,

Changes since v2:
- Rearrange ENOTDIR errors section
- Add more cases of ENOTDIR following fix patch

Amir Goldstein (2):
  fanotify.7, fanotify_init.2: Document FAN_REPORT_TARGET_FID
  fanotify.7, fanotify_init.2, fanotify_mark.2: Document FAN_RENAME

 man2/fanotify_init.2 | 55 ++++++++++++++++++++++++++++++++++++++++----
 man2/fanotify_mark.2 | 41 +++++++++++++++++++++++++++++++++
 man7/fanotify.7      | 31 ++++++++++++++-----------
 3 files changed, 109 insertions(+), 18 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-07-04  9:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-30 19:06 [PATCH v3 0/2] fanotify man page updates for v5.17 Amir Goldstein
2022-06-30 19:06 ` [PATCH v3 1/2] fanotify.7, fanotify_init.2: Document FAN_REPORT_TARGET_FID Amir Goldstein
2022-07-03 19:24   ` Alejandro Colomar
     [not found]     ` <CAOQ4uxjMDq9nb0hBSV_Fbf190GdwLfTd2+erY9+KTnw4NmBo7Q@mail.gmail.com>
2022-07-04  9:55       ` Alejandro Colomar
2022-06-30 19:06 ` [PATCH v3 2/2] fanotify.7, fanotify_init.2, fanotify_mark.2: Document FAN_RENAME Amir Goldstein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox