Searched refs:old_cred (Results 1 – 3 of 3) sorted by relevance
33 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 never162 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
214 const struct cred *old_cred; in bt_accept_enqueue() local239 old_cred = sk->sk_peer_cred; in bt_accept_enqueue()245 put_cred(old_cred); in bt_accept_enqueue()
781 const struct cred *old_cred; in update_peercred() local786 old_cred = sk->sk_peer_cred; in update_peercred()791 peercred->peer_cred = old_cred; in update_peercred()