summaryrefslogtreecommitdiffstats
path: root/certs
diff options
context:
space:
mode:
Diffstat (limited to 'certs')
-rw-r--r--certs/system_keyring.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/certs/system_keyring.c b/certs/system_keyring.c
index 4e2fa8ab01d6..e460d00a7781 100644
--- a/certs/system_keyring.c
+++ b/certs/system_keyring.c
@@ -31,7 +31,6 @@ extern __initconst const unsigned long system_certificate_list_size;
31 */ 31 */
32int restrict_link_by_builtin_trusted(struct key *keyring, 32int restrict_link_by_builtin_trusted(struct key *keyring,
33 const struct key_type *type, 33 const struct key_type *type,
34 unsigned long flags,
35 const union key_payload *payload) 34 const union key_payload *payload)
36{ 35{
37 return restrict_link_by_signature(system_trusted_keyring, 36 return restrict_link_by_signature(system_trusted_keyring,
@@ -97,7 +96,6 @@ static __init int load_system_certificate_list(void)
97 ((KEY_POS_ALL & ~KEY_POS_SETATTR) | 96 ((KEY_POS_ALL & ~KEY_POS_SETATTR) |
98 KEY_USR_VIEW | KEY_USR_READ), 97 KEY_USR_VIEW | KEY_USR_READ),
99 KEY_ALLOC_NOT_IN_QUOTA | 98 KEY_ALLOC_NOT_IN_QUOTA |
100 KEY_ALLOC_TRUSTED |
101 KEY_ALLOC_BUILT_IN | 99 KEY_ALLOC_BUILT_IN |
102 KEY_ALLOC_BYPASS_RESTRICTION); 100 KEY_ALLOC_BYPASS_RESTRICTION);
103 if (IS_ERR(key)) { 101 if (IS_ERR(key)) {