[PATCH 1/2 v3] tst-fanotify: new simple test

Adhemerval Zanella azanella@linux.vnet.ibm.com
Tue Sep 3 16:54:00 GMT 2013


On 03-09-2013 12:59, Joseph S. Myers wrote:
> On Tue, 3 Sep 2013, Adhemerval Zanella wrote:
>
>> The minimum supported Linux kernel version for current GLIBC is 2.6.16 
>> and fanotify was added int 2.6.36 and enabled in 2.6.37. The test build 
>> is failing on older kernels that does not provides "linux/fanotify.h" 
>> (RHEL6 for instance). You will need to either disable the test 
>> altogether or sets it to return a dummy value if the kernel does not 
>> supports it.
> You're confusing two different things.  The minimum version for *running* 
> current glibc is 2.6.16, but the minimum *headers* version is 2.6.19.1, 
> and your issue is about the headers - the test already allows for fanotify 
> syscalls failing with ENOSYS.  We could reasonably increase the minimum 
> kernel headers version to something much more recent (3.0?) - it's easy to 
> use new headers by specifying --with-headers when building glibc.
>
Indeed I confused the required header to build GLIBC, but regardless it does
not change the fact the test still does not build with current minimum
supported headers.



More information about the Libc-alpha mailing list