[PATCH v2] seedrng: import SeedRNG utility for kernel RNG seed files

Lauri Kasanen cand at gmx.com
Tue Apr 5 05:10:37 UTC 2022


On Tue,  5 Apr 2022 01:23:38 +0200
"Jason A. Donenfeld" <Jason at zx2c4.com> wrote:

> +//config:config SEEDRNG
> +//config:	bool "seedrng (3.8 kb)"
> +//config:	default y
> +//config:	help
> +//config:	Seed the kernel RNG from seed files, meant to be called
> +//config:	once during startup, once during shutdown, and optionally
> +//config:	at some periodic interval in between.
...
> +//usage:#define seedrng_trivial_usage
> +//usage:	"[-d SEED_DIRECTORY] [-l LOCK_FILE] [-n]"
> +//usage:#define seedrng_full_usage "\n\n"
> +//usage:	"Seed the kernel RNG from seed files."
> +//usage:	"\n"
> +//usage:	"\n	-d, --seed-dir DIR	Use seed files from specified directory (default: /var/lib/seedrng)"
> +//usage:	"\n	-l, --lock-file FILE	Use file as exclusive lock (default: /var/run/seedrng.lock)"
> +//usage:	"\n	-n, --skip-credit	Skip crediting seeds, even if creditable"

In these two places, please add an explanation what is
"crediting/creditable". The entire program fails to mention it now.

- Lauri


More information about the busybox mailing list