summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorJames Morris <james.l.morris@oracle.com>2014-07-24 13:36:19 +0200
committerJames Morris <james.l.morris@oracle.com>2014-07-24 13:36:19 +0200
commit4ca332e11df42604e784bd7da9e483160636d05e (patch)
tree82e6ba6dff978edc2132e751c19197de50218c7e /kernel
parentcommoncap: don't alloc the credential unless needed in cap_task_prctl (diff)
parentMerge branch 'keys-fixes' into keys-next (diff)
downloadlinux-4ca332e11df42604e784bd7da9e483160636d05e.tar.xz
linux-4ca332e11df42604e784bd7da9e483160636d05e.zip
Merge tag 'keys-next-20140722' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs into next
Diffstat (limited to 'kernel')
-rw-r--r--kernel/system_keyring.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/system_keyring.c b/kernel/system_keyring.c
index 52ebc70263f4..875f64e8935b 100644
--- a/kernel/system_keyring.c
+++ b/kernel/system_keyring.c
@@ -89,6 +89,7 @@ static __init int load_system_certificate_list(void)
pr_err("Problem loading in-kernel X.509 certificate (%ld)\n",
PTR_ERR(key));
} else {
+ set_bit(KEY_FLAG_BUILTIN, &key_ref_to_ptr(key)->flags);
pr_notice("Loaded X.509 cert '%s'\n",
key_ref_to_ptr(key)->description);
key_ref_put(key);