Lines Matching defs:keyring
193 struct key *keyring;
200 * Create an override credential set with special thread keyring for
208 keyring = keyring_alloc(".cifs_spnego",
213 if (IS_ERR(keyring)) {
214 ret = PTR_ERR(keyring);
223 * instruct request_key() to use this special keyring as a cache for
226 set_bit(KEY_FLAG_ROOT_CAN_CLEAR, &keyring->flags);
227 cred->thread_keyring = keyring;
231 cifs_dbg(FYI, "cifs spnego keyring: %d\n", key_serial(keyring));
235 key_put(keyring);