Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1623953

Re: [PATCH 06/24] Add a sysrq option to exit secure boot mode

From David Howells <dhowells@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH 06/24] Add a sysrq option to exit secure boot mode
Date 2017-04-15 01:20 +0200
Message-ID <twiFr-7nN-1@gated-at.bofh.it> (permalink)
References <twdZ7-4pP-11@gated-at.bofh.it> <tsZzj-7hF-5@gated-at.bofh.it> <tsZzl-7hF-47@gated-at.bofh.it> <twdPr-4ma-7@gated-at.bofh.it> <twdZ7-4pP-11@gated-at.bofh.it>
Organization Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903

Show all headers | View raw


Ard Biesheuvel <ard.biesheuvel@linaro.org> wrote:

> That does bring me to another EFI related point: many of these patches
> are x86 specific for no good reason.

Note that the sysrq one is awkward since the key chosen *is* arch-specific.
SysRq+x can't be arbitrarily assigned to this since some other arches have
their own use for it.

Anyway, the ones that are x86-specific are:

	efi: Add EFI_SECURE_BOOT bit
	efi: Lock down the kernel if booted in secure boot mode
	Add a sysrq option to exit secure boot mode
	Copy secure_boot flag in boot params across kexec reboot
	x86: Lock down IO port access when the kernel is locked down
	x86: Restrict MSR access when the kernel is locked down
	asus-wmi: Restrict debugfs interface when the kernel is locked down

The first three are dealt with in the five patches I posted later, including
making the choice of sysrq key an arch override.  The bits that can be moved
out to the efi firmware driver have been.

The 4th looks to be x86 bootloader protocol specific.

The remainder look very x86 specific, apart from one piece in the 5th patch
where /dev/port is locked down.

David

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH 06/24] Add a sysrq option to exit secure boot mode Thomas Gleixner <tglx@linutronix.de> - 2017-04-14 20:10 +0200
  Re: [PATCH 06/24] Add a sysrq option to exit secure boot mode Ard Biesheuvel <ard.biesheuvel@linaro.org> - 2017-04-14 20:20 +0200
    Re: [PATCH 06/24] Add a sysrq option to exit secure boot mode David Howells <dhowells@redhat.com> - 2017-04-15 01:20 +0200
  Re: [PATCH 06/24] Add a sysrq option to exit secure boot mode Matt Fleming <matt@codeblueprint.co.uk> - 2017-04-16 22:50 +0200

csiph-web