path: root/MAINTAINERS
diff options
authorAmir Goldstein <>2021-05-24 16:53:21 +0300
committerJan Kara <>2021-05-25 12:21:14 +0200
commita8b98c808eab3ec8f1b5a64be967b0f4af4cae43 (patch)
treecd0170b7b0d8e5a4e73334394683ff0f02cf7bb8 /MAINTAINERS
parentb577750e4157050ed6de5ca9083893027b8ece33 (diff)
fanotify: fix permission model of unprivileged group
Reporting event->pid should depend on the privileges of the user that initialized the group, not the privileges of the user reading the events. Use an internal group flag FANOTIFY_UNPRIV to record the fact that the group was initialized by an unprivileged user. To be on the safe side, the premissions to setup filesystem and mount marks now require that both the user that initialized the group and the user setting up the mark have CAP_SYS_ADMIN. Link: Fixes: 7cea2a3c505e ("fanotify: support limited functionality for unprivileged users") Cc: <> # v5.12+ Link: Reviewed-by: Matthew Bobrowski <> Acked-by: Christian Brauner <> Signed-off-by: Amir Goldstein <> Signed-off-by: Jan Kara <>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions