Re: [PATCH 3/5] selftests/fs/mount-notify: build with tools include dir

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux