Update from Linux 3.4

This commit is contained in:
Andreas Jaeger 2012-05-23 09:27:39 +02:00
parent a6a056bba7
commit be08eda54c
8 changed files with 41 additions and 5 deletions

View File

@ -1,3 +1,21 @@
2012-05-23 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/powerpc/bits/mman.h
(MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
macro.
* sysdeps/unix/sysv/linux/s390/bits/mman.h
(MADV_DONTDUMP,MADV_DODUMP): Likewise.
* sysdeps/unix/sysv/linux/sh/bits/mman.h
(MADV_DONTDUMP,MADV_DODUMP): Likewise.
* sysdeps/unix/sysv/linux/i386/bits/mman.h
(MADV_DONTDUMP,MADV_DODUMP): Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/mman.h
(MADV_DONTDUMP,MADV_DODUMP): Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/mman.h
(MADV_DONTDUMP,MADV_DODUMP): Likewise.
* sysdeps/unix/sysv/linux/bits/in.h
(IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
2012-05-22 Roland McGrath <roland@hack.frob.com>
* sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1991-2000,2004,2008,2010,2011 Free Software Foundation, Inc.
/* Copyright (C) 1991-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@ -50,6 +50,8 @@
# define MCAST_JOIN_SOURCE_GROUP 46 /* group_source_req: join source-spec gr */
# define MCAST_LEAVE_SOURCE_GROUP 47 /* group_source_req: leave source-spec gr*/
# define MCAST_MSFILTER 48
# define IP_MULTICAST_ALL 49
# define IP_UNICAST_IF 50
# define MCAST_EXCLUDE 0
# define MCAST_INCLUDE 1

View File

@ -1,6 +1,5 @@
/* Definitions for POSIX memory map interface. Linux/i386 version.
Copyright (C) 1997,2000,2003,2005,2006,2009,2010,2011
Free Software Foundation, Inc.
Copyright (C) 1997-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@ -97,6 +96,9 @@
# define MADV_UNMERGEABLE 13 /* KSM may not merge identical pages. */
# define MADV_HUGEPAGE 14 /* Worth backing with hugepages. */
# define MADV_NOHUGEPAGE 15 /* Not worth backing with hugepages. */
# define MADV_DONTDUMP 16 /* Explicity exclude from the core dump,
overrides the coredump filter bits. */
# define MADV_DODUMP 17 /* Clear the MADV_DONTDUMP flag. */
# define MADV_HWPOISON 100 /* Poison a page for testing. */
#endif

View File

@ -98,6 +98,9 @@
# define MADV_UNMERGEABLE 13 /* KSM may not merge identical pages. */
# define MADV_HUGEPAGE 14 /* Worth backing with hugepages. */
# define MADV_NOHUGEPAGE 15 /* Not worth backing with hugepages. */
# define MADV_DONTDUMP 16 /* Explicity exclude from the core dump,
overrides the coredump filter bits. */
# define MADV_DODUMP 17 /* Clear the MADV_DONTDUMP flag. */
# define MADV_HWPOISON 100 /* Poison a page for testing. */
#endif

View File

@ -97,6 +97,9 @@
# define MADV_UNMERGEABLE 13 /* KSM may not merge identical pages. */
# define MADV_HUGEPAGE 14 /* Worth backing with hugepages. */
# define MADV_NOHUGEPAGE 15 /* Not worth backing with hugepages. */
# define MADV_DONTDUMP 16 /* Explicity exclude from the core dump,
overrides the coredump filter bits. */
# define MADV_DODUMP 17 /* Clear the MADV_DONTDUMP flag. */
# define MADV_HWPOISON 100 /* Poison a page for testing. */
#endif

View File

@ -96,6 +96,9 @@
# define MADV_UNMERGEABLE 13 /* KSM may not merge identical pages. */
# define MADV_HUGEPAGE 14 /* Worth backing with hugepages. */
# define MADV_NOHUGEPAGE 15 /* Not worth backing with hugepages. */
# define MADV_DONTDUMP 16 /* Explicity exclude from the core dump,
overrides the coredump filter bits. */
# define MADV_DODUMP 17 /* Clear the MADV_DONTDUMP flag. */
# define MADV_HWPOISON 100 /* Poison a page for testing. */
#endif

View File

@ -99,6 +99,9 @@
# define MADV_UNMERGEABLE 13 /* KSM may not merge identical pages. */
# define MADV_HUGEPAGE 14 /* Worth backing with hugepages. */
# define MADV_NOHUGEPAGE 15 /* Not worth backing with hugepages. */
# define MADV_DONTDUMP 16 /* Explicity exclude from the core dump,
overrides the coredump filter bits. */
# define MADV_DODUMP 17 /* Clear the MADV_DONTDUMP flag. */
# define MADV_HWPOISON 100 /* Poison a page for testing. */
#endif

View File

@ -1,6 +1,5 @@
/* Definitions for POSIX memory map interface. Linux/x86_64 version.
Copyright (C) 2001,2003,2005,2006,2009,2010,2011
Free Software Foundation, Inc.
Copyright (C) 2001-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@ -98,6 +97,9 @@
# define MADV_UNMERGEABLE 13 /* KSM may not merge identical pages. */
# define MADV_HUGEPAGE 14 /* Worth backing with hugepages. */
# define MADV_NOHUGEPAGE 15 /* Not worth backing with hugepages. */
# define MADV_DONTDUMP 16 /* Explicity exclude from the core dump,
overrides the coredump filter bits. */
# define MADV_DODUMP 17 /* Clear the MADV_DONTDUMP flag. */
# define MADV_HWPOISON 100 /* Poison a page for testing. */
#endif