]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
random: print a warning for the first ten uninitialized random users
authorTheodore Ts'o <tytso@mit.edu>
Mon, 13 Jun 2016 14:10:51 +0000 (10:10 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 13 Jun 2016 15:54:26 +0000 (11:54 -0400)
commit9b4d008787f864f17d008c9c15bbe8a0f7e2fc24
tree95ed8d9865986a90511e583f7f163434e09860d2
parent3371f3da08cff4b75c1f2dce742d460539d6566d
random: print a warning for the first ten uninitialized random users

Since systemd is consistently using /dev/urandom before it is
initialized, we can't see the other potentially dangerous users of
/dev/urandom immediately after boot.  So print the first ten such
complaints instead.

Cc: stable@kernel.org
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
drivers/char/random.c