Re: [kernel-hardening] [PATCHv2 2/2] extract early boot entropy from the passed cmdline

From: Nick Kralevich
Date: Thu Aug 17 2017 - 00:56:25 EST


On Wed, Aug 16, 2017 at 3:46 PM, Laura Abbott <labbott@xxxxxxxxxx> wrote:
> From: Daniel Micay <danielmicay@xxxxxxxxx>
>
> Existing Android bootloaders usually pass data useful as early entropy
> on the kernel command-line. It may also be the case on other embedded
> systems. Sample command-line from a Google Pixel running CopperheadOS:
>

Why is it better to put this into the kernel, rather than just rely on
the existing userspace functionality which does exactly the same
thing? This is what Android already does today:
https://android-review.googlesource.com/198113

-- Nick