This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]