Home
last modified time | relevance | path

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

/Linux-v4.19/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-v4.19/drivers/misc/mic/cosm/
Dcosm_main.c76 const struct cred *orig_cred; in cosm_start() local
115 orig_cred = override_creds(override_cred); in cosm_start()
119 revert_creds(orig_cred); in cosm_start()