Messages in this thread | | | Date | Sun, 25 Aug 2013 17:26:19 +0100 | From | Matthew Garrett <> | Subject | Re: [PATCH 10/18] efi: Enable secure boot lockdown automatically when enabled in firmware |
| |
On Sun, Aug 25, 2013 at 06:22:43PM +0200, Pavel Machek wrote: > On Thu 2013-08-22 19:01:49, Lee, Chun-Yi wrote: > > From: Matthew Garrett <mjg@redhat.com> > > > > The firmware has a set of flags that indicate whether secure boot is enabled > > and enforcing. Use them to indicate whether the kernel should lock itself > > down. We also indicate the machine is in secure boot mode by adding the > > EFI_SECURE_BOOT bit for use with efi_enabled. > > > + status = efi_call_phys5(sys_table->runtime->get_variable, > > + L"SecureBoot", &var_guid, NULL, &datasize, &sb); > > What is this L"..." thing?
http://en.wikipedia.org/wiki/C_syntax#Wide_character_strings -- Matthew Garrett | mjg59@srcf.ucam.org
| |