tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Statically allocated guard pages in ELF



> On Mar 28, 2025, at 9:46 PM, David Holland <dholland-tech%netbsd.org@localhost> wrote:
> 
> And on the plus side, a gap doesn't require mprotect, nor does it
> require an extra mmap if the table can be placed at the beginning of
> readonly data. (iow, there isn't anything else that needs to go there)

Thing is, you don’t actually want a *gap*, per se.  You want an allocated region with PROT_NONE.

-- thorpej



Home | Main Index | Thread Index | Old Index