/linux-6.1.9/include/linux/ |
D | mnt_idmapping.h | 167 static inline bool no_idmapping(const struct user_namespace *mnt_userns, in no_idmapping() 194 static inline vfsuid_t make_vfsuid(struct user_namespace *mnt_userns, in make_vfsuid() 211 static inline kuid_t mapped_kuid_fs(struct user_namespace *mnt_userns, in mapped_kuid_fs() 239 static inline vfsgid_t make_vfsgid(struct user_namespace *mnt_userns, in make_vfsgid() 256 static inline kgid_t mapped_kgid_fs(struct user_namespace *mnt_userns, in mapped_kgid_fs() 274 static inline kuid_t from_vfsuid(struct user_namespace *mnt_userns, in from_vfsuid() 310 static inline kuid_t mapped_kuid_user(struct user_namespace *mnt_userns, in mapped_kuid_user() 329 static inline bool vfsuid_has_fsmapping(struct user_namespace *mnt_userns, in vfsuid_has_fsmapping() 360 static inline kgid_t from_vfsgid(struct user_namespace *mnt_userns, in from_vfsgid() 396 static inline kgid_t mapped_kgid_user(struct user_namespace *mnt_userns, in mapped_kgid_user() [all …]
|
D | evm.h | 72 static inline int evm_inode_setattr(struct user_namespace *mnt_userns, in evm_inode_setattr() 83 static inline int evm_inode_setxattr(struct user_namespace *mnt_userns, in evm_inode_setxattr() 98 static inline int evm_inode_removexattr(struct user_namespace *mnt_userns, in evm_inode_removexattr()
|
/linux-6.1.9/fs/ |
D | bad_inode.c | 30 static int bad_inode_create(struct user_namespace *mnt_userns, in bad_inode_create() 54 static int bad_inode_symlink(struct user_namespace *mnt_userns, in bad_inode_symlink() 61 static int bad_inode_mkdir(struct user_namespace *mnt_userns, struct inode *dir, in bad_inode_mkdir() 72 static int bad_inode_mknod(struct user_namespace *mnt_userns, struct inode *dir, in bad_inode_mknod() 78 static int bad_inode_rename2(struct user_namespace *mnt_userns, in bad_inode_rename2() 92 static int bad_inode_permission(struct user_namespace *mnt_userns, in bad_inode_permission() 98 static int bad_inode_getattr(struct user_namespace *mnt_userns, in bad_inode_getattr() 105 static int bad_inode_setattr(struct user_namespace *mnt_userns, in bad_inode_setattr() 149 static int bad_inode_tmpfile(struct user_namespace *mnt_userns, in bad_inode_tmpfile() 156 static int bad_inode_set_acl(struct user_namespace *mnt_userns, in bad_inode_set_acl()
|
D | attr.c | 33 static bool chown_ok(struct user_namespace *mnt_userns, in chown_ok() 60 static bool chgrp_ok(struct user_namespace *mnt_userns, in chgrp_ok() 100 int setattr_prepare(struct user_namespace *mnt_userns, struct dentry *dentry, in setattr_prepare() 239 void setattr_copy(struct user_namespace *mnt_userns, struct inode *inode, in setattr_copy() 263 int may_setattr(struct user_namespace *mnt_userns, struct inode *inode, in may_setattr() 318 int notify_change(struct user_namespace *mnt_userns, struct dentry *dentry, in notify_change()
|
D | posix_acl.c | 361 posix_acl_permission(struct user_namespace *mnt_userns, struct inode *inode, in posix_acl_permission() 591 posix_acl_chmod(struct user_namespace *mnt_userns, struct inode *inode, in posix_acl_chmod() 691 int posix_acl_update_mode(struct user_namespace *mnt_userns, in posix_acl_update_mode() 735 void posix_acl_getxattr_idmapped_mnt(struct user_namespace *mnt_userns, in posix_acl_getxattr_idmapped_mnt() 841 static struct posix_acl *make_posix_acl(struct user_namespace *mnt_userns, in make_posix_acl() 917 vfs_set_acl_prepare_kuid(struct user_namespace *mnt_userns, in vfs_set_acl_prepare_kuid() 944 vfs_set_acl_prepare_kgid(struct user_namespace *mnt_userns, in vfs_set_acl_prepare_kgid() 988 struct posix_acl *vfs_set_acl_prepare(struct user_namespace *mnt_userns, in vfs_set_acl_prepare() 1011 posix_acl_from_xattr_kuid(struct user_namespace *mnt_userns, in posix_acl_from_xattr_kuid() 1031 posix_acl_from_xattr_kgid(struct user_namespace *mnt_userns, in posix_acl_from_xattr_kgid() [all …]
|
D | xattr.c | 88 xattr_permission(struct user_namespace *mnt_userns, struct inode *inode, in xattr_permission() 169 __vfs_setxattr(struct user_namespace *mnt_userns, struct dentry *dentry, in __vfs_setxattr() 204 int __vfs_setxattr_noperm(struct user_namespace *mnt_userns, in __vfs_setxattr_noperm() 257 __vfs_setxattr_locked(struct user_namespace *mnt_userns, struct dentry *dentry, in __vfs_setxattr_locked() 292 vfs_setxattr(struct user_namespace *mnt_userns, struct dentry *dentry, in vfs_setxattr() 326 xattr_getsecurity(struct user_namespace *mnt_userns, struct inode *inode, in xattr_getsecurity() 362 vfs_getxattr_alloc(struct user_namespace *mnt_userns, struct dentry *dentry, in vfs_getxattr_alloc() 412 vfs_getxattr(struct user_namespace *mnt_userns, struct dentry *dentry, in vfs_getxattr() 468 __vfs_removexattr(struct user_namespace *mnt_userns, struct dentry *dentry, in __vfs_removexattr() 495 __vfs_removexattr_locked(struct user_namespace *mnt_userns, in __vfs_removexattr_locked() [all …]
|
D | namei.c | 290 static int check_acl(struct user_namespace *mnt_userns, in check_acl() 335 static int acl_permission_check(struct user_namespace *mnt_userns, in acl_permission_check() 396 int generic_permission(struct user_namespace *mnt_userns, struct inode *inode, in generic_permission() 453 static inline int do_inode_permission(struct user_namespace *mnt_userns, in do_inode_permission() 500 int inode_permission(struct user_namespace *mnt_userns, in inode_permission() 1097 struct user_namespace *mnt_userns; in may_follow_link() local 1138 static bool safe_hardlink_source(struct user_namespace *mnt_userns, in safe_hardlink_source() 1181 int may_linkat(struct user_namespace *mnt_userns, const struct path *link) in may_linkat() 1231 static int may_create_in_sticky(struct user_namespace *mnt_userns, in may_create_in_sticky() 1707 static inline int may_lookup(struct user_namespace *mnt_userns, in may_lookup() [all …]
|
/linux-6.1.9/fs/xfs/ |
D | xfs_iops.c | 165 struct user_namespace *mnt_userns, in xfs_generic_create() 258 struct user_namespace *mnt_userns, in xfs_vn_mknod() 269 struct user_namespace *mnt_userns, in xfs_vn_create() 280 struct user_namespace *mnt_userns, in xfs_vn_mkdir() 403 struct user_namespace *mnt_userns, in xfs_vn_symlink() 446 struct user_namespace *mnt_userns, in xfs_vn_rename() 552 struct user_namespace *mnt_userns, in xfs_vn_getattr() 630 struct user_namespace *mnt_userns, in xfs_vn_change_ok() 653 struct user_namespace *mnt_userns, in xfs_setattr_nonsize() 781 struct user_namespace *mnt_userns, in xfs_setattr_size() [all …]
|
/linux-6.1.9/fs/minix/ |
D | namei.c | 36 static int minix_mknod(struct user_namespace *mnt_userns, struct inode *dir, in minix_mknod() 55 static int minix_tmpfile(struct user_namespace *mnt_userns, struct inode *dir, in minix_tmpfile() 68 static int minix_create(struct user_namespace *mnt_userns, struct inode *dir, in minix_create() 74 static int minix_symlink(struct user_namespace *mnt_userns, struct inode *dir, in minix_symlink() 114 static int minix_mkdir(struct user_namespace *mnt_userns, struct inode *dir, in minix_mkdir() 187 static int minix_rename(struct user_namespace *mnt_userns, in minix_rename()
|
/linux-6.1.9/fs/f2fs/ |
D | namei.c | 179 static struct inode *f2fs_new_inode(struct user_namespace *mnt_userns, in f2fs_new_inode() 337 static int f2fs_create(struct user_namespace *mnt_userns, struct inode *dir, in f2fs_create() 666 static int f2fs_symlink(struct user_namespace *mnt_userns, struct inode *dir, in f2fs_symlink() 746 static int f2fs_mkdir(struct user_namespace *mnt_userns, struct inode *dir, in f2fs_mkdir() 801 static int f2fs_mknod(struct user_namespace *mnt_userns, struct inode *dir, in f2fs_mknod() 844 static int __f2fs_tmpfile(struct user_namespace *mnt_userns, struct inode *dir, in __f2fs_tmpfile() 914 static int f2fs_tmpfile(struct user_namespace *mnt_userns, struct inode *dir, in f2fs_tmpfile() 930 static int f2fs_create_whiteout(struct user_namespace *mnt_userns, in f2fs_create_whiteout() 940 int f2fs_get_tmpfile(struct user_namespace *mnt_userns, struct inode *dir, in f2fs_get_tmpfile() 946 static int f2fs_rename(struct user_namespace *mnt_userns, struct inode *old_dir, in f2fs_rename() [all …]
|
/linux-6.1.9/fs/ext2/ |
D | namei.c | 102 static int ext2_create (struct user_namespace * mnt_userns, in ext2_create() 122 static int ext2_tmpfile(struct user_namespace *mnt_userns, struct inode *dir, in ext2_tmpfile() 136 static int ext2_mknod (struct user_namespace * mnt_userns, struct inode * dir, in ext2_mknod() 157 static int ext2_symlink (struct user_namespace * mnt_userns, struct inode * dir, in ext2_symlink() 228 static int ext2_mkdir(struct user_namespace * mnt_userns, in ext2_mkdir() 318 static int ext2_rename (struct user_namespace * mnt_userns, in ext2_rename()
|
/linux-6.1.9/fs/sysv/ |
D | namei.c | 44 static int sysv_mknod(struct user_namespace *mnt_userns, struct inode *dir, in sysv_mknod() 64 static int sysv_create(struct user_namespace *mnt_userns, struct inode *dir, in sysv_create() 70 static int sysv_symlink(struct user_namespace *mnt_userns, struct inode *dir, in sysv_symlink() 113 static int sysv_mkdir(struct user_namespace *mnt_userns, struct inode *dir, in sysv_mkdir() 192 static int sysv_rename(struct user_namespace *mnt_userns, struct inode *old_dir, in sysv_rename()
|
/linux-6.1.9/fs/ufs/ |
D | namei.c | 72 static int ufs_create (struct user_namespace * mnt_userns, in ufs_create() 89 static int ufs_mknod(struct user_namespace *mnt_userns, struct inode *dir, in ufs_mknod() 109 static int ufs_symlink (struct user_namespace * mnt_userns, struct inode * dir, in ufs_symlink() 169 static int ufs_mkdir(struct user_namespace * mnt_userns, struct inode * dir, in ufs_mkdir() 246 static int ufs_rename(struct user_namespace *mnt_userns, struct inode *old_dir, in ufs_rename()
|
/linux-6.1.9/fs/ramfs/ |
D | inode.c | 98 ramfs_mknod(struct user_namespace *mnt_userns, struct inode *dir, in ramfs_mknod() 113 static int ramfs_mkdir(struct user_namespace *mnt_userns, struct inode *dir, in ramfs_mkdir() 122 static int ramfs_create(struct user_namespace *mnt_userns, struct inode *dir, in ramfs_create() 128 static int ramfs_symlink(struct user_namespace *mnt_userns, struct inode *dir, in ramfs_symlink() 148 static int ramfs_tmpfile(struct user_namespace *mnt_userns, in ramfs_tmpfile()
|
/linux-6.1.9/security/integrity/evm/ |
D | evm_main.c | 449 static int evm_xattr_acl_change(struct user_namespace *mnt_userns, in evm_xattr_acl_change() 509 static int evm_xattr_change(struct user_namespace *mnt_userns, in evm_xattr_change() 546 static int evm_protect_xattr(struct user_namespace *mnt_userns, in evm_protect_xattr() 629 int evm_inode_setxattr(struct user_namespace *mnt_userns, struct dentry *dentry, in evm_inode_setxattr() 661 int evm_inode_removexattr(struct user_namespace *mnt_userns, in evm_inode_removexattr() 763 static int evm_attr_change(struct user_namespace *mnt_userns, in evm_attr_change() 784 int evm_inode_setattr(struct user_namespace *mnt_userns, struct dentry *dentry, in evm_inode_setattr()
|
/linux-6.1.9/fs/ntfs3/ |
D | namei.c | 95 static int ntfs_create(struct user_namespace *mnt_userns, struct inode *dir, in ntfs_create() 111 static int ntfs_mknod(struct user_namespace *mnt_userns, struct inode *dir, in ntfs_mknod() 184 static int ntfs_symlink(struct user_namespace *mnt_userns, struct inode *dir, in ntfs_symlink() 199 static int ntfs_mkdir(struct user_namespace *mnt_userns, struct inode *dir, in ntfs_mkdir() 230 static int ntfs_rename(struct user_namespace *mnt_userns, struct inode *dir, in ntfs_rename()
|
D | xattr.c | 547 static noinline int ntfs_set_acl_ex(struct user_namespace *mnt_userns, in ntfs_set_acl_ex() 622 int ntfs_set_acl(struct user_namespace *mnt_userns, struct inode *inode, in ntfs_set_acl() 633 int ntfs_init_acl(struct user_namespace *mnt_userns, struct inode *inode, in ntfs_init_acl() 667 int ntfs_acl_chmod(struct user_namespace *mnt_userns, struct inode *inode) in ntfs_acl_chmod() 683 int ntfs_permission(struct user_namespace *mnt_userns, struct inode *inode, in ntfs_permission() 805 struct user_namespace *mnt_userns, in ntfs_setxattr()
|
/linux-6.1.9/fs/orangefs/ |
D | namei.c | 18 static int orangefs_create(struct user_namespace *mnt_userns, in orangefs_create() 219 static int orangefs_symlink(struct user_namespace *mnt_userns, in orangefs_symlink() 308 static int orangefs_mkdir(struct user_namespace *mnt_userns, struct inode *dir, in orangefs_mkdir() 378 static int orangefs_rename(struct user_namespace *mnt_userns, in orangefs_rename()
|
/linux-6.1.9/fs/hfsplus/ |
D | dir.c | 437 static int hfsplus_symlink(struct user_namespace *mnt_userns, struct inode *dir, in hfsplus_symlink() 479 static int hfsplus_mknod(struct user_namespace *mnt_userns, struct inode *dir, in hfsplus_mknod() 520 static int hfsplus_create(struct user_namespace *mnt_userns, struct inode *dir, in hfsplus_create() 526 static int hfsplus_mkdir(struct user_namespace *mnt_userns, struct inode *dir, in hfsplus_mkdir() 532 static int hfsplus_rename(struct user_namespace *mnt_userns, in hfsplus_rename()
|
/linux-6.1.9/fs/ecryptfs/ |
D | inode.c | 254 ecryptfs_create(struct user_namespace *mnt_userns, in ecryptfs_create() 457 static int ecryptfs_symlink(struct user_namespace *mnt_userns, in ecryptfs_symlink() 496 static int ecryptfs_mkdir(struct user_namespace *mnt_userns, struct inode *dir, in ecryptfs_mkdir() 549 ecryptfs_mknod(struct user_namespace *mnt_userns, struct inode *dir, in ecryptfs_mknod() 575 ecryptfs_rename(struct user_namespace *mnt_userns, struct inode *old_dir, in ecryptfs_rename() 865 ecryptfs_permission(struct user_namespace *mnt_userns, struct inode *inode, in ecryptfs_permission() 885 static int ecryptfs_setattr(struct user_namespace *mnt_userns, in ecryptfs_setattr() 973 static int ecryptfs_getattr_link(struct user_namespace *mnt_userns, in ecryptfs_getattr_link() 999 static int ecryptfs_getattr(struct user_namespace *mnt_userns, in ecryptfs_getattr() 1111 static int ecryptfs_fileattr_set(struct user_namespace *mnt_userns, in ecryptfs_fileattr_set() [all …]
|
/linux-6.1.9/fs/hpfs/ |
D | namei.c | 23 static int hpfs_mkdir(struct user_namespace *mnt_userns, struct inode *dir, in hpfs_mkdir() 132 static int hpfs_create(struct user_namespace *mnt_userns, struct inode *dir, in hpfs_create() 220 static int hpfs_mknod(struct user_namespace *mnt_userns, struct inode *dir, in hpfs_mknod() 295 static int hpfs_symlink(struct user_namespace *mnt_userns, struct inode *dir, in hpfs_symlink() 515 static int hpfs_rename(struct user_namespace *mnt_userns, struct inode *old_dir, in hpfs_rename()
|
/linux-6.1.9/fs/jffs2/ |
D | dir.c | 163 static int jffs2_create(struct user_namespace *mnt_userns, struct inode *dir_i, in jffs2_create() 282 static int jffs2_symlink (struct user_namespace *mnt_userns, struct inode *dir_i, in jffs2_symlink() 445 static int jffs2_mkdir (struct user_namespace *mnt_userns, struct inode *dir_i, in jffs2_mkdir() 617 static int jffs2_mknod (struct user_namespace *mnt_userns, struct inode *dir_i, in jffs2_mknod() 765 static int jffs2_rename (struct user_namespace *mnt_userns, in jffs2_rename()
|
/linux-6.1.9/fs/nilfs2/ |
D | namei.c | 75 static int nilfs_create(struct user_namespace *mnt_userns, struct inode *dir, in nilfs_create() 103 nilfs_mknod(struct user_namespace *mnt_userns, struct inode *dir, in nilfs_mknod() 128 static int nilfs_symlink(struct user_namespace *mnt_userns, struct inode *dir, in nilfs_symlink() 205 static int nilfs_mkdir(struct user_namespace *mnt_userns, struct inode *dir, in nilfs_mkdir() 343 static int nilfs_rename(struct user_namespace *mnt_userns, in nilfs_rename()
|
/linux-6.1.9/fs/hfs/ |
D | dir.c | 192 static int hfs_create(struct user_namespace *mnt_userns, struct inode *dir, in hfs_create() 222 static int hfs_mkdir(struct user_namespace *mnt_userns, struct inode *dir, in hfs_mkdir() 283 static int hfs_rename(struct user_namespace *mnt_userns, struct inode *old_dir, in hfs_rename()
|
/linux-6.1.9/fs/coda/ |
D | dir.c | 76 int coda_permission(struct user_namespace *mnt_userns, struct inode *inode, in coda_permission() 136 static int coda_create(struct user_namespace *mnt_userns, struct inode *dir, in coda_create() 169 static int coda_mkdir(struct user_namespace *mnt_userns, struct inode *dir, in coda_mkdir() 231 static int coda_symlink(struct user_namespace *mnt_userns, in coda_symlink() 298 static int coda_rename(struct user_namespace *mnt_userns, struct inode *old_dir, in coda_rename()
|