]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blob - src/patches/glibc/glibc-rh861167.patch
glibc: Update patchset.
[people/teissler/ipfire-2.x.git] / src / patches / glibc / glibc-rh861167.patch
1 commit be08eda54c7cf833ccfa4b8d1f1b1d668c26af66
2 Author: Andreas Jaeger <aj@suse.de>
3 Date: Wed May 23 09:27:39 2012 +0200
4
5 Update from Linux 3.4
6
7 [ Partial, unrelated bits not included. ]
8
9 2012-05-23 Andreas Jaeger <aj@suse.de>
10
11 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
12 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
13 macro.
14 * sysdeps/unix/sysv/linux/s390/bits/mman.h
15 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16 * sysdeps/unix/sysv/linux/i386/bits/mman.h
17 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
19 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20
21 diff -Nrup a/sysdeps/unix/sysv/linux/i386/bits/mman.h b/sysdeps/unix/sysv/linux/i386/bits/mman.h
22 --- a/sysdeps/unix/sysv/linux/i386/bits/mman.h 2010-05-04 05:27:23.000000000 -0600
23 +++ b/sysdeps/unix/sysv/linux/i386/bits/mman.h 2012-09-27 11:44:26.985150148 -0600
24 @@ -1,5 +1,5 @@
25 /* Definitions for POSIX memory map interface. Linux/i386 version.
26 - Copyright (C) 1997,2000,2003,2005,2006,2009 Free Software Foundation, Inc.
27 + Copyright (C) 1997-2012 Free Software Foundation, Inc.
28 This file is part of the GNU C Library.
29
30 The GNU C Library is free software; you can redistribute it and/or
31 @@ -94,6 +94,9 @@
32 # define MADV_DOFORK 11 /* Do inherit across fork. */
33 # define MADV_MERGEABLE 12 /* KSM may merge identical pages. */
34 # define MADV_UNMERGEABLE 13 /* KSM may not merge identical pages. */
35 +# define MADV_DONTDUMP 16 /* Explicity exclude from the core dump,
36 + overrides the coredump filter bits. */
37 +# define MADV_DODUMP 17 /* Clear the MADV_DONTDUMP flag. */
38 # define MADV_HWPOISON 100 /* Poison a page for testing. */
39 #endif
40
41 diff -Nrup a/sysdeps/unix/sysv/linux/powerpc/bits/mman.h b/sysdeps/unix/sysv/linux/powerpc/bits/mman.h
42 --- a/sysdeps/unix/sysv/linux/powerpc/bits/mman.h 2010-05-04 05:27:23.000000000 -0600
43 +++ b/sysdeps/unix/sysv/linux/powerpc/bits/mman.h 2012-09-27 11:43:37.161351259 -0600
44 @@ -96,6 +96,9 @@
45 # define MADV_DOFORK 11 /* Do inherit across fork. */
46 # define MADV_MERGEABLE 12 /* KSM may merge identical pages. */
47 # define MADV_UNMERGEABLE 13 /* KSM may not merge identical pages. */
48 +# define MADV_DONTDUMP 16 /* Explicity exclude from the core dump,
49 + overrides the coredump filter bits. */
50 +# define MADV_DODUMP 17 /* Clear the MADV_DONTDUMP flag. */
51 # define MADV_HWPOISON 100 /* Poison a page for testing. */
52 #endif
53
54 diff -Nrup a/sysdeps/unix/sysv/linux/s390/bits/mman.h b/sysdeps/unix/sysv/linux/s390/bits/mman.h
55 --- a/sysdeps/unix/sysv/linux/s390/bits/mman.h 2010-05-04 05:27:23.000000000 -0600
56 +++ b/sysdeps/unix/sysv/linux/s390/bits/mman.h 2012-09-27 11:44:49.745059646 -0600
57 @@ -94,6 +94,9 @@
58 # define MADV_DOFORK 11 /* Do inherit across fork. */
59 # define MADV_MERGEABLE 12 /* KSM may merge identical pages. */
60 # define MADV_UNMERGEABLE 13 /* KSM may not merge identical pages. */
61 +# define MADV_DONTDUMP 16 /* Explicity exclude from the core dump,
62 + overrides the coredump filter bits. */
63 +# define MADV_DODUMP 17 /* Clear the MADV_DONTDUMP flag. */
64 # define MADV_HWPOISON 100 /* Poison a page for testing. */
65 #endif
66
67 diff -Nrup a/sysdeps/unix/sysv/linux/x86_64/bits/mman.h b/sysdeps/unix/sysv/linux/x86_64/bits/mman.h
68 --- a/sysdeps/unix/sysv/linux/x86_64/bits/mman.h 2010-05-04 05:27:23.000000000 -0600
69 +++ b/sysdeps/unix/sysv/linux/x86_64/bits/mman.h 2012-09-27 11:42:08.314725733 -0600
70 @@ -1,5 +1,5 @@
71 /* Definitions for POSIX memory map interface. Linux/x86_64 version.
72 - Copyright (C) 2001, 2003, 2005, 2006, 2009 Free Software Foundation, Inc.
73 + Copyright (C) 2001-2012 Free Software Foundation, Inc.
74 This file is part of the GNU C Library.
75
76 The GNU C Library is free software; you can redistribute it and/or
77 @@ -95,6 +95,9 @@
78 # define MADV_DOFORK 11 /* Do inherit across fork. */
79 # define MADV_MERGEABLE 12 /* KSM may merge identical pages. */
80 # define MADV_UNMERGEABLE 13 /* KSM may not merge identical pages. */
81 +# define MADV_DONTDUMP 16 /* Explicity exclude from the core dump,
82 + overrides the coredump filter bits. */
83 +# define MADV_DODUMP 17 /* Clear the MADV_DONTDUMP flag. */
84 # define MADV_HWPOISON 100 /* Poison a page for testing. */
85 #endif
86