random: add new ioctl RNDRESEEDCRNG
authorTheodore Ts'o <tytso@mit.edu>
Wed, 11 Apr 2018 20:32:17 +0000 (16:32 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Apr 2018 07:34:16 +0000 (09:34 +0200)
commit1d49e2ab766df649c540959a96f1ab839471fbe8
tree9328742bd0fa967f93899cbd3d7a4f2af3637f02
parentbefd00cfc189672adfdf6850cf460a7f53c56cf0
random: add new ioctl RNDRESEEDCRNG

commit d848e5f8e1ebdb227d045db55fe4f825e82965fa upstream.

Add a new ioctl which forces the the crng to be reseeded.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/random.c
include/uapi/linux/random.h