Home
last modified time | relevance | path

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

/Linux-v5.4/fs/overlayfs/
Dfile.c29 const struct cred *old_cred; in ovl_open_realfile() local
32 old_cred = ovl_override_creds(inode->i_sb); in ovl_open_realfile()
35 revert_creds(old_cred); in ovl_open_realfile()
148 const struct cred *old_cred; in ovl_llseek() local
177 old_cred = ovl_override_creds(inode->i_sb); in ovl_llseek()
179 revert_creds(old_cred); in ovl_llseek()
232 const struct cred *old_cred; in ovl_read_iter() local
242 old_cred = ovl_override_creds(file_inode(file)->i_sb); in ovl_read_iter()
245 revert_creds(old_cred); in ovl_read_iter()
259 const struct cred *old_cred; in ovl_write_iter() local
[all …]
Dinode.c21 const struct cred *old_cred; in ovl_setattr() local
62 old_cred = ovl_override_creds(dentry->d_sb); in ovl_setattr()
64 revert_creds(old_cred); in ovl_setattr()
147 const struct cred *old_cred; in ovl_getattr() local
157 old_cred = ovl_override_creds(dentry->d_sb); in ovl_getattr()
260 revert_creds(old_cred); in ovl_getattr()
269 const struct cred *old_cred; in ovl_permission() local
286 old_cred = ovl_override_creds(inode->i_sb); in ovl_permission()
294 revert_creds(old_cred); in ovl_permission()
303 const struct cred *old_cred; in ovl_get_link() local
[all …]
Ddir.c539 const struct cred *old_cred; in ovl_create_or_link() local
547 old_cred = ovl_override_creds(dentry->d_sb); in ovl_create_or_link()
566 attr->mode, &dentry->d_name, old_cred, in ovl_create_or_link()
582 revert_creds(old_cred); in ovl_create_or_link()
653 const struct cred *old_cred; in ovl_set_link_redirect() local
656 old_cred = ovl_override_creds(dentry->d_sb); in ovl_set_link_redirect()
658 revert_creds(old_cred); in ovl_set_link_redirect()
825 const struct cred *old_cred; in ovl_do_remove() local
849 old_cred = ovl_override_creds(dentry->d_sb); in ovl_do_remove()
854 revert_creds(old_cred); in ovl_do_remove()
[all …]
Dutil.c753 const struct cred *old_cred; in ovl_nlink_start() local
786 old_cred = ovl_override_creds(dentry->d_sb); in ovl_nlink_start()
794 revert_creds(old_cred); in ovl_nlink_start()
808 const struct cred *old_cred; in ovl_nlink_end() local
810 old_cred = ovl_override_creds(dentry->d_sb); in ovl_nlink_end()
812 revert_creds(old_cred); in ovl_nlink_end()
Dnamei.c809 const struct cred *old_cred; in ovl_lookup() local
839 old_cred = ovl_override_creds(dentry->d_sb); in ovl_lookup()
1077 revert_creds(old_cred); in ovl_lookup()
1104 revert_creds(old_cred); in ovl_lookup()
1112 const struct cred *old_cred; in ovl_lower_positive() local
1128 old_cred = ovl_override_creds(dentry->d_sb); in ovl_lower_positive()
1158 revert_creds(old_cred); in ovl_lower_positive()
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()
917 const struct cred *old_cred; in ovl_check_empty_dir() local
919 old_cred = ovl_override_creds(dentry->d_sb); in ovl_check_empty_dir()
921 revert_creds(old_cred); in ovl_check_empty_dir()
Dcopy_up.c854 const struct cred *old_cred = ovl_override_creds(dentry->d_sb); in ovl_copy_up_flags() local
889 revert_creds(old_cred); in ovl_copy_up_flags()
/Linux-v5.4/fs/
Dcoredump.c571 const struct cred *old_cred; in do_coredump() local
621 old_cred = override_creds(cred); in do_coredump()
805 revert_creds(old_cred); in do_coredump()
Dopen.c350 const struct cred *old_cred; in do_faccessat() local
396 old_cred = override_creds(override_cred); in do_faccessat()
438 revert_creds(old_cred); in do_faccessat()
/Linux-v5.4/kernel/
Dptrace.c117 const struct cred *old_cred; in __ptrace_unlink() local
127 old_cred = child->ptracer_cred; in __ptrace_unlink()
129 put_cred(old_cred); in __ptrace_unlink()