diff options
author | David Howells <dhowells@redhat.com> | 2016-04-06 16:14:26 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2016-04-11 22:44:15 +0100 |
commit | 77f68bac9481ad440f4f34dda3d28c2dce6eb87b (patch) | |
tree | 3366c0ab94b42cc67fdbe36a2af7ac6bc1a50467 /include/keys | |
parent | a511e1af8b12f44c6e55786c463c9f093c214fb6 (diff) | |
download | linux-stable-77f68bac9481ad440f4f34dda3d28c2dce6eb87b.tar.gz linux-stable-77f68bac9481ad440f4f34dda3d28c2dce6eb87b.tar.bz2 linux-stable-77f68bac9481ad440f4f34dda3d28c2dce6eb87b.zip |
KEYS: Remove KEY_FLAG_TRUSTED and KEY_ALLOC_TRUSTED
Remove KEY_FLAG_TRUSTED and KEY_ALLOC_TRUSTED as they're no longer
meaningful. Also we can drop the trusted flag from the preparse structure.
Given this, we no longer need to pass the key flags through to
restrict_link().
Further, we can now get rid of keyring_restrict_trusted_only() also.
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'include/keys')
-rw-r--r-- | include/keys/system_keyring.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/keys/system_keyring.h b/include/keys/system_keyring.h index 93715913a0b1..c72330ae76df 100644 --- a/include/keys/system_keyring.h +++ b/include/keys/system_keyring.h @@ -18,7 +18,6 @@ extern int restrict_link_by_builtin_trusted(struct key *keyring, const struct key_type *type, - unsigned long flags, const union key_payload *payload); #else |