Home
last modified time | relevance | path

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

/linux/security/landlock/
H A Dtsync.c30 const struct cred *old_cred; member
84 if (current_cred() == ctx->old_cred) { in restrict_one_thread()
468 int landlock_restrict_sibling_threads(const struct cred *old_cred, in landlock_restrict_sibling_threads() argument
482 shared_ctx.old_cred = old_cred; in landlock_restrict_sibling_threads()
/linux/net/bluetooth/
H A Daf_bluetooth.c213 const struct cred *old_cred;
238 old_cred = sk->sk_peer_cred; in bt_accept_enqueue()
244 put_cred(old_cred); in bt_accept_enqueue()
216 const struct cred *old_cred; bt_accept_enqueue() local
/linux/kernel/
H A Dptrace.c137 const struct cred *old_cred; in __ptrace_unlink()
147 old_cred = child->ptracer_cred; in __ptrace_unlink()
149 put_cred(old_cred); in __ptrace_unlink()
119 const struct cred *old_cred; __ptrace_unlink() local
/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()