CVSROOT:        /cvs
Module name:    src
Changes by:     dera...@cvs.openbsd.org 2022/11/09 12:50:25

Modified files:
        libexec/ld.so  : loader.c 

Log message:
Now that dlopen() sets object->nodelete for RTLD_NODELETE, _dl_load_dep_libs()
can consider this same as the "booting" case, and instruct lower layers to
do immutability. With this change in place, the not-yet-commited
library-immutable diff leaves 1 page of libc (malloc related) and 6
non-RTLD_NODELETE libraries mutable in chrome.
Everything else is immutable, except for the program's transient memory
allocations & file mappings.  This is an unexpected result.

Reply via email to