This is the mail archive of the 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.26.9000-733-gb7fc95f

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  b7fc95f8c8afab296f0e3c29d4effdc68663319c (commit)
      from  6b86036452b9ac47b4ee7789a50f2f37df7ecc4f (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 -----------------------------------------------------------------;a=commitdiff;h=b7fc95f8c8afab296f0e3c29d4effdc68663319c

commit b7fc95f8c8afab296f0e3c29d4effdc68663319c
Author: Florian Weimer <>
Date:   Tue Nov 7 12:11:42 2017 +0100

    Move <bits/mman-linux.h> to the Linux sysdeps directory
    The header file is no longer used on anything but Linux.

diff --git a/ChangeLog b/ChangeLog
index 6d38309..632c2a0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2017-11-07  Florian Weimer  <>
+	* bits/mman-linux.h: Move ...
+	* sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here.  Update
+	comment.
+	* sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
+	outdated comment.
 2017-11-07  Rajalakshmi Srinivasaraghavan  <>
 	* sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile
index 0c8a009..bf76b87 100644
--- a/sysdeps/unix/sysv/linux/Makefile
+++ b/sysdeps/unix/sysv/linux/Makefile
@@ -28,13 +28,6 @@ CFLAGS-open_by_handle_at.c = -fexceptions -fasynchronous-unwind-tables
 CFLAGS-sync_file_range.c = -fexceptions -fasynchronous-unwind-tables
 CFLAGS-tst-writev.c += "-DARTIFICIAL_LIMIT=(0x80000000-sysconf(_SC_PAGESIZE))"
-# Note that bits/mman-linux.h is listed here though the file lives in the
-# top-level bits/ subdirectory instead of here in sysdeps/.../linux/bits/.
-# That is just so that other (non-Linux) configurations for whom the
-# bits/mman-linux.h definitions work well do not have to duplicate the
-# contents of the file.  The file must still be listed in sysdep_headers
-# here and in any non-Linux configuration that uses it; other
-# configurations will not install the file.
 sysdep_headers += sys/mount.h sys/acct.h sys/sysctl.h \
 		  sys/klog.h \
 		  sys/user.h sys/prctl.h \
diff --git a/bits/mman-linux.h b/sysdeps/unix/sysv/linux/bits/mman-linux.h
similarity index 96%
rename from bits/mman-linux.h
rename to sysdeps/unix/sysv/linux/bits/mman-linux.h
index 8126ce8..b091181 100644
--- a/bits/mman-linux.h
+++ b/sysdeps/unix/sysv/linux/bits/mman-linux.h
@@ -21,10 +21,7 @@
 /* The following definitions basically come from the kernel headers.
-   But the kernel header is not namespace clean.
-   This file is also used by some non-Linux configurations of the
-   GNU C Library, for other systems that use these same bit values.  */
+   But the kernel header is not namespace clean.  */
 /* Protections are chosen from these bits, OR'd together.  The


Summary of changes:
 ChangeLog                                          |    8 ++++++++
 sysdeps/unix/sysv/linux/Makefile                   |    7 -------
 .../unix/sysv/linux/bits}/mman-linux.h             |    5 +----
 3 files changed, 9 insertions(+), 11 deletions(-)
 rename {bits => sysdeps/unix/sysv/linux/bits}/mman-linux.h (96%)

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]