Searched refs:old_cred (Results 1 – 12 of 12) sorted by relevance
/fs/overlayfs/ |
D | file.c | 29 const struct cred *old_cred; in ovl_open_realfile() local 32 old_cred = ovl_override_creds(inode->i_sb); in ovl_open_realfile() 35 ovl_revert_creds(inode->i_sb, 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 ovl_revert_creds(inode->i_sb, 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 ovl_revert_creds(file_inode(file)->i_sb, old_cred); in ovl_read_iter() 259 const struct cred *old_cred; in ovl_write_iter() local [all …]
|
D | inode.c | 21 const struct cred *old_cred; in ovl_setattr() local 62 old_cred = ovl_override_creds(dentry->d_sb); in ovl_setattr() 64 ovl_revert_creds(dentry->d_sb, 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() 266 ovl_revert_creds(dentry->d_sb, old_cred); in ovl_getattr() 275 const struct cred *old_cred; in ovl_permission() local 292 old_cred = ovl_override_creds(inode->i_sb); in ovl_permission() 300 ovl_revert_creds(inode->i_sb, old_cred); in ovl_permission() 309 const struct cred *old_cred; in ovl_get_link() local [all …]
|
D | dir.c | 539 const struct cred *old_cred, *hold_cred = NULL; in ovl_create_or_link() local 547 old_cred = ovl_override_creds(dentry->d_sb); in ovl_create_or_link() 567 old_cred ? old_cred : current_cred(), in ovl_create_or_link() 583 ovl_revert_creds(dentry->d_sb, old_cred ?: hold_cred); in ovl_create_or_link() 584 if (old_cred && hold_cred) in ovl_create_or_link() 656 const struct cred *old_cred; in ovl_set_link_redirect() local 659 old_cred = ovl_override_creds(dentry->d_sb); in ovl_set_link_redirect() 661 ovl_revert_creds(dentry->d_sb, old_cred); in ovl_set_link_redirect() 828 const struct cred *old_cred; in ovl_do_remove() local 852 old_cred = ovl_override_creds(dentry->d_sb); in ovl_do_remove() [all …]
|
D | util.c | 45 void ovl_revert_creds(struct super_block *sb, const struct cred *old_cred) in ovl_revert_creds() argument 47 if (old_cred) in ovl_revert_creds() 48 revert_creds(old_cred); in ovl_revert_creds() 761 const struct cred *old_cred; in ovl_nlink_start() local 794 old_cred = ovl_override_creds(dentry->d_sb); in ovl_nlink_start() 802 ovl_revert_creds(dentry->d_sb, old_cred); in ovl_nlink_start() 816 const struct cred *old_cred; in ovl_nlink_end() local 818 old_cred = ovl_override_creds(dentry->d_sb); in ovl_nlink_end() 820 ovl_revert_creds(dentry->d_sb, old_cred); in ovl_nlink_end()
|
D | namei.c | 819 const struct cred *old_cred; in ovl_lookup() local 849 old_cred = ovl_override_creds(dentry->d_sb); in ovl_lookup() 1087 ovl_revert_creds(dentry->d_sb, old_cred); in ovl_lookup() 1114 ovl_revert_creds(dentry->d_sb, old_cred); in ovl_lookup() 1122 const struct cred *old_cred; in ovl_lower_positive() local 1138 old_cred = ovl_override_creds(dentry->d_sb); in ovl_lower_positive() 1168 ovl_revert_creds(dentry->d_sb, old_cred); in ovl_lower_positive()
|
D | readdir.c | 272 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 ovl_revert_creds(rdd->dentry->d_sb, 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 ovl_revert_creds(dentry->d_sb, old_cred); in ovl_check_empty_dir()
|
D | copy_up.c | 854 const struct cred *old_cred = ovl_override_creds(dentry->d_sb); in ovl_copy_up_flags() local 889 ovl_revert_creds(dentry->d_sb, old_cred); in ovl_copy_up_flags()
|
/fs/sdcardfs/ |
D | inode.c | 30 const struct cred *old_cred; in override_fsids() local 48 old_cred = override_creds(cred); in override_fsids() 50 return old_cred; in override_fsids() 53 void revert_fsids(const struct cred *old_cred) in revert_fsids() argument 58 revert_creds(old_cred); in revert_fsids()
|
D | sdcardfs.h | 130 void revert_fsids(const struct cred *old_cred);
|
/fs/ |
D | coredump.c | 571 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()
|
D | open.c | 359 const struct cred *old_cred; in do_faccessat() local 406 old_cred = override_creds(override_cred); in do_faccessat() 449 revert_creds(old_cred); in do_faccessat()
|
D | io_uring.c | 1773 const struct cred *old_cred; in io_poll_complete_work() local 1776 old_cred = override_creds(ctx->creds); in io_poll_complete_work() 1801 revert_creds(old_cred); in io_poll_complete_work() 2174 const struct cred *old_cred; in io_sq_wq_submit_work() local 2179 old_cred = override_creds(ctx->creds); in io_sq_wq_submit_work() 2287 revert_creds(old_cred); in io_sq_wq_submit_work() 2693 const struct cred *old_cred; in io_sq_thread() local 2703 old_cred = override_creds(ctx->creds); in io_sq_thread() 2814 revert_creds(old_cred); in io_sq_thread()
|