Skip to content

random: add random.rng_seed to bootconfig entry

Masami Hiramatsu linux-doc lkml 1 version In review

Get series with b4
b4 am 158166060044.9887.549561499483343724.stgit@devnote2

Versions newest first

  1. v1 Latest3 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3bootconfig: Support non-ascii characters in valuelib/bootconfig.c tools/bootconfig/samples/good-non-ascii.bconf+2 -10 replies
2/3random: rng-seed source is utf-8drivers/char/random.c+1 -18 replies
3/3random: add random.rng_seed= bootconfig optionDocumentation/admin-guide/bootconfig/random.rst drivers/char/Kconfig drivers/char/random.c +3 more+70 -120 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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
Signature · 1 line
Masami Hiramatsu (Linaro) <[email protected]>