This is the mail archive of the glibc-cvs@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]

GNU C Library master sources branch master updated. glibc-2.27.9000-565-gb444e8f


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  b444e8f7cc40265c9a20ce5de5f3f6795b7f5028 (commit)
      from  7b2f4cedf044ea83f53f6b43a5bf6871eb9ce969 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=b444e8f7cc40265c9a20ce5de5f3f6795b7f5028

commit b444e8f7cc40265c9a20ce5de5f3f6795b7f5028
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Tue Jul 10 09:24:40 2018 -0300

    Comment tst-ofdlocks-compat expected failure in some Linux releases
    
    As pointed out in a libc-alpha thread [1], the misc/tst-ofdlocks-compat
    may fail in some specific Linux releases.  This patch adds a comment
    along with a link to discussion in the test source code.
    
    No changes are expected.
    
    	* sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
    	a kernel issue which lead to test failure in some cases.
    
    [1] https://sourceware.org/ml/libc-alpha/2018-07/msg00243.html

diff --git a/ChangeLog b/ChangeLog
index d18c244..f21b5ad 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-07-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
+
+	* sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
+	a kernel issue which lead to test failure in some cases.
+
 2018-07-10  Florian Weimer  <fweimer@redhat.com>
 
 	[BZ #23036]
diff --git a/sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c b/sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c
index d1d00eb..03c4abf 100644
--- a/sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c
+++ b/sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c
@@ -40,6 +40,14 @@ do_prepare (int argc, char **argv)
 
 #define PREPARE do_prepare
 
+/* Linux between 4.13 and 4.15 return EOVERFLOW for LFS OFD locks usage
+   in compat mode (non-LFS ABI running on a LFS default kernel, such as
+   i386 on a x86_64 kernel or s390-32 on a s390-64 kernel) [1].  This is
+   a kernel issue because __NR_fcntl64 is the expected way to use OFD locks
+   (used on GLIBC for both fcntl and fcntl64).
+
+   [1] https://sourceware.org/ml/libc-alpha/2018-07/msg00243.html  */
+
 static int
 do_test (void)
 {

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                     |    5 +++++
 sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c |    8 ++++++++
 2 files changed, 13 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


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