Re: arc4random weakness

2017-03-15 Thread Andrey Chernov
On 15.03.2017 16:06, Steven Chamberlain wrote: > Also it is great to see INHERIT_ZERO was added to mmap(2)! It is not so great. For a program which forks very often zeroing even one page will be slowdown. It will be better and faster to implement it as fork syscall wrapper setting single variable,

Re: arc4random weakness

2017-03-15 Thread Steven Chamberlain
Steven Chamberlain wrote: > Please consider switching to ChaCha20 in the long term (kern/182610), > but right now, at least increase the amount of early keystream that is > discarded. Many, many thanks delphij+so for applying the latter change so quickly! Also it is great to see INHERIT_ZERO was