Re: memory pages nulling when releasing
- From: Jason Evans <jasone@xxxxxxxxxxx>
- Date: Tue, 20 Jun 2006 10:43:57 -0700
Giorgos Keramidas wrote:
On 2006-06-20 17:05, Dan Lukes <dan@xxxxxxxxx> wrote:
There's "Z" malloc option that's used to initialise page with zeros
instead of 0xd0
Difference betwen Z and J isn't the fill value only. Z apply
for allocations of new memory (when imalloc() called); J apply
on changes in allocated block size (e.g. realloc) and free. So
'Z' doesn't "zero on free" but "zero on alloc". Well, things
aren't simple as Z implies J ...
BTW, Z nor J doesn't imply 'R' despite of text of manual page.
Are you sure? Then we should fix the manpage.
Cc'ing Jason Evans, who may be interested too.
The man page looks accurate to me. What aspect of the descriptions of 'J' and 'Z' do you think is incorrect?
Thanks,
Jason
_______________________________________________
freebsd-security@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: memory pages nulling when releasing
- From: Dan Lukes
- Re: memory pages nulling when releasing
- References:
- Re: memory pages nulling when releasing
- From: R. B. Rid***
- Re: memory pages nulling when releasing
- From: Dan Lukes
- Re: memory pages nulling when releasing
- From: Nick Withers
- Re: memory pages nulling when releasing
- From: Dan Lukes
- Re: memory pages nulling when releasing
- From: Giorgos Keramidas
- Re: memory pages nulling when releasing
- Prev by Date: Re: memory pages nulling when releasing
- Next by Date: Re: memory pages nulling when releasing
- Previous by thread: Re: memory pages nulling when releasing
- Next by thread: Re: memory pages nulling when releasing
- Index(es):