aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/key.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/key.h')
-rw-r--r--include/linux/key.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/include/linux/key.h b/include/linux/key.h
index 2bfbf88d2740..970bbd916cf4 100644
--- a/include/linux/key.h
+++ b/include/linux/key.h
@@ -199,10 +199,12 @@ extern int key_payload_reserve(struct key *key, size_t datalen);
199extern int key_instantiate_and_link(struct key *key, 199extern int key_instantiate_and_link(struct key *key,
200 const void *data, 200 const void *data,
201 size_t datalen, 201 size_t datalen,
202 struct key *keyring); 202 struct key *keyring,
203 struct key *instkey);
203extern int key_negate_and_link(struct key *key, 204extern int key_negate_and_link(struct key *key,
204 unsigned timeout, 205 unsigned timeout,
205 struct key *keyring); 206 struct key *keyring,
207 struct key *instkey);
206extern void key_revoke(struct key *key); 208extern void key_revoke(struct key *key);
207extern void key_put(struct key *key); 209extern void key_put(struct key *key);
208 210
@@ -245,9 +247,6 @@ extern struct key *keyring_search(struct key *keyring,
245 struct key_type *type, 247 struct key_type *type,
246 const char *description); 248 const char *description);
247 249
248extern struct key *search_process_keyrings(struct key_type *type,
249 const char *description);
250
251extern int keyring_add_key(struct key *keyring, 250extern int keyring_add_key(struct key *keyring,
252 struct key *key); 251 struct key *key);
253 252