On 1/9/24 11:22 AM, Amir Goldstein wrote: > The depency of FANOTIFY_ACCESS_PERMISSIONS on SECURITY made sure that dependency > the fsnotify permission hooks were never called when SECURITY was > disabled. > > Moving the fsnotify permission hook out of the secutiy hook broke that security > optimisation. Patch obviously looks good to me, as I already tested it :-) Thanks for fixing this up. -- Jens Axboe