Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 618220 Details for
Bug 861167
pull in new MADV_DONTDUMP flag for madvise system call
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Potential patch, untested
glibc-rh861167.patch (text/plain), 4.27 KB, created by
Jeff Law
on 2012-09-27 17:48:09 UTC
(
hide
)
Description:
Potential patch, untested
Filename:
MIME Type:
Creator:
Jeff Law
Created:
2012-09-27 17:48:09 UTC
Size:
4.27 KB
patch
obsolete
>commit be08eda54c7cf833ccfa4b8d1f1b1d668c26af66 >Author: Andreas Jaeger <aj@suse.de> >Date: Wed May 23 09:27:39 2012 +0200 > > Update from Linux 3.4 > >[ Partial, unrelated bits not included. ] > >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/i386/bits/mman.h > (MADV_DONTDUMP,MADV_DODUMP): Likewise. > * sysdeps/unix/sysv/linux/x86_64/bits/mman.h > (MADV_DONTDUMP,MADV_DODUMP): Likewise. > >diff -Nrup a/sysdeps/unix/sysv/linux/i386/bits/mman.h b/sysdeps/unix/sysv/linux/i386/bits/mman.h >--- a/sysdeps/unix/sysv/linux/i386/bits/mman.h 2010-05-04 05:27:23.000000000 -0600 >+++ b/sysdeps/unix/sysv/linux/i386/bits/mman.h 2012-09-27 11:44:26.985150148 -0600 >@@ -1,5 +1,5 @@ > /* Definitions for POSIX memory map interface. Linux/i386 version. >- Copyright (C) 1997,2000,2003,2005,2006,2009 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 >@@ -94,6 +94,9 @@ > # define MADV_DOFORK 11 /* Do inherit across fork. */ > # define MADV_MERGEABLE 12 /* KSM may merge identical pages. */ > # define MADV_UNMERGEABLE 13 /* KSM may not merge identical pages. */ >+# 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 > >diff -Nrup a/sysdeps/unix/sysv/linux/powerpc/bits/mman.h b/sysdeps/unix/sysv/linux/powerpc/bits/mman.h >--- a/sysdeps/unix/sysv/linux/powerpc/bits/mman.h 2010-05-04 05:27:23.000000000 -0600 >+++ b/sysdeps/unix/sysv/linux/powerpc/bits/mman.h 2012-09-27 11:43:37.161351259 -0600 >@@ -96,6 +96,9 @@ > # define MADV_DOFORK 11 /* Do inherit across fork. */ > # define MADV_MERGEABLE 12 /* KSM may merge identical pages. */ > # define MADV_UNMERGEABLE 13 /* KSM may not merge identical pages. */ >+# 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 > >diff -Nrup a/sysdeps/unix/sysv/linux/s390/bits/mman.h b/sysdeps/unix/sysv/linux/s390/bits/mman.h >--- a/sysdeps/unix/sysv/linux/s390/bits/mman.h 2010-05-04 05:27:23.000000000 -0600 >+++ b/sysdeps/unix/sysv/linux/s390/bits/mman.h 2012-09-27 11:44:49.745059646 -0600 >@@ -94,6 +94,9 @@ > # define MADV_DOFORK 11 /* Do inherit across fork. */ > # define MADV_MERGEABLE 12 /* KSM may merge identical pages. */ > # define MADV_UNMERGEABLE 13 /* KSM may not merge identical pages. */ >+# 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 > >diff -Nrup a/sysdeps/unix/sysv/linux/x86_64/bits/mman.h b/sysdeps/unix/sysv/linux/x86_64/bits/mman.h >--- a/sysdeps/unix/sysv/linux/x86_64/bits/mman.h 2010-05-04 05:27:23.000000000 -0600 >+++ b/sysdeps/unix/sysv/linux/x86_64/bits/mman.h 2012-09-27 11:42:08.314725733 -0600 >@@ -1,5 +1,5 @@ > /* Definitions for POSIX memory map interface. Linux/x86_64 version. >- Copyright (C) 2001, 2003, 2005, 2006, 2009 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 >@@ -95,6 +95,9 @@ > # define MADV_DOFORK 11 /* Do inherit across fork. */ > # define MADV_MERGEABLE 12 /* KSM may merge identical pages. */ > # define MADV_UNMERGEABLE 13 /* KSM may not merge identical pages. */ >+# 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 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 861167
: 618220