On 5/8/25 4:53 AM, Amir Goldstein wrote: > On Thu, May 8, 2025 at 9:38 AM John Hubbard <jhubbard@xxxxxxxxxx> wrote: >> On 5/7/25 1:43 PM, Amir Goldstein wrote: ... >> Are you sure that you're including your newly added fanotify.h? Because >> it looks to me like you might be including your local installed version, >> instead. I don't see how it can include >> >> tools/include/uapi/linux/fanotify.h >> >> ...with the above invocation. >> > > Yes, it works. > > My local installed linux/fanotify.h does not include FAN_MARK_MNTNS > it is only available in my source and tools include dirs. > > Does the fact that sys/fanotify.h includes linux/fanotify.h explains what > didn't make sense to you? > aha yes, that solves the mystery for me. Reviewed-by: John Hubbard <jhubbard@xxxxxxxxxx> thanks, -- John Hubbard