diff options
Diffstat (limited to 'security/keys/internal.h')
-rw-r--r-- | security/keys/internal.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/security/keys/internal.h b/security/keys/internal.h index 479909b858c7..8f533c81aa8d 100644 --- a/security/keys/internal.h +++ b/security/keys/internal.h | |||
@@ -186,20 +186,9 @@ static inline int key_permission(const key_ref_t key_ref, unsigned perm) | |||
186 | return key_task_permission(key_ref, current_cred(), perm); | 186 | return key_task_permission(key_ref, current_cred(), perm); |
187 | } | 187 | } |
188 | 188 | ||
189 | /* | ||
190 | * Authorisation record for request_key(). | ||
191 | */ | ||
192 | struct request_key_auth { | ||
193 | struct key *target_key; | ||
194 | struct key *dest_keyring; | ||
195 | const struct cred *cred; | ||
196 | void *callout_info; | ||
197 | size_t callout_len; | ||
198 | pid_t pid; | ||
199 | } __randomize_layout; | ||
200 | |||
201 | extern struct key_type key_type_request_key_auth; | 189 | extern struct key_type key_type_request_key_auth; |
202 | extern struct key *request_key_auth_new(struct key *target, | 190 | extern struct key *request_key_auth_new(struct key *target, |
191 | const char *op, | ||
203 | const void *callout_info, | 192 | const void *callout_info, |
204 | size_t callout_len, | 193 | size_t callout_len, |
205 | struct key *dest_keyring); | 194 | struct key *dest_keyring); |