This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 1/2 v3] tst-fanotify: new simple test
- From: Adhemerval Zanella <azanella at linux dot vnet dot ibm dot com>
- To: libc-alpha at sourceware dot org
- Date: Tue, 03 Sep 2013 13:53:53 -0300
- Subject: Re: [PATCH 1/2 v3] tst-fanotify: new simple test
- Authentication-results: sourceware.org; auth=none
- References: <1377100993-9438-1-git-send-email-vapier at gentoo dot org> <1378178437-16147-1-git-send-email-vapier at gentoo dot org> <201309022323 dot 29991 dot vapier at gentoo dot org> <5225DD48 dot 7030601 at linux dot vnet dot ibm dot com> <Pine dot LNX dot 4 dot 64 dot 1309031557160 dot 23449 at digraph dot polyomino dot org dot uk>
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.