Add the ability to lock down access to the running kernel image
authorDavid Howells <dhowells@redhat.com>
Wed, 8 Nov 2017 15:11:31 +0000 (15:11 +0000)
committerSalvatore Bonaccorso <carnil@debian.org>
Tue, 20 Mar 2018 08:31:07 +0000 (08:31 +0000)
commit35be6f5c45654121abd8ac3236c48ebb6d3475b2
tree5de047a5e68df7287e491b9cdf377c36a660bdb7
parent0276eb5901157c1be39d6f8a1ff278ed53676321
Add the ability to lock down access to the running kernel image

Provide a single call to allow kernel code to determine whether the system
should be locked down, thereby disallowing various accesses that might
allow the running kernel image to be changed including the loading of
modules that aren't validly signed with a key we recognise, fiddling with
MSR registers and disallowing hibernation,

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: James Morris <james.l.morris@oracle.com>
Gbp-Pq: Topic features/all/lockdown
Gbp-Pq: Name 0001-Add-the-ability-to-lock-down-access-to-the-running-k.patch
include/linux/kernel.h
include/linux/security.h
security/Kconfig
security/Makefile
security/lock_down.c [new file with mode: 0644]