Skip to content

fanotify: avid some premature LSM checks

Ondrej Mosnacek linux-fsdevel linux-security-module lkml selinux 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2fanotify: avoid/silence premature LSM capability checksfs/notify/fanotify/fanotify_user.c+13 -122 replies
2/2fanotify: call fanotify_events_supported() before path_permission() and security_path_notify()fs/notify/fanotify/fanotify_user.c+10 -152 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAmir GoldsteinPaul Moore
1/2R-b R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] fanotify: avid some premature LSM checks

Restructure some of the validity and security checks in fs/notify/fanotify/fanotify_user.c to avoid generating LSM access denials in the audit log where hey shouldn't be.

Ondrej Mosnacek (2):
fanotify: avoid/silence premature LSM capability checks
fanotify: call fanotify_events_supported() before path_permission()
and security_path_notify()

 fs/notify/fanotify/fanotify_user.c | 50 ++++++++++++++----------------
 1 file changed, 23 insertions(+), 27 deletions(-)
Signature · 1 line
2.53.0