Skip to content

Draft: inotify: show inotify mask flags in proc fdinfo

Bugzilla: http://bugzilla.redhat.com/2125133 Tested: ltp inotify12

commit a32e697cda27679a0327ae2cafdad8c7170f548f Author: Amir Goldstein amir73il@gmail.com Date: Fri Apr 22 15:03:12 2022 +0300

inotify: show inotify mask flags in proc fdinfo

The inotify mask flags IN_ONESHOT and IN_EXCL_UNLINK are not "internal to kernel" and should be exposed in procfs fdinfo so CRIU can restore them.

Fixes: 69335996 ("inotify: hide internal kernel bits from fdinfo") Link: https://lore.kernel.org/r/20220422120327.3459282-2-amir73il@gmail.com

Signed-off-by: Amir Goldstein's avatarAmir Goldstein amir73il@gmail.com Signed-off-by: default avatarJan Kara jack@suse.cz Signed-off-by: Andrey Albershteyn aalbersh@redhat.com

Edited by Andrey Albershteyn

Merge request reports