Home
last modified time | relevance | path

Searched refs:nop_mnt_idmap (Results 1 – 25 of 61) sorted by relevance

123

/linux/fs/
H A Dmnt_idmapping.c31 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 Dbpf_fs_kfuncs.c113 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 Dnamei.c100 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 Dxattr.c72 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 Dvfs.c274 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 Dnfs3acl.c110 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 Dnfs2acl.c120 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 Devm_crypto.c281 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 Devm_main.c222 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 Devm_secfs.c236 err = simple_setattr(&nop_mnt_idmap, evm_xattrs, &newattrs); in evm_write_xattrs()
/linux/fs/kernfs/
H A Dinode.c123 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 Dioctl.c69 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 Dacl.c231 error = posix_acl_update_mode(&nop_mnt_idmap, inode, &mode, in ext2_set_acl()
/linux/fs/ramfs/
H A Dfile-nommu.c172 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 Dima_asymmetric_keys.c63 process_buffer_measurement(&nop_mnt_idmap, NULL, payload, payload_len, in ima_post_key_create_or_update()
H A Dima_queue_keys.c162 process_buffer_measurement(&nop_mnt_idmap, NULL, in ima_process_queued_keys()
H A Dima_appraise.c106 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 Djfs_inode.c67 inode_init_owner(&nop_mnt_idmap, inode, parent, mode); in ialloc()
/linux/fs/udf/
H A Dsymlink.c144 generic_fillattr(&nop_mnt_idmap, request_mask, inode, stat); in udf_symlink_getattr()
H A Dialloc.c79 inode_init_owner(&nop_mnt_idmap, inode, dir, mode); in udf_new_inode()
/linux/fs/orangefs/
H A Dinode.c807 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 Dinode.c103 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 Dgeneric.c127 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 Dsuper.c545 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 Drecovery.c277 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()

123