]> 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>
Wed, 6 Apr 2016 09:27:02 +0000 (10:27 +0100)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
certs/system_keyring.c

index 2570598b784de05e9030d3e08aca1c199b2a8fc6..878f74fe472cf509b12c682f86bee8fd22657a88 100644 (file)
@@ -88,6 +88,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 {
                        set_bit(KEY_FLAG_BUILTIN, &key_ref_to_ptr(key)->flags);
                        pr_notice("Loaded X.509 cert '%s'\n",