]> git.ipfire.org Git - thirdparty/glibc.git/commit
Fix Linux fcntl OFD locks on unsupported kernels
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 27 Jul 2018 13:07:14 +0000 (10:07 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 27 Jul 2018 17:48:06 +0000 (14:48 -0300)
commit2c6da2f48769ca37b22088fe65bdcb4b0f319b80
treef858c8c42949fbdb68415247ea2d9c802b24ba61
parentda80612d6114815db698bf891fb751e7962d1c11
Fix Linux fcntl OFD locks on unsupported kernels

This patch make the OFD tests return unsupported if kernel does not
support OFD locks (it was added on 3.15).

Checked on a ia64-linux-gnu with Linux 3.14.

* sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
kernel does not support OFD locks.
* sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
ChangeLog
sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c
sysdeps/unix/sysv/linux/tst-ofdlocks.c