git: rtld: Revert mprotect optimization during .bss creation

John Marino marino at crater.dragonflybsd.org
Sat Jan 14 03:01:06 PST 2012


commit 55071f7502bfdacc3b2ff971945c0f29dd6d82f8
Author: John Marino <draco at marino.st>
Date:   Fri Jan 13 20:53:42 2012 +0100

    rtld: Revert mprotect optimization during .bss creation
    
    Using only mprotect over .bss prevented it from writing .bss to the core
    files as the whole region for the dso is mmapped with MAP_NOCORE flag.
    Revert to previous mmap implementation.
    Comes from FreeBSD SVN 225699

Summary of changes:
 libexec/rtld-elf/map_object.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/55071f7502bfdacc3b2ff971945c0f29dd6d82f8


-- 
DragonFly BSD source repository





More information about the Commits mailing list