Home
last modified time | relevance | path

Searched refs:old_cred (Results 1 – 7 of 7) 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()
470 int landlock_restrict_sibling_threads(const struct cred *old_cred, in landlock_restrict_sibling_threads() argument
484 shared_ctx.old_cred = old_cred; in landlock_restrict_sibling_threads()
H A Dtsync.h13 int landlock_restrict_sibling_threads(const struct cred *old_cred,
/linux/fs/
H A Dopen.c471 const struct cred *old_cred = NULL; in do_faccessat() local
483 old_cred = access_override_creds(); in do_faccessat()
484 if (!old_cred) in do_faccessat()
530 if (old_cred) in do_faccessat()
531 put_cred(revert_creds(old_cred)); in do_faccessat()
/linux/net/bluetooth/
H A Daf_bluetooth.c215 const struct cred *old_cred; in bt_accept_enqueue() local
235 old_cred = sk->sk_peer_cred; in bt_accept_enqueue()
241 put_cred(old_cred); in bt_accept_enqueue()
/linux/kernel/
H A Dptrace.c119 const struct cred *old_cred; in __ptrace_unlink() local
129 old_cred = child->ptracer_cred; in __ptrace_unlink()
131 put_cred(old_cred); in __ptrace_unlink()
/linux/fs/overlayfs/
H A Ddir.c607 static void ovl_revert_creator_creds(const struct cred *old_cred) in ovl_revert_creator_creds() argument
611 override_cred = revert_creds(old_cred); in ovl_revert_creator_creds()
/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()