]> git.proxmox.com Git - mirror_ubuntu-zesty-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)
committerTim Gardner <tim.gardner@canonical.com>
Mon, 20 Feb 2017 03:57:58 +0000 (20:57 -0700)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
certs/system_keyring.c

index 50979d6dcecd80140840d7cdb4e0816adcb30c20..a7279e78072ccf180fdf8ba72458563212fab102 100644 (file)
@@ -148,6 +148,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);