Lines Matching defs:keyring
64 struct key *keyring = info->data;
69 return install_session_keyring_to_cred(cred, keyring);
74 struct key *keyring = info->data;
75 key_put(keyring);
95 * - execute "/sbin/request-key <op> <key> <uid> <gid> <keyring> <keyring> <keyring>"
103 struct key *key = cons->key, *authkey = cons->authkey, *keyring,
116 /* allocate a new session keyring */
120 keyring = keyring_alloc(desc, cred->fsuid, cred->fsgid, cred,
123 if (IS_ERR(keyring)) {
124 ret = PTR_ERR(keyring);
128 /* attach the auth key to the session keyring */
129 ret = key_link(keyring, authkey);
177 ret = call_usermodehelper_keys(argv[0], argv, envp, keyring,
192 key_put(keyring);
249 * get the appropriate destination keyring for the request
250 * - we return whatever keyring we select with an extra reference upon it which
261 /* find the appropriate keyring */
266 /* use a default keyring; falling through the cases until we
360 /* attach the key to the destination keyring under lock, but we do need
473 * - cache the key in an appropriate keyring