memory pages nulling when releasing
Nick Borisov
neiro21 at gmail.com
Sun Jun 18 20:10:08 UTC 2006
2006/6/18, Dag-Erling Smørgrav <des at des.no>:
> "Nick Borisov" <neiro21 at gmail.com> writes:
> > Could you tell me if FreeBSD supports memory page nulling when
> > releasing it to prevent unauthorized access to data left in the page
> > after it's allocated again.
>
> Processes always get zeroed pages from the kernel. This is the case
> for all Unices, and has been for decades.
Well, providing zeroed pages to processes is not quite similar to
explicit cleaning of pages after use as some security standards
demand. That's why I'm asking. The "Z" malloc option seems to be
suitable but it's actually for debugging.
More information about the freebsd-security
mailing list