Home
last modified time | relevance | path

Searched defs:mnt_userns (Results 1 – 25 of 211) sorted by relevance

123456789

/Linux-v5.15/fs/
Dbad_inode.c30 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()
Dattr.c33 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()
96 int setattr_prepare(struct user_namespace *mnt_userns, struct dentry *dentry, in setattr_prepare()
226 void setattr_copy(struct user_namespace *mnt_userns, struct inode *inode, in setattr_copy()
252 int may_setattr(struct user_namespace *mnt_userns, struct inode *inode, in may_setattr()
310 int notify_change(struct user_namespace *mnt_userns, struct dentry *dentry, in notify_change()
Dposix_acl.c359 posix_acl_permission(struct user_namespace *mnt_userns, struct inode *inode, in posix_acl_permission()
586 posix_acl_chmod(struct user_namespace *mnt_userns, struct inode *inode, in posix_acl_chmod()
686 int posix_acl_update_mode(struct user_namespace *mnt_userns, in posix_acl_update_mode()
711 struct user_namespace *mnt_userns, in posix_acl_fix_xattr_userns()
757 void posix_acl_fix_xattr_from_user(struct user_namespace *mnt_userns, in posix_acl_fix_xattr_from_user()
767 void posix_acl_fix_xattr_to_user(struct user_namespace *mnt_userns, in posix_acl_fix_xattr_to_user()
914 set_posix_acl(struct user_namespace *mnt_userns, struct inode *inode, in set_posix_acl()
938 struct user_namespace *mnt_userns, in posix_acl_xattr_set()
980 int simple_set_acl(struct user_namespace *mnt_userns, struct inode *inode, in simple_set_acl()
Dxattr.c86 xattr_permission(struct user_namespace *mnt_userns, struct inode *inode, in xattr_permission()
167 __vfs_setxattr(struct user_namespace *mnt_userns, struct dentry *dentry, in __vfs_setxattr()
202 int __vfs_setxattr_noperm(struct user_namespace *mnt_userns, in __vfs_setxattr_noperm()
255 __vfs_setxattr_locked(struct user_namespace *mnt_userns, struct dentry *dentry, in __vfs_setxattr_locked()
284 vfs_setxattr(struct user_namespace *mnt_userns, struct dentry *dentry, in vfs_setxattr()
318 xattr_getsecurity(struct user_namespace *mnt_userns, struct inode *inode, in xattr_getsecurity()
354 vfs_getxattr_alloc(struct user_namespace *mnt_userns, struct dentry *dentry, in vfs_getxattr_alloc()
404 vfs_getxattr(struct user_namespace *mnt_userns, struct dentry *dentry, in vfs_getxattr()
457 __vfs_removexattr(struct user_namespace *mnt_userns, struct dentry *dentry, in __vfs_removexattr()
484 __vfs_removexattr_locked(struct user_namespace *mnt_userns, in __vfs_removexattr_locked()
[all …]
Dnamei.c289 static int check_acl(struct user_namespace *mnt_userns, in check_acl()
334 static int acl_permission_check(struct user_namespace *mnt_userns, in acl_permission_check()
395 int generic_permission(struct user_namespace *mnt_userns, struct inode *inode, in generic_permission()
452 static inline int do_inode_permission(struct user_namespace *mnt_userns, in do_inode_permission()
499 int inode_permission(struct user_namespace *mnt_userns, in inode_permission()
1045 struct user_namespace *mnt_userns; in may_follow_link() local
1086 static bool safe_hardlink_source(struct user_namespace *mnt_userns, in safe_hardlink_source()
1129 int may_linkat(struct user_namespace *mnt_userns, struct path *link) in may_linkat()
1179 static int may_create_in_sticky(struct user_namespace *mnt_userns, in may_create_in_sticky()
1679 static inline int may_lookup(struct user_namespace *mnt_userns, in may_lookup()
[all …]
/Linux-v5.15/fs/minix/
Dnamei.c36 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-v5.15/fs/xfs/
Dxfs_iops.c163 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()
573 struct user_namespace *mnt_userns, in xfs_vn_getattr()
670 struct user_namespace *mnt_userns, in xfs_vn_change_ok()
693 struct user_namespace *mnt_userns, in xfs_setattr_nonsize()
855 struct user_namespace *mnt_userns, in xfs_setattr_size()
[all …]
/Linux-v5.15/fs/ext2/
Dnamei.c102 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()
231 static int ext2_mkdir(struct user_namespace * mnt_userns, in ext2_mkdir()
324 static int ext2_rename (struct user_namespace * mnt_userns, in ext2_rename()
/Linux-v5.15/fs/sysv/
Dnamei.c44 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-v5.15/fs/ufs/
Dnamei.c72 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-v5.15/fs/ramfs/
Dinode.c97 ramfs_mknod(struct user_namespace *mnt_userns, struct inode *dir, in ramfs_mknod()
112 static int ramfs_mkdir(struct user_namespace *mnt_userns, struct inode *dir, in ramfs_mkdir()
121 static int ramfs_create(struct user_namespace *mnt_userns, struct inode *dir, in ramfs_create()
127 static int ramfs_symlink(struct user_namespace *mnt_userns, struct inode *dir, in ramfs_symlink()
147 static int ramfs_tmpfile(struct user_namespace *mnt_userns, in ramfs_tmpfile()
/Linux-v5.15/fs/orangefs/
Dnamei.c18 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-v5.15/fs/ntfs3/
Dnamei.c95 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()
Dxattr.c479 static struct posix_acl *ntfs_get_acl_ex(struct user_namespace *mnt_userns, in ntfs_get_acl_ex()
542 static noinline int ntfs_set_acl_ex(struct user_namespace *mnt_userns, in ntfs_set_acl_ex()
616 int ntfs_set_acl(struct user_namespace *mnt_userns, struct inode *inode, in ntfs_set_acl()
627 int ntfs_init_acl(struct user_namespace *mnt_userns, struct inode *inode, in ntfs_init_acl()
661 int ntfs_acl_chmod(struct user_namespace *mnt_userns, struct inode *inode) in ntfs_acl_chmod()
677 int ntfs_permission(struct user_namespace *mnt_userns, struct inode *inode, in ntfs_permission()
799 struct user_namespace *mnt_userns, in ntfs_setxattr()
/Linux-v5.15/fs/hfsplus/
Ddir.c437 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-v5.15/fs/ecryptfs/
Dinode.c254 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-v5.15/include/linux/
Dposix_acl_xattr.h41 static inline void posix_acl_fix_xattr_from_user(struct user_namespace *mnt_userns, in posix_acl_fix_xattr_from_user()
45 static inline void posix_acl_fix_xattr_to_user(struct user_namespace *mnt_userns, in posix_acl_fix_xattr_to_user()
/Linux-v5.15/fs/hpfs/
Dnamei.c23 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()
514 static int hpfs_rename(struct user_namespace *mnt_userns, struct inode *old_dir, in hpfs_rename()
/Linux-v5.15/fs/nilfs2/
Dnamei.c75 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-v5.15/fs/jffs2/
Ddir.c163 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-v5.15/fs/hfs/
Ddir.c192 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-v5.15/fs/coda/
Ddir.c76 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()
/Linux-v5.15/fs/f2fs/
Dnamei.c335 static int f2fs_create(struct user_namespace *mnt_userns, struct inode *dir, in f2fs_create()
659 static int f2fs_symlink(struct user_namespace *mnt_userns, struct inode *dir, in f2fs_symlink()
739 static int f2fs_mkdir(struct user_namespace *mnt_userns, struct inode *dir, in f2fs_mkdir()
794 static int f2fs_mknod(struct user_namespace *mnt_userns, struct inode *dir, in f2fs_mknod()
902 static int f2fs_tmpfile(struct user_namespace *mnt_userns, struct inode *dir, in f2fs_tmpfile()
1280 static int f2fs_rename2(struct user_namespace *mnt_userns, in f2fs_rename2()
1326 static int f2fs_encrypted_symlink_getattr(struct user_namespace *mnt_userns, in f2fs_encrypted_symlink_getattr()
/Linux-v5.15/fs/kernfs/
Dinode.c109 int kernfs_iop_setattr(struct user_namespace *mnt_userns, struct dentry *dentry, in kernfs_iop_setattr()
181 int kernfs_iop_getattr(struct user_namespace *mnt_userns, in kernfs_iop_getattr()
273 int kernfs_iop_permission(struct user_namespace *mnt_userns, in kernfs_iop_permission()
325 struct user_namespace *mnt_userns, in kernfs_vfs_xattr_set()
392 struct user_namespace *mnt_userns, in kernfs_vfs_user_xattr_set()
/Linux-v5.15/security/integrity/evm/
Devm_main.c455 static int evm_xattr_acl_change(struct user_namespace *mnt_userns, in evm_xattr_acl_change()
504 static int evm_xattr_change(struct user_namespace *mnt_userns, in evm_xattr_change()
541 static int evm_protect_xattr(struct user_namespace *mnt_userns, in evm_protect_xattr()
624 int evm_inode_setxattr(struct user_namespace *mnt_userns, struct dentry *dentry, in evm_inode_setxattr()
656 int evm_inode_removexattr(struct user_namespace *mnt_userns, in evm_inode_removexattr()

123456789