random: add random.rng_seed to bootconfig entry
Get series with b4
b4 am 158166060044.9887.549561499483343724.stgit@devnote2Versions newest first
- v1 Latest3 patches 13 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | bootconfig: Support non-ascii characters in valuelib/ tools/ | +2 | 0 replies | |
| 2/3 | random: rng-seed source is utf-8drivers/ | +1 | 8 replies | |
| 3/3 | random: add random.rng_seed= bootconfig optionDocumentation/ drivers/ drivers/ +3 more | +70 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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]>