Home
last modified time | relevance | path

Searched refs:override_creds (Results 1 – 25 of 25) sorted by relevance

/openbmc/linux/net/dns_resolver/
H A Ddns_query.c127 saved_cred = override_creds(dns_resolver_cache); in dns_query()
/openbmc/linux/fs/nfsd/
H A Dauth.c82 put_cred(override_creds(new)); in nfsd_setuser()
H A Dnfsfh.c229 put_cred(override_creds(new)); in nfsd_set_fh_dentry()
H A Dnfs4recover.c83 *original_creds = override_creds(new); in nfs4_save_creds()
/openbmc/linux/fs/smb/client/
H A Dcifs_spnego.c160 saved_cred = override_creds(spnego_cred); in cifs_get_spnego_key()
H A Dcifsacl.c295 saved_cred = override_creds(root_cred); in id_to_sid()
401 saved_cred = override_creds(root_cred); in sid_to_id()
/openbmc/linux/include/linux/
H A Dcred.h157 extern const struct cred *override_creds(const struct cred *);
/openbmc/linux/kernel/
H A Dcred.c483 const struct cred *override_creds(const struct cred *new) in override_creds() function
505 EXPORT_SYMBOL(override_creds);
H A Dacct.c505 orig_cred = override_creds(file->f_cred); in do_acct_process()
/openbmc/linux/fs/cachefiles/
H A Dinternal.h396 *_saved_cred = override_creds(cache->cache_cred); in cachefiles_begin_secure()
/openbmc/linux/io_uring/
H A Dsqpoll.c182 creds = override_creds(ctx->sq_creds); in __io_sq_thread()
H A Dio_uring.c1864 creds = override_creds(req->creds); in io_issue_sqe()
/openbmc/linux/fs/smb/server/
H A Dsmb_common.c774 work->saved_cred = override_creds(cred); in __ksmbd_override_fsids()
/openbmc/linux/fs/nfs/
H A Dnfs4idmap.c314 saved_cred = override_creds(id_resolver_cache); in nfs_idmap_get_key()
/openbmc/linux/fs/
H A Dcoredump.c575 old_cred = override_creds(cred); in do_coredump()
H A Dopen.c449 old_cred = override_creds(override_cred); in access_override_creds()
H A Daio.c1602 const struct cred *old_cred = override_creds(iocb->fsync.creds); in aio_fsync_work()
/openbmc/linux/fs/overlayfs/
H A Dcopy_up.c689 cc->old = override_creds(cc->new); in ovl_prep_cu_creds()
H A Dutil.c42 return override_creds(ofs->creator_cred); in ovl_override_creds()
H A Ddir.c602 put_cred(override_creds(override_cred)); in ovl_create_or_link()
/openbmc/linux/drivers/crypto/ccp/
H A Dsev-dev.c193 old_cred = override_creds(cred); in open_file_as_root()
/openbmc/linux/drivers/base/firmware_loader/
H A Dmain.c910 old_cred = override_creds(kern_cred); in _request_firmware()
/openbmc/linux/kernel/trace/
H A Dtrace_events_user.c1454 old_cred = override_creds(cred); in user_event_set_call_visible()
/openbmc/linux/drivers/target/
H A Dtarget_core_configfs.c3721 old_cred = override_creds(kern_cred); in target_core_init_configfs()
/openbmc/linux/kernel/cgroup/
H A Dcgroup.c5160 saved_cred = override_creds(of->file->f_cred); in __cgroup_procs_write()