Re: [RESEND PATCH v3 2/2] fanotify: Document mount namespace events
From: Alejandro Colomar <alx@kernel.org>
Date: 2025-04-05 11:38:14
Attachments
- signature.asc [application/pgp-signature] 833 bytes
From: Alejandro Colomar <alx@kernel.org>
Date: 2025-04-05 11:38:14
Hi Amir, A small doubt below. On Fri, Apr 04, 2025 at 12:47:23PM +0200, Amir Goldstein wrote:
@@ -99,6 +100,20 @@ If the filesystem object to be marked is not a directory, the error .B ENOTDIR shall be raised. .TP +.BR FAN_MARK_MNTNS " (since Linux 6.14)" +.\" commit 0f46d81f2bce970b1c562aa3c944a271bbec2729 +Mark the mount namespace specified by +.IR pathname . +If the +.I pathname +is not a path that represents a mount namespace (e.g. +.IR /proc/ pid /ns/mnt ),
Are there any other paths that may represent a mount namespace? Maybe we should change s/e.g./i.e./? Have a lovely day! Alex
+the call fails with the error +.BR EINVAL . +An fanotify group that was initialized with flag +.B FAN_REPORT_MNT +is required. +.TP .B FAN_MARK_MOUNT Mark the mount specified by .IR path .
-- <https://www.alejandro-colomar.es/> <https://www.alejandro-colomar.es:8443/> <http://www.alejandro-colomar.es:8080/>