diff options
author | Linn Crosetto <[email protected]> | 2019-08-19 17:17:52 -0700 |
---|---|---|
committer | James Morris <[email protected]> | 2019-08-19 21:54:16 -0700 |
commit | 6ea0e815fc5e18597724169caa6e4d46dd8e693d (patch) | |
tree | e128c849c6b2a565b79967ee3b1457015993cc2d /lib/string_helpers.c | |
parent | 41fa1ee9c6d687afb05760dd349f361855f1d7f5 (diff) |
acpi: Disable ACPI table override if the kernel is locked down
>From the kernel documentation (initrd_table_override.txt):
If the ACPI_INITRD_TABLE_OVERRIDE compile option is true, it is possible
to override nearly any ACPI table provided by the BIOS with an
instrumented, modified one.
When lockdown is enabled, the kernel should disallow any unauthenticated
changes to kernel space. ACPI tables contain code invoked by the kernel,
so do not allow ACPI tables to be overridden if the kernel is locked down.
Signed-off-by: Linn Crosetto <[email protected]>
Signed-off-by: David Howells <[email protected]>
Signed-off-by: Matthew Garrett <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
cc: [email protected]
Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions