Konstantin Belousov <[email protected]> writes:
> Dag-Erling Smørgrav <[email protected]> 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 - [email protected]
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "[email protected]"

Reply via email to