lkml.org 
[lkml]   [2006]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Entropy Pool Contents
Phillip Susi wrote:

> I ran into this the other day myself and when I investigated the kernel
> code, I found that writes to /dev/random do accept the data into the
> entropy pool, but do NOT update the entropy estimate. In order to do
> that, you have to use a root only ioctl to add the data and update the
> estimate. I am not sure why this is, or if there is a tool already
> written somewhere to use this ioctl, maybe someone else can comment?

I believe the idea was that you don't want random users being able to
artificially inflate your entropy count. So the kernel tries to make
use of entropy entered by regular users (by stirring it into the pool)
but it doesn't increase the entropy estimate unless root says its okay.

Chris
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-11-27 17:23    [W:0.051 / U:0.964 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site