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:36:37 +0000 (09:36 +0200)
commit90936d903c2f34663cffe68d9845debdeb85174c
treeb0aaf7259cf2b5f05242a5beedf048d113ba69ea
parentd152fcc173149a99d6f707a5b8a80d83d906755b
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