Home
last modified time | relevance | path

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

/linux-4.4.14/kernel/
Dacct.c472 const struct cred *orig_cred; in do_acct_process() local
481 orig_cred = override_creds(file->f_cred); in do_acct_process()
492 ac.ac_uid = from_kuid_munged(file->f_cred->user_ns, orig_cred->uid); in do_acct_process()
493 ac.ac_gid = from_kgid_munged(file->f_cred->user_ns, orig_cred->gid); in do_acct_process()
522 revert_creds(orig_cred); in do_acct_process()
/linux-4.4.14/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()