Lines Matching refs:description
51 * extract the description of a new key from userspace and either add it as a
64 char type[32], *description;
78 description = strndup_user(_description, PAGE_SIZE);
79 if (IS_ERR(description)) {
80 ret = PTR_ERR(description);
114 key_ref = key_create_or_update(keyring_ref, type, description,
132 kfree(description);
158 char type[32], *description, *callout_info;
166 /* pull the description into kernel space */
167 description = strndup_user(_description, PAGE_SIZE);
168 if (IS_ERR(description)) {
169 ret = PTR_ERR(description);
204 key = request_key_and_link(ktype, description, callout_info,
222 kfree(description);
462 * - unless there's an error, we return the amount of description available,
464 * - the description is formatted thus:
465 * type;uid;gid;perm;description<NUL>
498 /* calculate how much description we're going to return */
512 key->description ?: "");
554 char type[32], *description;
557 /* pull the type and description into kernel space */
562 description = strndup_user(_description, PAGE_SIZE);
563 if (IS_ERR(description)) {
564 ret = PTR_ERR(description);
594 key_ref = keyring_search(keyring_ref, ktype, description);
626 kfree(description);