]> git.ipfire.org Git - thirdparty/grub.git/commit
kern/lockdown: Set a variable if the GRUB is locked down
authorJavier Martinez Canillas <javierm@redhat.com>
Tue, 2 Feb 2021 18:59:48 +0000 (19:59 +0100)
committerDaniel Kiper <daniel.kiper@oracle.com>
Tue, 2 Mar 2021 14:54:15 +0000 (15:54 +0100)
commitd90367471779c240e002e62edfb6b31fc85b4908
tree263aa0d30ad7fb4f3515e730a4424da19e2caed8
parent578c95298bcc46e0296f4c786db64c2ff26ce2cc
kern/lockdown: Set a variable if the GRUB is locked down

It may be useful for scripts to determine whether the GRUB is locked
down or not. Add the lockdown variable which is set to "y" when the GRUB
is locked down.

Suggested-by: Dimitri John Ledkov <xnox@ubuntu.com>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
docs/grub.texi
grub-core/kern/lockdown.c