Home
last modified time | relevance | path

Searched refs:old_cred (Results 1 – 15 of 15) sorted by relevance

/linux-6.1.9/fs/overlayfs/
Dfile.c47 const struct cred *old_cred; in ovl_open_realfile() local
55 old_cred = ovl_override_creds(inode->i_sb); in ovl_open_realfile()
67 revert_creds(old_cred); in ovl_open_realfile()
181 const struct cred *old_cred; in ovl_llseek() local
210 old_cred = ovl_override_creds(inode->i_sb); in ovl_llseek()
212 revert_creds(old_cred); in ovl_llseek()
301 const struct cred *old_cred; in ovl_read_iter() local
316 old_cred = ovl_override_creds(file_inode(file)->i_sb); in ovl_read_iter()
340 revert_creds(old_cred); in ovl_read_iter()
353 const struct cred *old_cred; in ovl_write_iter() local
[all …]
Dinode.c27 const struct cred *old_cred; in ovl_setattr() local
80 old_cred = ovl_override_creds(dentry->d_sb); in ovl_setattr()
82 revert_creds(old_cred); in ovl_setattr()
160 const struct cred *old_cred; in ovl_getattr() local
170 old_cred = ovl_override_creds(dentry->d_sb); in ovl_getattr()
274 revert_creds(old_cred); in ovl_getattr()
285 const struct cred *old_cred; in ovl_permission() local
304 old_cred = ovl_override_creds(inode->i_sb); in ovl_permission()
312 revert_creds(old_cred); in ovl_permission()
321 const struct cred *old_cred; in ovl_get_link() local
[all …]
Ddir.c575 const struct cred *old_cred; in ovl_create_or_link() local
583 old_cred = ovl_override_creds(dentry->d_sb); in ovl_create_or_link()
616 attr->mode, &dentry->d_name, old_cred, in ovl_create_or_link()
632 revert_creds(old_cred); in ovl_create_or_link()
704 const struct cred *old_cred; in ovl_set_link_redirect() local
707 old_cred = ovl_override_creds(dentry->d_sb); in ovl_set_link_redirect()
709 revert_creds(old_cred); in ovl_set_link_redirect()
900 const struct cred *old_cred; in ovl_do_remove() local
923 old_cred = ovl_override_creds(dentry->d_sb); in ovl_do_remove()
928 revert_creds(old_cred); in ovl_do_remove()
[all …]
Dreaddir.c272 const struct cred *old_cred; in ovl_check_whiteouts() local
274 old_cred = ovl_override_creds(rdd->dentry->d_sb); in ovl_check_whiteouts()
289 revert_creds(old_cred); in ovl_check_whiteouts()
737 const struct cred *old_cred; in ovl_iterate() local
740 old_cred = ovl_override_creds(dentry->d_sb); in ovl_iterate()
792 revert_creds(old_cred); in ovl_iterate()
840 const struct cred *old_cred; in ovl_dir_open_realfile() local
842 old_cred = ovl_override_creds(file_inode(file)->i_sb); in ovl_dir_open_realfile()
844 revert_creds(old_cred); in ovl_dir_open_realfile()
966 const struct cred *old_cred; in ovl_check_empty_dir() local
[all …]
Dutil.c889 const struct cred *old_cred; in ovl_nlink_start() local
922 old_cred = ovl_override_creds(dentry->d_sb); in ovl_nlink_start()
930 revert_creds(old_cred); in ovl_nlink_start()
944 const struct cred *old_cred; in ovl_nlink_end() local
946 old_cred = ovl_override_creds(dentry->d_sb); in ovl_nlink_end()
948 revert_creds(old_cred); in ovl_nlink_end()
Dnamei.c833 const struct cred *old_cred; in ovl_lookup() local
863 old_cred = ovl_override_creds(dentry->d_sb); in ovl_lookup()
1122 revert_creds(old_cred); in ovl_lookup()
1149 revert_creds(old_cred); in ovl_lookup()
1157 const struct cred *old_cred; in ovl_lower_positive() local
1173 old_cred = ovl_override_creds(dentry->d_sb); in ovl_lower_positive()
1201 revert_creds(old_cred); in ovl_lower_positive()
Dcopy_up.c1026 const struct cred *old_cred; in ovl_copy_up_flags() local
1037 old_cred = ovl_override_creds(dentry->d_sb); in ovl_copy_up_flags()
1062 revert_creds(old_cred); in ovl_copy_up_flags()
/linux-6.1.9/fs/
Dopen.c373 const struct cred *old_cred; in access_override_creds() local
412 old_cred = override_creds(override_cred); in access_override_creds()
417 return old_cred; in access_override_creds()
426 const struct cred *old_cred = NULL; in do_faccessat() local
440 old_cred = access_override_creds(); in do_faccessat()
441 if (!old_cred) in do_faccessat()
486 if (old_cred) in do_faccessat()
487 revert_creds(old_cred); in do_faccessat()
Dcoredump.c516 const struct cred *old_cred; in do_coredump() local
566 old_cred = override_creds(cred); in do_coredump()
781 revert_creds(old_cred); in do_coredump()
Daio.c1609 const struct cred *old_cred = override_creds(iocb->fsync.creds); in aio_fsync_work() local
1612 revert_creds(old_cred); in aio_fsync_work()
/linux-6.1.9/drivers/crypto/ccp/
Dsev-dev.c179 const struct cred *old_cred; in open_file_as_root() local
189 old_cred = override_creds(cred); in open_file_as_root()
194 revert_creds(old_cred); in open_file_as_root()
/linux-6.1.9/kernel/
Dptrace.c118 const struct cred *old_cred; in __ptrace_unlink() local
128 old_cred = child->ptracer_cred; in __ptrace_unlink()
130 put_cred(old_cred); in __ptrace_unlink()
/linux-6.1.9/drivers/base/firmware_loader/
Dmain.c802 const struct cred *old_cred; in _request_firmware() local
829 old_cred = override_creds(kern_cred); in _request_firmware()
861 revert_creds(old_cred); in _request_firmware()
/linux-6.1.9/kernel/trace/
Dtrace_events_user.c787 const struct cred *old_cred; in user_event_set_call_visible() local
806 old_cred = override_creds(cred); in user_event_set_call_visible()
813 revert_creds(old_cred); in user_event_set_call_visible()
/linux-6.1.9/net/unix/
Daf_unix.c676 const struct cred *old_cred; in init_peercred() local
681 old_cred = sk->sk_peer_cred; in init_peercred()
687 put_cred(old_cred); in init_peercred()
692 const struct cred *old_cred; in copy_peercred() local
703 old_cred = sk->sk_peer_cred; in copy_peercred()
711 put_cred(old_cred); in copy_peercred()