]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Move <bits/mman-linux.h> to the Linux sysdeps directory
authorFlorian Weimer <fweimer@redhat.com>
Tue, 7 Nov 2017 11:11:42 +0000 (12:11 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Tue, 7 Nov 2017 11:11:42 +0000 (12:11 +0100)
The header file is no longer used on anything but Linux.

ChangeLog
sysdeps/unix/sysv/linux/Makefile
sysdeps/unix/sysv/linux/bits/mman-linux.h [moved from bits/mman-linux.h with 96% similarity]

index 6d383093c685412fc533616af33a335687301942..632c2a037aedba5eb1c3327d01da9c60d9b1fbcd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2017-11-07  Florian Weimer  <fweimer@redhat.com>
+
+       * 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  <raji@linux.vnet.ibm.com>
 
        * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
index 0c8a009b5e900b01dc0239ea385e3db43d3e201a..bf76b8773dc0150f4f9d4b23e1a4e05f1c5bb637 100644 (file)
@@ -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 \
similarity index 96%
rename from bits/mman-linux.h
rename to sysdeps/unix/sysv/linux/bits/mman-linux.h
index 8126ce836947718576f09cd8f874a25b2c1340f7..b09118196005d677278797940b2053471ab63161 100644 (file)
 #endif
 
 /* 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