Lines Matching defs:keyring
32 * - execute "/sbin/request-key <op> <key> <uid> <gid> <keyring> <keyring> <keyring>"
41 struct key *keyring;
49 /* allocate a new session keyring */
52 keyring = keyring_alloc(desc, current->fsuid, current->fsgid, current,
54 if (IS_ERR(keyring)) {
55 ret = PTR_ERR(keyring);
59 /* attach the auth key to the session keyring */
60 ret = __key_link(keyring, authkey);
111 ret = call_usermodehelper_keys(argv[0], argv, envp, keyring, 1);
114 key_put(keyring);
225 /* set the timeout and store in the session keyring if we can */
230 struct key *keyring;
233 keyring = rcu_dereference(current->signal->session_keyring);
234 atomic_inc(&keyring->usage);
237 key_link(keyring, key);
238 key_put(keyring);
331 * link a freshly minted key to an appropriate destination keyring
340 /* find the appropriate keyring */
393 * - cache the key in an appropriate keyring
467 /* link the new key into the appropriate keyring */