Home
last modified time | relevance | path

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

/linux-2.6.39/security/keys/
Dprocess_keys.c48 struct key *uid_keyring, *session_keyring; in install_user_keyrings() local
57 if (user->uid_keyring) { in install_user_keyrings()
65 if (!user->uid_keyring) { in install_user_keyrings()
72 uid_keyring = find_keyring_by_name(buf, true); in install_user_keyrings()
73 if (IS_ERR(uid_keyring)) { in install_user_keyrings()
74 uid_keyring = keyring_alloc(buf, user->uid, (gid_t) -1, in install_user_keyrings()
77 if (IS_ERR(uid_keyring)) { in install_user_keyrings()
78 ret = PTR_ERR(uid_keyring); in install_user_keyrings()
99 ret = key_link(session_keyring, uid_keyring); in install_user_keyrings()
105 user->uid_keyring = uid_keyring; in install_user_keyrings()
[all …]
Drequest_key.c327 dest_keyring = key_get(cred->user->uid_keyring); in construct_get_dest_keyring()
/linux-2.6.39/kernel/
Duser.c102 key_put(up->uid_keyring); in free_user()
166 key_put(new->uid_keyring); in alloc_uid()
/linux-2.6.39/include/linux/
Dsched.h700 struct key *uid_keyring; /* UID specific keyring */ member