put the malloc_readonly struct into the "openbsd.mutable" section, so
authorderaadt <deraadt@openbsd.org>
Fri, 14 Oct 2022 04:38:39 +0000 (04:38 +0000)
committerderaadt <deraadt@openbsd.org>
Fri, 14 Oct 2022 04:38:39 +0000 (04:38 +0000)
commit0b4b01c915e4783c3efca28a0a93576c40f0cfe1
tree6349e4c46a4d4a6a8329f2170fb76c60bdea99ce
parenta398fd9a90b1173859a5e884b2eebcaa8a3d741d
put the malloc_readonly struct into the "openbsd.mutable" section, so
that the kernel and ld.so will know not to mark it immutable.  malloc
handles the read/write transitions by itself.
lib/libc/stdlib/malloc.c