Konstantin Belousov <kostik...@gmail.com> writes:
> Dag-Erling Smørgrav <d...@des.no> writes:
> > Wouldn't it be possible to just set up the page entry but leave it
> > unmapped, so that it is paged in (and zeroed if necessary) on first
> > access?  Thus, a process that uses arc4random() and fork()s would not
> > incur a penalty until (and unless) the child uses arc4random() too.
> This is how the forking code works, without any additional coding,
> for the INHERIT_ZERO regions as well.

Well then I don't see the problem...  I just assumed from ache@'s
objection that it wasn't the case.

DES
-- 
Dag-Erling Smørgrav - d...@des.no
_______________________________________________
freebsd-security@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscr...@freebsd.org"

Reply via email to