/fs/ |
D | namei.c | 502 int inode_permission(struct user_namespace *mnt_userns, in inode_permission() function 537 EXPORT_SYMBOL(inode_permission); 1158 if (inode_permission(mnt_userns, inode, MAY_READ | MAY_WRITE)) in safe_hardlink_source() 1715 int err = inode_permission(mnt_userns, nd->inode, MAY_EXEC|MAY_NOT_BLOCK); in may_lookup() 1719 return inode_permission(mnt_userns, nd->inode, MAY_EXEC); in may_lookup() 2685 return inode_permission(mnt_userns, base->d_inode, MAY_EXEC); in lookup_one_common() 2965 error = inode_permission(mnt_userns, dir, MAY_WRITE | MAY_EXEC); in may_delete() 3009 return inode_permission(mnt_userns, dir, MAY_WRITE | MAY_EXEC); in may_create() 3255 error = inode_permission(mnt_userns, inode, MAY_OPEN | acc_mode); in may_open() 3312 error = inode_permission(mnt_userns, dir->dentry->d_inode, in may_o_create() [all …]
|
D | attr.c | 345 error = inode_permission(mnt_userns, inode, MAY_WRITE); in may_setattr()
|
D | remap_range.c | 434 if (!inode_permission(mnt_userns, inode, MAY_WRITE)) in allow_file_dedupe()
|
D | open.c | 90 error = inode_permission(mnt_userns, inode, MAY_WRITE); in vfs_truncate() 463 res = inode_permission(mnt_user_ns(path.mnt), inode, mode | MAY_ACCESS); in do_faccessat()
|
D | xattr.c | 138 return inode_permission(mnt_userns, inode, mask); in xattr_permission()
|
D | exec.c | 1425 if (inode_permission(mnt_userns, inode, MAY_READ) < 0) { in would_dump()
|
/fs/configfs/ |
D | symlink.c | 199 ret = inode_permission(&init_user_ns, dir, in configfs_symlink()
|
/fs/smb/server/ |
D | vfs.c | 145 if (!inode_permission(user_ns, d_inode(dentry), MAY_OPEN | MAY_WRITE)) in ksmbd_vfs_query_maximal_access() 151 if (!inode_permission(user_ns, d_inode(dentry), MAY_OPEN | MAY_READ)) in ksmbd_vfs_query_maximal_access() 154 if (!inode_permission(user_ns, d_inode(dentry), MAY_OPEN | MAY_EXEC)) in ksmbd_vfs_query_maximal_access() 157 if (!inode_permission(user_ns, d_inode(dentry->d_parent), MAY_EXEC | MAY_WRITE)) in ksmbd_vfs_query_maximal_access()
|
D | smb2pdu.c | 3029 rc = inode_permission(user_ns, in smb2_open() 3037 rc = inode_permission(user_ns, in smb2_open() 4061 inode_permission(file_mnt_user_ns(dir_fp->filp), in smb2_query_dir()
|
/fs/nfsd/ |
D | nfsfh.c | 43 err = inode_permission(&init_user_ns, in nfsd_acceptable()
|
D | vfs.c | 2338 err = inode_permission(&init_user_ns, inode, in nfsd_permission() 2345 err = inode_permission(&init_user_ns, inode, MAY_EXEC); in nfsd_permission()
|
/fs/overlayfs/ |
D | file.c | 58 err = inode_permission(real_mnt_userns, realinode, MAY_OPEN | acc_mode); in ovl_open_realfile()
|
D | util.c | 540 err = inode_permission(real_mnt_userns, inode, acc_mode | MAY_OPEN); in ovl_path_open()
|
D | inode.c | 310 err = inode_permission(mnt_user_ns(realpath.mnt), realinode, mask); in ovl_permission()
|
/fs/btrfs/ |
D | ioctl.c | 906 error = inode_permission(mnt_userns, dir, MAY_WRITE | MAY_EXEC); in btrfs_may_delete() 939 return inode_permission(mnt_userns, dir, MAY_WRITE | MAY_EXEC); in btrfs_may_create() 2877 ret = inode_permission(mnt_userns, temp_inode, in btrfs_search_path_in_tree_user() 3427 err = inode_permission(mnt_userns, inode, MAY_WRITE | MAY_EXEC); in btrfs_ioctl_snap_destroy() 3496 inode_permission(&init_user_ns, inode, MAY_WRITE)) { in btrfs_ioctl_defrag()
|
/fs/ecryptfs/ |
D | inode.c | 876 return inode_permission(&init_user_ns, in ecryptfs_permission()
|
/fs/fuse/ |
D | backing.c | 109 retval = inode_permission(&init_user_ns, in fuse_open_backing() 2445 return inode_permission(&init_user_ns, fi->backing_inode, fai->mask); in fuse_access_backing()
|
/fs/ocfs2/ |
D | refcounttree.c | 4319 return inode_permission(&init_user_ns, dir, MAY_WRITE | MAY_EXEC); in ocfs2_may_create() 4373 error = inode_permission(&init_user_ns, inode, MAY_READ); in ocfs2_vfs_reflink()
|