[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: arc4random weakness
From:       Dag-Erling_Smørgrav <des () des ! no>
Date:       2017-03-19 15:12:29
Message-ID: 86wpblnvvm.fsf () desk ! des ! no
[Download RAW message or body]

Konstantin Belousov <kostikbel@gmail.com> writes:
> Dag-Erling Smørgrav <des@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 - des@des.no
_______________________________________________
freebsd-hackers@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic