/linux-6.6.21/fs/configfs/ |
D | symlink.c | 199 ret = inode_permission(&nop_mnt_idmap, dir, in configfs_symlink()
|
/linux-6.6.21/fs/ |
D | namei.c | 504 int inode_permission(struct mnt_idmap *idmap, in inode_permission() function 539 EXPORT_SYMBOL(inode_permission); 1163 if (inode_permission(idmap, inode, MAY_READ | MAY_WRITE)) in safe_hardlink_source() 1720 int err = inode_permission(idmap, nd->inode, MAY_EXEC|MAY_NOT_BLOCK); in may_lookup() 1724 return inode_permission(idmap, nd->inode, MAY_EXEC); in may_lookup() 2690 return inode_permission(idmap, base->d_inode, MAY_EXEC); in lookup_one_common() 2970 error = inode_permission(idmap, dir, MAY_WRITE | MAY_EXEC); in may_delete() 3014 return inode_permission(idmap, dir, MAY_WRITE | MAY_EXEC); in may_create() 3262 error = inode_permission(idmap, inode, MAY_OPEN | acc_mode); in may_open() 3319 error = inode_permission(idmap, dir->dentry->d_inode, in may_o_create() [all …]
|
D | attr.c | 345 error = inode_permission(idmap, inode, MAY_WRITE); in may_setattr()
|
D | remap_range.c | 434 if (!inode_permission(idmap, inode, MAY_WRITE)) in allow_file_dedupe()
|
D | open.c | 90 error = inode_permission(idmap, inode, MAY_WRITE); in vfs_truncate() 499 res = inode_permission(mnt_idmap(path.mnt), inode, mode | MAY_ACCESS); in do_faccessat()
|
D | xattr.c | 156 return inode_permission(idmap, inode, mask); in xattr_permission()
|
D | exec.c | 1425 if (inode_permission(idmap, inode, MAY_READ) < 0) { in would_dump()
|
/linux-6.6.21/fs/smb/server/ |
D | vfs.c | 144 if (!inode_permission(idmap, d_inode(dentry), MAY_OPEN | MAY_WRITE)) in ksmbd_vfs_query_maximal_access() 150 if (!inode_permission(idmap, d_inode(dentry), MAY_OPEN | MAY_READ)) in ksmbd_vfs_query_maximal_access() 153 if (!inode_permission(idmap, d_inode(dentry), MAY_OPEN | MAY_EXEC)) in ksmbd_vfs_query_maximal_access() 156 if (!inode_permission(idmap, d_inode(dentry->d_parent), MAY_EXEC | MAY_WRITE)) in ksmbd_vfs_query_maximal_access()
|
D | smb2pdu.c | 3031 rc = inode_permission(idmap, in smb2_open() 3039 rc = inode_permission(idmap, in smb2_open() 4063 inode_permission(file_mnt_idmap(dir_fp->filp), in smb2_query_dir()
|
/linux-6.6.21/fs/nfsd/ |
D | nfsfh.c | 43 err = inode_permission(&nop_mnt_idmap, in nfsd_acceptable()
|
D | vfs.c | 2466 err = inode_permission(&nop_mnt_idmap, inode, in nfsd_permission() 2473 err = inode_permission(&nop_mnt_idmap, inode, MAY_EXEC); in nfsd_permission()
|
/linux-6.6.21/kernel/bpf/ |
D | inode.c | 559 int ret = inode_permission(&nop_mnt_idmap, inode, MAY_READ); in __get_prog_inode()
|
/linux-6.6.21/fs/overlayfs/ |
D | file.c | 56 err = inode_permission(real_idmap, realinode, MAY_OPEN | acc_mode); in ovl_open_realfile()
|
D | util.c | 598 err = inode_permission(real_idmap, inode, acc_mode | MAY_OPEN); in ovl_path_open()
|
D | inode.c | 320 err = inode_permission(mnt_idmap(realpath.mnt), realinode, mask); in ovl_permission()
|
/linux-6.6.21/fs/btrfs/ |
D | ioctl.c | 916 error = inode_permission(idmap, dir, MAY_WRITE | MAY_EXEC); in btrfs_may_delete() 949 return inode_permission(idmap, dir, MAY_WRITE | MAY_EXEC); in btrfs_may_create() 1985 ret = inode_permission(idmap, temp_inode, in btrfs_search_path_in_tree_user() 2535 err = inode_permission(idmap, inode, MAY_WRITE | MAY_EXEC); in btrfs_ioctl_snap_destroy() 2604 inode_permission(&nop_mnt_idmap, inode, MAY_WRITE)) { in btrfs_ioctl_defrag()
|
/linux-6.6.21/include/linux/ |
D | fs.h | 2669 int inode_permission(struct mnt_idmap *, struct inode *, int); 2673 return inode_permission(file_mnt_idmap(file), in file_permission() 2678 return inode_permission(mnt_idmap(path->mnt), in path_permission()
|
D | lsm_hook_defs.h | 137 LSM_HOOK(int, 0, inode_permission, struct inode *inode, int mask)
|
/linux-6.6.21/fs/ecryptfs/ |
D | inode.c | 878 return inode_permission(&nop_mnt_idmap, in ecryptfs_permission()
|
/linux-6.6.21/ipc/ |
D | mqueue.c | 891 return inode_permission(&nop_mnt_idmap, d_inode(dentry), acc); in prepare_open()
|
/linux-6.6.21/fs/ocfs2/ |
D | refcounttree.c | 4320 return inode_permission(&nop_mnt_idmap, dir, MAY_WRITE | MAY_EXEC); in ocfs2_may_create() 4374 error = inode_permission(&nop_mnt_idmap, inode, MAY_READ); in ocfs2_vfs_reflink()
|
/linux-6.6.21/security/ |
D | security.c | 2111 return call_int_hook(inode_permission, 0, inode, mask); in security_inode_permission()
|
/linux-6.6.21/drivers/block/ |
D | ublk_drv.c | 2715 err = inode_permission(&nop_mnt_idmap, in ublk_char_dev_permission()
|
/linux-6.6.21/security/smack/ |
D | smack_lsm.c | 4959 LSM_HOOK_INIT(inode_permission, smack_inode_permission),
|
/linux-6.6.21/kernel/cgroup/ |
D | cgroup.c | 5065 ret = inode_permission(&nop_mnt_idmap, inode, MAY_WRITE); in cgroup_may_write()
|