From c60d15178c74e950ef89f9a619746c5aaa98da23 Mon Sep 17 00:00:00 2001 From: Laura Abbott Date: Mon, 18 Jun 2018 09:44:24 -0700 Subject: Linux v4.18-rc1 --- efi-lockdown.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'efi-lockdown.patch') diff --git a/efi-lockdown.patch b/efi-lockdown.patch index a12721802..09b89db58 100644 --- a/efi-lockdown.patch +++ b/efi-lockdown.patch @@ -669,7 +669,7 @@ index a6e43a5806a1..9c1709a05037 100644 - } - /* Not having a signature is only an error if we're strict. */ -- if (err == -ENOKEY && !sig_enforce) +- if (err == -ENOKEY && !is_module_sig_enforced()) - err = 0; + /* We don't permit modules to be loaded into trusted kernels + * without a valid signature on them, but if we're not -- cgit