diff options
author | Thorsten Leemhuis <fedora@leemhuis.info> | 2017-09-06 22:31:31 +0200 |
---|---|---|
committer | Thorsten Leemhuis <fedora@leemhuis.info> | 2017-09-06 22:31:31 +0200 |
commit | d9e183729c045ffb0ca5e4ca3bb9b7e98d49ef40 (patch) | |
tree | 246968b9f432aeaa611043f96bf4a5a7e9ad7cda /efi-lockdown.patch | |
parent | 4a58943947fffb789bcc910f9af400ea48ff5009 (diff) | |
parent | 7c0c57cc1253c716ffabbfcb7bee34c24f0b86d2 (diff) | |
download | kernel-4.14.0-0.rc0.git1.1.vanilla.knurd.1.fc28.tar.gz kernel-4.14.0-0.rc0.git1.1.vanilla.knurd.1.fc28.tar.xz kernel-4.14.0-0.rc0.git1.1.vanilla.knurd.1.fc28.zip |
Merge remote-tracking branch 'origin/master'kernel-4.14.0-0.rc0.git1.1.vanilla.knurd.1.fc28kernel-4.14.0-0.rc0.git1.1.vanilla.knurd.1.fc27kernel-4.14.0-0.rc0.git1.1.vanilla.knurd.1.fc26kernel-4.14.0-0.rc0.git1.1.vanilla.knurd.1.fc25
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()) { |