diff options
Diffstat (limited to 'security/keys/request_key_auth.c')
-rw-r--r-- | security/keys/request_key_auth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/keys/request_key_auth.c b/security/keys/request_key_auth.c index f22264632229..1ecd3d3fa9f8 100644 --- a/security/keys/request_key_auth.c +++ b/security/keys/request_key_auth.c | |||
@@ -126,7 +126,7 @@ struct key *request_key_auth_new(struct key *target, struct key **_rkakey) | |||
126 | 126 | ||
127 | rkakey = key_alloc(&key_type_request_key_auth, desc, | 127 | rkakey = key_alloc(&key_type_request_key_auth, desc, |
128 | current->fsuid, current->fsgid, | 128 | current->fsuid, current->fsgid, |
129 | KEY_USR_VIEW, 1); | 129 | KEY_POS_VIEW | KEY_USR_VIEW, 1); |
130 | if (IS_ERR(rkakey)) { | 130 | if (IS_ERR(rkakey)) { |
131 | key_put(keyring); | 131 | key_put(keyring); |
132 | kleave("= %ld", PTR_ERR(rkakey)); | 132 | kleave("= %ld", PTR_ERR(rkakey)); |