Home
last modified time | relevance | path

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

/linux/security/landlock/
H A Dtsync.c33 const struct cred *old_cred;
89 if (current_cred() == ctx->old_cred) { in restrict_one_thread()
91 * Switch out old_cred with new_cred, if possible. in restrict_one_thread()
159 * where old_cred and new_cred carry the same domain. A sibling never
162 if (new_dom != landlock_cred(ctx->old_cred)->domain) in restrict_one_thread_callback()
485 int landlock_restrict_sibling_threads(const struct cred *old_cred, in landlock_restrict_sibling_threads()
500 shared_ctx.old_cred = old_cred; in landlock_restrict_sibling_threads()
30 const struct cred *old_cred; global() member
468 landlock_restrict_sibling_threads(const struct cred * old_cred,const struct cred * new_cred) landlock_restrict_sibling_threads() argument
/linux/net/bluetooth/
H A Daf_bluetooth.c214 const struct cred *old_cred; in bt_accept_enqueue() local
239 old_cred = sk->sk_peer_cred; in bt_accept_enqueue()
245 put_cred(old_cred); in bt_accept_enqueue()
/linux/net/unix/
H A Daf_unix.c781 const struct cred *old_cred; in update_peercred() local
786 old_cred = sk->sk_peer_cred; in update_peercred()
791 peercred->peer_cred = old_cred; in update_peercred()