automatically mark immutable certain regions in program&ld.so LOADs.
authorderaadt <deraadt@openbsd.org>
Fri, 21 Oct 2022 18:10:52 +0000 (18:10 +0000)
committerderaadt <deraadt@openbsd.org>
Fri, 21 Oct 2022 18:10:52 +0000 (18:10 +0000)
commit31b48a6b1847e0a298a18a8a16416a5bf469b013
treed661c6f08e5bd68e35df2bc20bf12db0d638137e
parent7cde551c9a2604ec0589894ad95887e0ad2b57d6
automatically mark immutable certain regions in program&ld.so LOADs.
The large commented block in elf_load_psection explains the sitaution.
ok kettenis.
sys/kern/exec_elf.c
sys/kern/exec_subr.c
sys/sys/exec.h