diff options
author | Justin M. Forbes <jforbes@fedoraproject.org> | 2017-09-06 13:29:50 -0500 |
---|---|---|
committer | Justin M. Forbes <jforbes@fedoraproject.org> | 2017-09-06 13:29:50 -0500 |
commit | 7c0c57cc1253c716ffabbfcb7bee34c24f0b86d2 (patch) | |
tree | 871937b27b7075a3e34200daf5d2d267cf236a59 /efi-lockdown.patch | |
parent | 3f038f392a8fee6573260385f5711c204e84ec79 (diff) | |
download | kernel-7c0c57cc1253c716ffabbfcb7bee34c24f0b86d2.tar.gz kernel-7c0c57cc1253c716ffabbfcb7bee34c24f0b86d2.tar.xz kernel-7c0c57cc1253c716ffabbfcb7bee34c24f0b86d2.zip |
Linux v4.13-4257-ge7d0c41ecc2e
Diffstat (limited to 'efi-lockdown.patch')
-rw-r--r-- | efi-lockdown.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/efi-lockdown.patch b/efi-lockdown.patch index e04878458..a1a1eb11f 100644 --- a/efi-lockdown.patch +++ b/efi-lockdown.patch @@ -83,9 +83,9 @@ index cb09238..3cd3be9 100644 +} +#endif + - /* Internal, do not use. */ - int __must_check _kstrtoul(const char *s, unsigned int base, unsigned long *res); - int __must_check _kstrtol(const char *s, unsigned int base, long *res); + #ifdef CONFIG_ARCH_HAS_REFCOUNT + void refcount_error_report(struct pt_regs *regs, const char *err); + #else diff --git a/include/linux/security.h b/include/linux/security.h index d3868f2..187b74b 100644 --- a/include/linux/security.h @@ -238,9 +238,9 @@ index 447905e..d44e60e 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c @@ -69,6 +69,7 @@ - #include <linux/crash_dump.h> #include <linux/tboot.h> #include <linux/jiffies.h> + #include <linux/mem_encrypt.h> +#include <linux/security.h> #include <linux/usb/xhci-dbgp.h> @@ -379,7 +379,7 @@ index d44e60e..f7635d0 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c @@ -71,6 +71,11 @@ - #include <linux/jiffies.h> + #include <linux/mem_encrypt.h> #include <linux/security.h> +#include <linux/fips.h> @@ -1392,7 +1392,7 @@ index 9939c3d..7c040e2 100644 --- a/drivers/tty/serial/serial_core.c +++ b/drivers/tty/serial/serial_core.c @@ -820,6 +820,12 @@ static int uart_set_info(struct tty_struct *tty, struct tty_port *port, - new_flags = new_info->flags; + new_flags = (__force upf_t)new_info->flags; old_custom_divisor = uport->custom_divisor; + if ((change_port || change_irq) && kernel_is_locked_down()) { |