/linux-6.12.1/fs/ |
D | bpf_fs_kfuncs.c | 128 ret = inode_permission(&nop_mnt_idmap, inode, MAY_READ); in bpf_get_dentry_xattr()
|
D | namei.c | 510 int inode_permission(struct mnt_idmap *idmap, in inode_permission() function 545 EXPORT_SYMBOL(inode_permission); 1168 if (inode_permission(idmap, inode, MAY_READ | MAY_WRITE)) in safe_hardlink_source() 1760 err = inode_permission(idmap, nd->inode, mask | MAY_EXEC); in may_lookup() 1775 return inode_permission(idmap, nd->inode, MAY_EXEC); in may_lookup() 2795 return inode_permission(idmap, base->d_inode, MAY_EXEC); in lookup_one_common() 3075 error = inode_permission(idmap, dir, MAY_WRITE | MAY_EXEC); in may_delete() 3119 return inode_permission(idmap, dir, MAY_WRITE | MAY_EXEC); in may_create() 3364 error = inode_permission(idmap, inode, MAY_OPEN | acc_mode); in may_open() 3421 error = inode_permission(idmap, dir->dentry->d_inode, in may_o_create() [all …]
|
D | attr.c | 341 error = inode_permission(idmap, inode, MAY_WRITE); in may_setattr()
|
D | remap_range.c | 427 if (!inode_permission(idmap, inode, MAY_WRITE)) in may_dedupe_file()
|
D | open.c | 89 error = inode_permission(idmap, inode, MAY_WRITE); in vfs_truncate() 509 res = inode_permission(mnt_idmap(path.mnt), inode, mode | MAY_ACCESS); in do_faccessat()
|
D | exec.c | 1409 if (inode_permission(idmap, inode, MAY_READ) < 0) { in would_dump() 1641 err = inode_permission(idmap, inode, MAY_EXEC); in bprm_fill_uid()
|
D | xattr.c | 155 return inode_permission(idmap, inode, mask); in xattr_permission()
|
/linux-6.12.1/fs/configfs/ |
D | symlink.c | 199 ret = inode_permission(&nop_mnt_idmap, dir, in configfs_symlink()
|
/linux-6.12.1/fs/smb/server/ |
D | vfs.c | 148 if (!inode_permission(idmap, d_inode(dentry), MAY_OPEN | MAY_WRITE)) in ksmbd_vfs_query_maximal_access() 154 if (!inode_permission(idmap, d_inode(dentry), MAY_OPEN | MAY_READ)) in ksmbd_vfs_query_maximal_access() 157 if (!inode_permission(idmap, d_inode(dentry), MAY_OPEN | MAY_EXEC)) in ksmbd_vfs_query_maximal_access() 160 if (!inode_permission(idmap, d_inode(dentry->d_parent), MAY_EXEC | MAY_WRITE)) in ksmbd_vfs_query_maximal_access()
|
D | smb2pdu.c | 3234 rc = inode_permission(idmap, in smb2_open() 3242 rc = inode_permission(idmap, in smb2_open() 4320 inode_permission(file_mnt_idmap(dir_fp->filp), in smb2_query_dir()
|
/linux-6.12.1/fs/bcachefs/ |
D | fs-ioctl.c | 456 error = inode_permission(file_mnt_idmap(filp), in bch2_ioctl_subvolume_create()
|
/linux-6.12.1/fs/overlayfs/ |
D | file.c | 44 err = inode_permission(real_idmap, realinode, MAY_OPEN | acc_mode); in ovl_open_realfile()
|
D | inode.c | 319 err = inode_permission(mnt_idmap(realpath.mnt), realinode, mask); in ovl_permission()
|
D | util.c | 661 err = inode_permission(real_idmap, inode, acc_mode | MAY_OPEN); in ovl_path_open()
|
/linux-6.12.1/fs/nfsd/ |
D | nfsfh.c | 43 err = inode_permission(&nop_mnt_idmap, in nfsd_acceptable()
|
D | vfs.c | 2566 err = inode_permission(&nop_mnt_idmap, inode, in nfsd_permission() 2573 err = inode_permission(&nop_mnt_idmap, inode, MAY_EXEC); in nfsd_permission()
|
/linux-6.12.1/fs/btrfs/ |
D | ioctl.c | 946 error = inode_permission(idmap, dir, MAY_WRITE | MAY_EXEC); in btrfs_may_delete() 979 return inode_permission(idmap, dir, MAY_WRITE | MAY_EXEC); in btrfs_may_create() 2012 ret = inode_permission(idmap, temp_inode, in btrfs_search_path_in_tree_user() 2567 ret = inode_permission(idmap, inode, MAY_WRITE | MAY_EXEC); in btrfs_ioctl_snap_destroy() 2636 inode_permission(&nop_mnt_idmap, inode, MAY_WRITE)) { in btrfs_ioctl_defrag()
|
/linux-6.12.1/include/linux/ |
D | fs.h | 2895 int inode_permission(struct mnt_idmap *, struct inode *, int); 2899 return inode_permission(file_mnt_idmap(file), in file_permission() 2904 return inode_permission(mnt_idmap(path->mnt), in path_permission()
|
D | lsm_hook_defs.h | 142 LSM_HOOK(int, 0, inode_permission, struct inode *inode, int mask)
|
/linux-6.12.1/kernel/bpf/ |
D | inode.c | 559 int ret = inode_permission(&nop_mnt_idmap, inode, MAY_READ); in __get_prog_inode()
|
/linux-6.12.1/fs/ecryptfs/ |
D | inode.c | 880 return inode_permission(&nop_mnt_idmap, in ecryptfs_permission()
|
/linux-6.12.1/ipc/ |
D | mqueue.c | 891 return inode_permission(&nop_mnt_idmap, d_inode(dentry), acc); in prepare_open()
|
/linux-6.12.1/fs/ocfs2/ |
D | refcounttree.c | 4335 return inode_permission(&nop_mnt_idmap, dir, MAY_WRITE | MAY_EXEC); in ocfs2_may_create() 4389 error = inode_permission(&nop_mnt_idmap, inode, MAY_READ); in ocfs2_vfs_reflink()
|
/linux-6.12.1/drivers/block/ |
D | ublk_drv.c | 2814 err = inode_permission(&nop_mnt_idmap, in ublk_char_dev_permission()
|
/linux-6.12.1/security/ |
D | security.c | 2320 return call_int_hook(inode_permission, inode, mask); in security_inode_permission()
|