From owner-svn-src-head@FreeBSD.ORG Wed Apr 1 11:43:25 2015 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0EA2E852; Wed, 1 Apr 2015 11:43:25 +0000 (UTC) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.69.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cell.glebius.int.ru", Issuer "cell.glebius.int.ru" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 635A1F2B; Wed, 1 Apr 2015 11:43:23 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.9/8.14.9) with ESMTP id t31BhDRk058080 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 1 Apr 2015 14:43:13 +0300 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.9/8.14.9/Submit) id t31BhD34058079; Wed, 1 Apr 2015 14:43:13 +0300 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Wed, 1 Apr 2015 14:43:13 +0300 From: Gleb Smirnoff To: Mateusz Guzik Subject: Re: svn commit: r280955 - in head/sys: modules/notrandom dev/notrandom Message-ID: <20150401114313.GZ64665@FreeBSD.org> References: <20150401113628.GA16649@dft-labs.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150401113628.GA16649@dft-labs.eu> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Apr 2015 11:43:25 -0000 On Wed, Apr 01, 2015 at 01:36:28PM +0200, Mateusz Guzik wrote: M> Author: mjg M> Date: Wed Apr 1 13:37:00 2015 M> New Revision: 280955 M> URL: https://svnweb.freebsd.org/changeset/base/280955 M> M> Log: M> Add /dev/notrandom M> M> notrandom provides fast and reliable not random numbers. M> M> This was added in an effort to increase feature-compatiblity with M> Solaris 10. M> M> See http://www.brendangregg.com/Specials/notrandom.c for Solaris M> implementation. M> M> Reviewed-by: Bruce Schneier (ok, not really) M> MFC after: 1 week What is the difference of this implementation with /dev/zero? -- Totus tuus, Glebius.