[PATCH 0/3] random: add random.rng_seed to bootconfig entry

Masami Hiramatsu
2020-02-14T06:10:10Z

Hi,

The following series is bootconfig based implementation of
the rng_seed option patch originally from Mark Salyzyn.
Note that I removed unrelated command line fixes from this
series.

To complete the support of UTF-8 for rng_seed, I added [1/3]
to support non-ascii chars on the value (user can use 0x80-
0xff at the value of bootconfig).

For [3/3], I updated to use bootconfig (xbc_find_value)
instead of command line. Also move the documentation under
Documentation/admin-guide/bootconfig.

Thank you,

---

Mark Salyzyn (2):
random: rng-seed source is utf-8
random: add random.rng_seed= bootconfig option

Masami Hiramatsu (1):
bootconfig: Support non-ascii characters in value

Documentation/admin-guide/bootconfig/random.rst | 21 ++++++++++++
drivers/char/Kconfig | 1 +
drivers/char/random.c | 10 +++++-
fs/proc/bootconfig.c | 4 ++
include/linux/random.h | 7 ++++
init/main.c | 41 ++++++++++++++++-------
lib/bootconfig.c | 2 +
tools/bootconfig/samples/good-non-ascii.bconf | 1 +
8 files changed, 73 insertions(+), 14 deletions(-)
create mode 100644 Documentation/admin-guide/bootconfig/random.rst
create mode 100644 tools/bootconfig/samples/good-non-ascii.bconf

--
Masami Hiramatsu (Linaro) <mhiramat@kernel.org>