Re: [PATCH 3/3] vsprintf: Add use-early-random-bytes cmd line option
From: Andrew Morton
Date: Wed May 02 2018 - 17:56:53 EST
On Wed, 2 May 2018 09:33:40 +1000 "Tobin C. Harding" <me@xxxxxxxx> wrote:
> Currently if an attempt is made to print a pointer before there is
> enough entropy then '(____ptrval____)' is printed. This makes debugging
> early stage stack traces difficult. We can relax the requirement for
> cryptographically secure hashing when debugging while still maintaining
> pointer hashing behaviour.
>
> Add a command line option 'use-early-random-bytes'. When enabled get
> key material from the hw RNG if available.
Documentation/admin-guide/kernel-parameters.rst, please.
> This option should NOT be enabled on production kernels.
And the documentation should explain why this recommendation is made.
Here was I scratching my head wondering why this feature isn't just
permanently enabled. Still scratching away...