/linux-6.3-rc2/fs/cachefiles/ |
A D | interface.c | 176 const struct cred *saved_cred; in cachefiles_lookup_cookie() local 190 cachefiles_begin_secure(cache, &saved_cred); in cachefiles_lookup_cookie() 203 cachefiles_end_secure(cache, saved_cred); in cachefiles_lookup_cookie() 208 cachefiles_end_secure(cache, saved_cred); in cachefiles_lookup_cookie() 279 const struct cred *saved_cred; in cachefiles_resize_cookie() local 286 cachefiles_begin_secure(cache, &saved_cred); in cachefiles_resize_cookie() 288 cachefiles_end_secure(cache, saved_cred); in cachefiles_resize_cookie() 353 const struct cred *saved_cred; in cachefiles_withdraw_cookie() local 368 cachefiles_begin_secure(cache, &saved_cred); in cachefiles_withdraw_cookie() 370 cachefiles_end_secure(cache, saved_cred); in cachefiles_withdraw_cookie()
|
A D | cache.c | 22 const struct cred *saved_cred; in cachefiles_add_cache() local 36 cachefiles_begin_secure(cache, &saved_cred); in cachefiles_add_cache() 77 ret = cachefiles_determine_cache_security(cache, root, &saved_cred); in cachefiles_add_cache() 156 cachefiles_end_secure(cache, saved_cred); in cachefiles_add_cache() 170 cachefiles_end_secure(cache, saved_cred); in cachefiles_add_cache() 343 const struct cred *saved_cred; in cachefiles_sync_cache() local 350 cachefiles_begin_secure(cache, &saved_cred); in cachefiles_sync_cache() 354 cachefiles_end_secure(cache, saved_cred); in cachefiles_sync_cache()
|
A D | volume.c | 21 const struct cred *saved_cred; in cachefiles_acquire_volume() local 37 cachefiles_begin_secure(cache, &saved_cred); in cachefiles_acquire_volume() 78 cachefiles_end_secure(cache, saved_cred); in cachefiles_acquire_volume() 102 cachefiles_end_secure(cache, saved_cred); in cachefiles_acquire_volume()
|
A D | daemon.c | 622 const struct cred *saved_cred; in cachefiles_daemon_cull() local 645 cachefiles_begin_secure(cache, &saved_cred); in cachefiles_daemon_cull() 647 cachefiles_end_secure(cache, saved_cred); in cachefiles_daemon_cull() 693 const struct cred *saved_cred; in cachefiles_daemon_inuse() local 716 cachefiles_begin_secure(cache, &saved_cred); in cachefiles_daemon_inuse() 718 cachefiles_end_secure(cache, saved_cred); in cachefiles_daemon_inuse()
|
A D | io.c | 397 const struct cred *saved_cred; in cachefiles_do_prepare_read() local 433 cachefiles_begin_secure(cache, &saved_cred); in cachefiles_do_prepare_read() 496 cachefiles_end_secure(cache, saved_cred); in cachefiles_do_prepare_read() 610 const struct cred *saved_cred; in cachefiles_prepare_write() local 620 cachefiles_begin_secure(cache, &saved_cred); in cachefiles_prepare_write() 624 cachefiles_end_secure(cache, saved_cred); in cachefiles_prepare_write()
|
A D | xattr.c | 175 const struct cred *saved_cred; in cachefiles_prepare_to_write() local 182 cachefiles_begin_secure(cache, &saved_cred); in cachefiles_prepare_to_write() 184 cachefiles_end_secure(cache, saved_cred); in cachefiles_prepare_to_write()
|
A D | ondemand.c | 48 const struct cred *saved_cred; in cachefiles_ondemand_fd_write_iter() local 54 cachefiles_begin_secure(cache, &saved_cred); in cachefiles_ondemand_fd_write_iter() 56 cachefiles_end_secure(cache, saved_cred); in cachefiles_ondemand_fd_write_iter()
|
A D | internal.h | 337 const struct cred *saved_cred) in cachefiles_end_secure() argument 339 revert_creds(saved_cred); in cachefiles_end_secure()
|
A D | namei.c | 442 const struct cred *saved_cred; in cachefiles_create_tmpfile() local 450 cachefiles_begin_secure(cache, &saved_cred); in cachefiles_create_tmpfile() 502 cachefiles_end_secure(cache, saved_cred); in cachefiles_create_tmpfile()
|
/linux-6.3-rc2/net/dns_resolver/ |
A 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()
|
/linux-6.3-rc2/fs/cifs/ |
A D | cifs_spnego.c | 96 const struct cred *saved_cred; in cifs_get_spnego_key() local 160 saved_cred = override_creds(spnego_cred); in cifs_get_spnego_key() 162 revert_creds(saved_cred); in cifs_get_spnego_key()
|
A D | cifsacl.c | 287 const struct cred *saved_cred; in id_to_sid() local 295 saved_cred = override_creds(root_cred); in id_to_sid() 330 revert_creds(saved_cred); in id_to_sid() 345 const struct cred *saved_cred; in sid_to_id() local 401 saved_cred = override_creds(root_cred); in sid_to_id() 441 revert_creds(saved_cred); in sid_to_id()
|
/linux-6.3-rc2/fs/ksmbd/ |
A D | smb_common.c | 644 WARN_ON(work->saved_cred); in ksmbd_override_fsids() 645 work->saved_cred = override_creds(cred); in ksmbd_override_fsids() 646 if (!work->saved_cred) { in ksmbd_override_fsids() 657 WARN_ON(!work->saved_cred); in ksmbd_revert_fsids() 660 revert_creds(work->saved_cred); in ksmbd_revert_fsids() 662 work->saved_cred = NULL; in ksmbd_revert_fsids()
|
A D | ksmbd_work.h | 50 const struct cred *saved_cred; member
|
A D | ksmbd_work.c | 36 WARN_ON(work->saved_cred != NULL); in ksmbd_free_work_struct()
|
/linux-6.3-rc2/fs/nfs/ |
A 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()
|
/linux-6.3-rc2/kernel/cgroup/ |
A D | cgroup.c | 5131 const struct cred *saved_cred; in __cgroup_procs_write() local 5154 saved_cred = override_creds(of->file->f_cred); in __cgroup_procs_write() 5158 revert_creds(saved_cred); in __cgroup_procs_write()
|