[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6306.1485209503@warthog.procyon.org.uk>
Date: Mon, 23 Jan 2017 22:11:43 +0000
From: David Howells <dhowells@...hat.com>
To: Matt Fleming <matt@...eblueprint.co.uk>
Cc: dhowells@...hat.com, ard.biesheuvel@...aro.org,
linux-efi@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-security-module@...r.kernel.org, keyrings@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
"H. Peter Anvin" <hpa@...or.com>, Peter Jones <pjones@...hat.com>
Subject: Re: [PATCH 5/8] efi: Get the secure boot status [ver #6]
Matt Fleming <matt@...eblueprint.co.uk> wrote:
> > (4) extract_kernel() calls sanitize_boot_params() which would otherwise clear
> > the secure-boot flag.
>
> The ->sentinel flag should be clear (because you zero'd boot_params on
> alloc), so the code inside of sanitize_boot_params() should never
> trigger for the secure boot case.
But it *does* trigger, otherwise I wouldn't've noticed this.
David
Powered by blists - more mailing lists