Lines Matching defs:keyring
338 struct key *keyring;
341 /* create an override credential set with a special thread keyring in
351 keyring = keyring_alloc(".dns_resolver",
356 if (IS_ERR(keyring)) {
357 ret = PTR_ERR(keyring);
365 /* instruct request_key() to use this special keyring as a cache for
367 set_bit(KEY_FLAG_ROOT_CAN_CLEAR, &keyring->flags);
368 cred->thread_keyring = keyring;
372 kdebug("DNS resolver keyring: %d\n", key_serial(keyring));
376 key_put(keyring);