Hi Amir! On Mon 19-03-18 06:40:30, Amir Goldstein wrote: > Do you know why config FANOTIFY_ACCESS_PERMISSIONS depends on SECURITY? > > I didn't find any obvious dependency in the code and > FANOTIFY_ACCESS_PERMISSIONS compiles when I remove SECURITY dependency, > but FANOTIFY_ACCESS_PERMISSIONS tests failed. No idea at the first moment. On a second though I believe the reason for this is that fsnotify_perm() gets called from security_file_open() which is non-trivial only in CONFIG_SECURITY is set... Which explains why things are the way you observe. Honza -- Jan Kara <jack@xxxxxxxx> SUSE Labs, CR