Home
last modified time | relevance | path

Searched refs:uid_keyring (Results 1 – 3 of 3) sorted by relevance

/linux/security/keys/
H A Dprocess_keys.c79 struct key *reg_keyring, *uid_keyring, *session_keyring; in look_up_user_keyrings() local
106 uid_keyring = keyring_alloc(buf, cred->user->uid, INVALID_GID, in look_up_user_keyrings()
111 if (IS_ERR(uid_keyring)) { in look_up_user_keyrings()
112 ret = PTR_ERR(uid_keyring); in look_up_user_keyrings()
119 uid_keyring = key_ref_to_ptr(uid_keyring_r); in look_up_user_keyrings()
141 ret = key_link(session_keyring, uid_keyring); in look_up_user_keyrings()
165 *_user_keyring = uid_keyring; in look_up_user_keyrings()
167 key_put(uid_keyring); in look_up_user_keyrings()
174 key_put(uid_keyring); in look_up_user_keyrings()
H A Dinternal.h142 extern struct key *find_keyring_by_name(const char *name, bool uid_keyring);
H A Dkeyring.c1144 struct key *find_keyring_by_name(const char *name, bool uid_keyring) in find_keyring_by_name() argument
1167 if (uid_keyring) { in find_keyring_by_name()