Home
last modified time | relevance | path

Searched refs:orig_cred (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/kernel/
Dacct.c475 const struct cred *orig_cred; in do_acct_process() local
484 orig_cred = override_creds(file->f_cred); in do_acct_process()
495 ac.ac_uid = from_kuid_munged(file->f_cred->user_ns, orig_cred->uid); in do_acct_process()
496 ac.ac_gid = from_kgid_munged(file->f_cred->user_ns, orig_cred->gid); in do_acct_process()
525 revert_creds(orig_cred); in do_acct_process()
/Linux-v5.4/drivers/misc/mic/cosm/
Dcosm_main.c64 const struct cred *orig_cred; in cosm_start() local
103 orig_cred = override_creds(override_cred); in cosm_start()
107 revert_creds(orig_cred); in cosm_start()