Marc Espie <es...@nerim.net> wrote: > On Tue, Oct 04, 2022 at 10:15:51AM -0600, Theo de Raadt wrote: > > A note on why this chance is coming. > > > > malloc.c (as it is today), does mprotects back and forth between RW and > > R, to protect an internal object. This object is in bss, it is not > > allocated with mmap. With the upcoming mimmutable change, the bss will > > become immutable by default, at program load time. mimmutable even prevents > > changing a RW object to R. > > I'm probably missing something here, but for me, traditionally, > BSS is the "set to 0" section of global variables of a program... which are > usually going to be changed to some other value. > > Or are we talking at cross purposes ?
If you read the mimmutable diff, it has a manual page, and the answer is in there.