Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Oct 2011 16:55:45 +0400
From:      Andrey Chernov <ache@FreeBSD.ORG>
To:        Ed Schouten <ed@FreeBSD.ORG>
Cc:        svn-src-head@FreeBSD.ORG, svn-src-all@FreeBSD.ORG, src-committers@FreeBSD.ORG
Subject:   Re: svn commit: r226100 - head/sys/teken/stress
Message-ID:  <20111007125544.GA26576@vniz.net>
In-Reply-To: <201110071242.p97Cg3u5011052@svn.freebsd.org>
References:  <201110071242.p97Cg3u5011052@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 07, 2011 at 12:42:03PM +0000, Ed Schouten wrote:
> Author: ed
> Date: Fri Oct  7 12:42:03 2011
> New Revision: 226100
> URL: http://svn.freebsd.org/changeset/base/226100
> 
> Log:
>   Simply let teken_stress use arc4random.
>   
>   This makes it run quite a bit faster, since it makes system calls less
>   often.

It is because we still have in some sense incorrect (father&son the same 
sequence after fork) arc4random() implementation with the patch stucking 
in the so-called "FreeBSD Security Team" review already several years.

OpenBSD version have at least one syscall per arc4random() call 
- getpid().

-- 
http://ache.vniz.net/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111007125544.GA26576>