Home
last modified time | relevance | path

Searched refs:saved_cred (Results 1 – 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/fs/cachefiles/
Dinterface.c124 const struct cred *saved_cred; in cachefiles_lookup_object() local
138 cachefiles_begin_secure(cache, &saved_cred); in cachefiles_lookup_object()
142 cachefiles_end_secure(cache, saved_cred); in cachefiles_lookup_object()
210 const struct cred *saved_cred; in cachefiles_update_object() local
250 cachefiles_begin_secure(cache, &saved_cred); in cachefiles_update_object()
252 cachefiles_end_secure(cache, saved_cred); in cachefiles_update_object()
265 const struct cred *saved_cred; in cachefiles_drop_object() local
298 cachefiles_begin_secure(cache, &saved_cred); in cachefiles_drop_object()
300 cachefiles_end_secure(cache, saved_cred); in cachefiles_drop_object()
379 const struct cred *saved_cred; in cachefiles_sync_cache() local
[all …]
Dbind.c87 const struct cred *saved_cred; in cachefiles_daemon_add_cache() local
97 cachefiles_begin_secure(cache, &saved_cred); in cachefiles_daemon_add_cache()
137 ret = cachefiles_determine_cache_security(cache, root, &saved_cred); in cachefiles_daemon_add_cache()
232 cachefiles_end_secure(cache, saved_cred); in cachefiles_daemon_add_cache()
247 cachefiles_end_secure(cache, saved_cred); in cachefiles_daemon_add_cache()
Ddaemon.c553 const struct cred *saved_cred; in cachefiles_daemon_cull() local
577 cachefiles_begin_secure(cache, &saved_cred); in cachefiles_daemon_cull()
579 cachefiles_end_secure(cache, saved_cred); in cachefiles_daemon_cull()
625 const struct cred *saved_cred; in cachefiles_daemon_inuse() local
649 cachefiles_begin_secure(cache, &saved_cred); in cachefiles_daemon_inuse()
651 cachefiles_end_secure(cache, saved_cred); in cachefiles_daemon_inuse()
Dinternal.h235 const struct cred *saved_cred) in cachefiles_end_secure() argument
237 revert_creds(saved_cred); in cachefiles_end_secure()
/kernel/linux/linux-5.10/net/dns_resolver/
Ddns_query.c81 const struct cred *saved_cred; in dns_query() local
127 saved_cred = override_creds(dns_resolver_cache); in dns_query()
129 revert_creds(saved_cred); in dns_query()
/kernel/linux/linux-5.10/fs/cifs/
Dcifs_spnego.c108 const struct cred *saved_cred; in cifs_get_spnego_key() local
172 saved_cred = override_creds(spnego_cred); in cifs_get_spnego_key()
174 revert_creds(saved_cred); in cifs_get_spnego_key()
Dcifsacl.c290 const struct cred *saved_cred; in id_to_sid() local
298 saved_cred = override_creds(root_cred); in id_to_sid()
333 revert_creds(saved_cred); in id_to_sid()
348 const struct cred *saved_cred; in sid_to_id() local
404 saved_cred = override_creds(root_cred); in sid_to_id()
446 revert_creds(saved_cred); in sid_to_id()
/kernel/linux/linux-5.10/fs/hmdfs/authority/
Dauthentication.c157 or->saved_cred = hmdfs_override_dir_fsids(dir, dentry, perm); in hmdfs_override_dir_id_fs()
158 if (!or->saved_cred) in hmdfs_override_dir_id_fs()
164 hmdfs_revert_fsids(or->saved_cred); in hmdfs_override_dir_id_fs()
174 hmdfs_revert_fsids(or->saved_cred); in hmdfs_revert_dir_id_fs()
Dauthentication.h22 const struct cred *saved_cred; member
/kernel/linux/linux-5.10/fs/hmdfs/
Dinode_local.c414 const struct cred *saved_cred = NULL; in hmdfs_create_local_dentry() local
420 saved_cred = hmdfs_override_file_fsids(dir, &child_perm); in hmdfs_create_local_dentry()
421 if (!saved_cred) { in hmdfs_create_local_dentry()
468 hmdfs_revert_fsids(saved_cred); in hmdfs_create_local_dentry()
782 const struct cred *saved_cred = NULL; in hmdfs_symlink_local() local
793 saved_cred = hmdfs_override_file_fsids(dir, &child_perm); in hmdfs_symlink_local()
794 if (!saved_cred) { in hmdfs_symlink_local()
834 hmdfs_revert_fsids(saved_cred); in hmdfs_symlink_local()
Dhmdfs_dentryfile.c541 const struct cred *saved_cred; in read_dentry() local
543 saved_cred = hmdfs_override_fsids(false); in read_dentry()
544 if (!saved_cred) { in read_dentry()
603 hmdfs_revert_fsids(saved_cred); in read_dentry()
/kernel/linux/linux-5.10/fs/nfs/
Dnfs4idmap.c309 const struct cred *saved_cred; in nfs_idmap_get_key() local
314 saved_cred = override_creds(id_resolver_cache); in nfs_idmap_get_key()
316 revert_creds(saved_cred); in nfs_idmap_get_key()
/kernel/linux/linux-5.10/fs/hmdfs/comm/
Dsocket_adapter.c725 const struct cred *saved_cred = hmdfs_override_fsids(true); in hmdfs_request_handle_sync() local
727 if (!saved_cred) { in hmdfs_request_handle_sync()
738 hmdfs_revert_fsids(saved_cred); in hmdfs_request_handle_sync()
/kernel/linux/linux-5.10/kernel/cgroup/
Dcgroup.c4858 const struct cred *saved_cred; in __cgroup_procs_write() local
4881 saved_cred = override_creds(of->file->f_cred); in __cgroup_procs_write()
4885 revert_creds(saved_cred); in __cgroup_procs_write()