DragonFly BSD
DragonFly commits List (threaded) for 2012-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: rtld: Revert mprotect optimization during .bss creation


From: John Marino <marino@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 14 Jan 2012 03:01:06 -0800 (PST)

commit 55071f7502bfdacc3b2ff971945c0f29dd6d82f8
Author: John Marino <draco@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]