| /linux/fs/ |
| H A D | mnt_idmapping.c | 31 struct mnt_idmap nop_mnt_idmap = { variable 34 EXPORT_SYMBOL_GPL(nop_mnt_idmap); 86 if (idmap == &nop_mnt_idmap) in make_vfsuid() 125 if (idmap == &nop_mnt_idmap) in make_vfsgid() 155 if (idmap == &nop_mnt_idmap) in from_vfsuid() 184 if (idmap == &nop_mnt_idmap) in from_vfsgid() 317 if (idmap != &nop_mnt_idmap && idmap != &invalid_mnt_idmap) in mnt_idmap_get() 333 if (idmap != &nop_mnt_idmap && idmap != &invalid_mnt_idmap && in mnt_idmap_put()
|
| H A D | bpf_fs_kfuncs.c | 113 return inode_permission(&nop_mnt_idmap, inode, MAY_READ); in bpf_xattr_read_permission() 182 return inode_permission(&nop_mnt_idmap, inode, MAY_WRITE); in bpf_xattr_write_permission() 220 ret = __vfs_setxattr(&nop_mnt_idmap, dentry, inode, name__str, in bpf_set_dentry_xattr_locked() 258 ret = __vfs_removexattr(&nop_mnt_idmap, dentry, name__str); in bpf_remove_dentry_xattr_locked()
|
| /linux/fs/cachefiles/ |
| H A D | namei.c | 100 subdir = start_creating(&nop_mnt_idmap, dir, &QSTR(dirname)); in cachefiles_get_directory() 132 subdir = vfs_mkdir(&nop_mnt_idmap, d_inode(dir), subdir, 0700, NULL); in cachefiles_get_directory() 250 ret = vfs_unlink(&nop_mnt_idmap, d_backing_inode(dir), dentry, NULL); in cachefiles_unlink() 307 rd.mnt_idmap = &nop_mnt_idmap; in cachefiles_bury_object() 425 file = kernel_tmpfile_open(&nop_mnt_idmap, &parentpath, in cachefiles_create_tmpfile() 590 dentry = lookup_one_positive_unlocked(&nop_mnt_idmap, in cachefiles_look_up_object() 646 dentry = start_creating(&nop_mnt_idmap, fan, &QSTR(object->d_name)); in cachefiles_commit_tmpfile() 670 dentry = start_creating(&nop_mnt_idmap, fan, in cachefiles_commit_tmpfile() 684 ret = vfs_link(object->file->f_path.dentry, &nop_mnt_idmap, in cachefiles_commit_tmpfile() 717 victim = start_removing(&nop_mnt_idmap, dir, &QSTR(filename)); in cachefiles_lookup_for_cull()
|
| H A D | xattr.c | 72 ret = vfs_setxattr(&nop_mnt_idmap, dentry, in cachefiles_set_object_xattr() 120 xlen = vfs_getxattr(&nop_mnt_idmap, dentry, cachefiles_xattr_cache, buf, tlen); in cachefiles_check_auxdata() 170 ret = vfs_removexattr(&nop_mnt_idmap, dentry, in cachefiles_remove_object_xattr() 233 ret = vfs_setxattr(&nop_mnt_idmap, dentry, in cachefiles_set_volume_xattr() 279 xlen = vfs_getxattr(&nop_mnt_idmap, dentry, cachefiles_xattr_cache, buf, len); in cachefiles_check_volume_xattr()
|
| /linux/fs/nfsd/ |
| H A D | vfs.c | 274 dentry = lookup_one_unlocked(&nop_mnt_idmap, in nfsd_lookup_dentry() 417 setattr_should_drop_sgid(&nop_mnt_idmap, inode); in nfsd_sanitize_attrs() 461 host_err = notify_change(&nop_mnt_idmap, dentry, &size_attr, NULL); in __nfsd_setattr() 487 return notify_change(&nop_mnt_idmap, dentry, iap, NULL); in __nfsd_setattr() 612 attr->na_dpaclerr = set_posix_acl(&nop_mnt_idmap, in nfsd_setattr() 616 attr->na_dpaclerr = set_posix_acl(&nop_mnt_idmap, in nfsd_setattr() 630 attr->na_paclerr = set_posix_acl(&nop_mnt_idmap, in nfsd_setattr() 679 if (vfs_getxattr(&nop_mnt_idmap, dentry, NFSD_JUNCTION_XATTR_NAME, in nfsd4_is_junction() 1828 host_err = vfs_create(&nop_mnt_idmap, dchild, iap->ia_mode, NULL); in nfsd_create_locked() 1833 dchild = vfs_mkdir(&nop_mnt_idmap, dirp, dchild, iap->ia_mode, NULL); in nfsd_create_locked() [all …]
|
| H A D | nfs3acl.c | 110 error = set_posix_acl(&nop_mnt_idmap, fh->fh_dentry, in nfsd3_proc_setacl() 116 error = set_posix_acl(&nop_mnt_idmap, fh->fh_dentry, in nfsd3_proc_setacl()
|
| H A D | nfs2acl.c | 120 error = set_posix_acl(&nop_mnt_idmap, fh->fh_dentry, in nfsacld_proc_setacl() 126 error = set_posix_acl(&nop_mnt_idmap, fh->fh_dentry, in nfsacld_proc_setacl()
|
| /linux/security/integrity/evm/ |
| H A D | evm_crypto.c | 281 size = vfs_getxattr_alloc(&nop_mnt_idmap, dentry, xattr->name, in evm_calc_hmac_or_hash() 290 user_space_size = vfs_getxattr(&nop_mnt_idmap, dentry, in evm_calc_hmac_or_hash() 350 rc = vfs_getxattr_alloc(&nop_mnt_idmap, dentry, XATTR_NAME_EVM, in evm_is_immutable() 396 rc = __vfs_setxattr_noperm(&nop_mnt_idmap, dentry, in evm_update_evmxattr() 401 rc = __vfs_removexattr(&nop_mnt_idmap, dentry, XATTR_NAME_EVM); in evm_init_hmac()
|
| H A D | evm_main.c | 222 rc = vfs_getxattr_alloc(&nop_mnt_idmap, dentry, XATTR_NAME_EVM, in evm_verify_hmac() 491 rc = vfs_getxattr_alloc(&nop_mnt_idmap, dentry, xattr_name, &xattr_data, 1038 rc = vfs_getxattr_alloc(&nop_mnt_idmap, src, XATTR_NAME_EVM, in evm_inode_init_security()
|
| H A D | evm_secfs.c | 236 err = simple_setattr(&nop_mnt_idmap, evm_xattrs, &newattrs); in evm_write_xattrs()
|
| /linux/fs/kernfs/ |
| H A D | inode.c | 123 error = setattr_prepare(&nop_mnt_idmap, dentry, iattr); in kernfs_iop_setattr() 132 setattr_copy(&nop_mnt_idmap, inode, iattr); in kernfs_iop_setattr() 192 generic_fillattr(&nop_mnt_idmap, request_mask, inode, stat); in kernfs_iop_getattr() 288 ret = generic_permission(&nop_mnt_idmap, inode, mask); in kernfs_iop_permission()
|
| /linux/fs/ext2/ |
| H A D | ioctl.c | 69 if (!inode_owner_or_capable(&nop_mnt_idmap, inode)) in ext2_ioctl() 102 if (!inode_owner_or_capable(&nop_mnt_idmap, inode)) in ext2_ioctl()
|
| H A D | acl.c | 231 error = posix_acl_update_mode(&nop_mnt_idmap, inode, &mode, in ext2_set_acl()
|
| /linux/fs/ramfs/ |
| H A D | file-nommu.c | 172 ret = setattr_prepare(&nop_mnt_idmap, dentry, ia); in ramfs_nommu_setattr() 192 setattr_copy(&nop_mnt_idmap, inode, ia); in ramfs_nommu_setattr()
|
| /linux/security/integrity/ima/ |
| H A D | ima_asymmetric_keys.c | 63 process_buffer_measurement(&nop_mnt_idmap, NULL, payload, payload_len, in ima_post_key_create_or_update()
|
| H A D | ima_queue_keys.c | 162 process_buffer_measurement(&nop_mnt_idmap, NULL, in ima_process_queued_keys()
|
| H A D | ima_appraise.c | 106 rc = __vfs_setxattr_noperm(&nop_mnt_idmap, dentry, XATTR_NAME_IMA, in ima_fix_xattr() 236 ret = vfs_getxattr_alloc(&nop_mnt_idmap, dentry, XATTR_NAME_IMA, in ima_read_xattr() 447 process_buffer_measurement(&nop_mnt_idmap, NULL, digest, digestsize, in ima_check_blacklist()
|
| /linux/fs/jfs/ |
| H A D | jfs_inode.c | 67 inode_init_owner(&nop_mnt_idmap, inode, parent, mode); in ialloc()
|
| /linux/fs/udf/ |
| H A D | symlink.c | 144 generic_fillattr(&nop_mnt_idmap, request_mask, inode, stat); in udf_symlink_getattr()
|
| H A D | ialloc.c | 79 inode_init_owner(&nop_mnt_idmap, inode, dir, mode); in udf_new_inode()
|
| /linux/fs/orangefs/ |
| H A D | inode.c | 807 setattr_copy(&nop_mnt_idmap, inode, iattr); in __orangefs_setattr() 824 ret = posix_acl_chmod(&nop_mnt_idmap, dentry, inode->i_mode); in __orangefs_setattr_mode() 837 ret = setattr_prepare(&nop_mnt_idmap, dentry, iattr); in orangefs_setattr() 864 generic_fillattr(&nop_mnt_idmap, request_mask, inode, stat); in orangefs_getattr() 890 return generic_permission(&nop_mnt_idmap, inode, mask); in orangefs_permission()
|
| /linux/arch/powerpc/platforms/cell/spufs/ |
| H A D | inode.c | 103 setattr_copy(&nop_mnt_idmap, inode, attr); in spufs_setattr() 229 inode_init_owner(&nop_mnt_idmap, inode, dir, mode | S_IFDIR); in spufs_mkdir() 457 inode_init_owner(&nop_mnt_idmap, inode, dir, mode | S_IFDIR); in spufs_mkgang()
|
| /linux/fs/proc/ |
| H A D | generic.c | 127 error = setattr_prepare(&nop_mnt_idmap, dentry, iattr); in proc_setattr() 131 setattr_copy(&nop_mnt_idmap, inode, iattr); in proc_setattr() 151 generic_fillattr(&nop_mnt_idmap, request_mask, inode, stat); in proc_getattr()
|
| /linux/fs/zonefs/ |
| H A D | super.c | 545 ret = setattr_prepare(&nop_mnt_idmap, dentry, iattr); in zonefs_inode_setattr() 562 ret = dquot_transfer(&nop_mnt_idmap, inode, iattr); in zonefs_inode_setattr() 573 setattr_copy(&nop_mnt_idmap, inode, iattr); in zonefs_inode_setattr() 694 inode_init_owner(&nop_mnt_idmap, inode, root, S_IFDIR | 0555); in zonefs_get_zgroup_inode()
|
| /linux/fs/f2fs/ |
| H A D | recovery.c | 277 if (!vfsuid_eq(attr.ia_vfsuid, i_uid_into_vfsuid(&nop_mnt_idmap, inode))) in recover_quota_data() 279 if (!vfsgid_eq(attr.ia_vfsgid, i_gid_into_vfsgid(&nop_mnt_idmap, inode))) in recover_quota_data() 285 err = dquot_transfer(&nop_mnt_idmap, inode, &attr); in recover_quota_data()
|