CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2022/12/04 08:42:08
Modified files:
libexec/ld.so : library.c library_mquery.c loader.c resolve.h
Log message:
The next step for mimmutable(). ld.so figures out what regions of memory
of startup shared library mappings can be made immutable, and also does
this for dlope() RTLD_NODELETE and subsidiary libraries. Complexity in this
diff is due to the GNU_RELRO and OPENBSD_MUTABLE sections.
Tested in snaps for about 3 weeks, with some bootstrap related pain felt in
ports
ok kettenis, much help from others.