[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 3/4] Add lockdown mode



On Mon, May 12, 2025 at 11:39 AM Jan Beulich <jbeulich@xxxxxxxx> wrote:
>
> I can't spot the effect the comment mentions anywhere in this patch. Is the
> description perhaps lacking some detail? It's rather odd after all to see ...
>
> ... such custom token splitting ahead of normal command line handling.

If the UEFI firmware reports that secure boot mode is enabled then Xen
lockdown mode will always be enabled.

But we also have a command line argument to enable lockdown mode without secure
boot. This is the thing that lockdown_init() is looking for.

It is important to know if we are in lockdown mode or not before parsing any
other arguments. Otherwise there will be a race between parsing potentially
unsafe arguments and finding the lockdown enable argument.



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.