]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
UBUNTU: SAUCE: Dump stack when X.509 certificates cannot be loaded
authorTim Gardner <tim.gardner@canonical.com>
Tue, 15 Mar 2016 12:30:40 +0000 (06:30 -0600)
committerSeth Forshee <seth.forshee@canonical.com>
Tue, 5 Sep 2017 12:33:11 +0000 (07:33 -0500)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
certs/system_keyring.c

index 6251d1b27f0cbd1414287770c8510774a61ba4bc..dac7bd75fdea1833c8a5b55334f81dc754f9693e 100644 (file)
@@ -171,6 +171,7 @@ static __init int load_system_certificate_list(void)
                if (IS_ERR(key)) {
                        pr_err("Problem loading in-kernel X.509 certificate (%ld)\n",
                               PTR_ERR(key));
+                       WARN_ON_ONCE(1);
                } else {
                        pr_notice("Loaded X.509 cert '%s'\n",
                                  key_ref_to_ptr(key)->description);