/kernel/linux/linux-5.10/fs/cachefiles/ |
D | interface.c | 124 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 …]
|
D | bind.c | 87 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()
|
D | daemon.c | 553 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()
|
D | internal.h | 235 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/ |
D | dns_query.c | 81 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/ |
D | cifs_spnego.c | 108 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()
|
D | cifsacl.c | 290 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/ |
D | authentication.c | 157 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()
|
D | authentication.h | 22 const struct cred *saved_cred; member
|
/kernel/linux/linux-5.10/fs/hmdfs/ |
D | inode_local.c | 414 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()
|
D | hmdfs_dentryfile.c | 541 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/ |
D | nfs4idmap.c | 309 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/ |
D | socket_adapter.c | 725 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/ |
D | cgroup.c | 4858 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()
|