/linux-6.3-rc2/fs/jfs/ |
A D | file.c | 94 rc = setattr_prepare(&nop_mnt_idmap, dentry, iattr); in jfs_setattr() 98 if (is_quota_modification(&nop_mnt_idmap, inode, iattr)) { in jfs_setattr() 105 rc = dquot_transfer(&nop_mnt_idmap, inode, iattr); in jfs_setattr() 122 setattr_copy(&nop_mnt_idmap, inode, iattr); in jfs_setattr() 126 rc = posix_acl_chmod(&nop_mnt_idmap, dentry, inode->i_mode); in jfs_setattr()
|
/linux-6.3-rc2/fs/ecryptfs/ |
A D | inode.c | 142 rc = vfs_unlink(&nop_mnt_idmap, lower_dir, lower_dentry, in ecryptfs_do_unlink() 183 rc = vfs_create(&nop_mnt_idmap, lower_dir, in ecryptfs_do_create() 481 rc = vfs_symlink(&nop_mnt_idmap, lower_dir, lower_dentry, in ecryptfs_symlink() 507 rc = vfs_mkdir(&nop_mnt_idmap, lower_dir, in ecryptfs_mkdir() 560 rc = vfs_mknod(&nop_mnt_idmap, lower_dir, in ecryptfs_mknod() 619 rd.old_mnt_idmap = &nop_mnt_idmap; in ecryptfs_rename() 622 rd.new_mnt_idmap = &nop_mnt_idmap; in ecryptfs_rename() 859 rc = notify_change(&nop_mnt_idmap, lower_dentry, in ecryptfs_truncate() 870 return inode_permission(&nop_mnt_idmap, in ecryptfs_permission() 942 rc = setattr_prepare(&nop_mnt_idmap, dentry, ia); in ecryptfs_setattr() [all …]
|
/linux-6.3-rc2/fs/ |
A D | mnt_idmapping.c | 22 struct mnt_idmap nop_mnt_idmap = { variable 26 EXPORT_SYMBOL_GPL(nop_mnt_idmap); 254 if (idmap != &nop_mnt_idmap) in mnt_idmap_get() 269 if (idmap != &nop_mnt_idmap && refcount_dec_and_test(&idmap->count)) { in mnt_idmap_put()
|
/linux-6.3-rc2/fs/cachefiles/ |
A D | xattr.c | 68 ret = vfs_setxattr(&nop_mnt_idmap, dentry, cachefiles_xattr_cache, in cachefiles_set_object_xattr() 111 xlen = vfs_getxattr(&nop_mnt_idmap, dentry, cachefiles_xattr_cache, buf, tlen); in cachefiles_check_auxdata() 153 ret = vfs_removexattr(&nop_mnt_idmap, dentry, cachefiles_xattr_cache); in cachefiles_remove_object_xattr() 210 ret = vfs_setxattr(&nop_mnt_idmap, dentry, cachefiles_xattr_cache, in cachefiles_set_volume_xattr() 252 xlen = vfs_getxattr(&nop_mnt_idmap, dentry, cachefiles_xattr_cache, buf, len); in cachefiles_check_volume_xattr()
|
A D | namei.c | 133 ret = vfs_mkdir(&nop_mnt_idmap, d_inode(dir), subdir, 0700); in cachefiles_get_directory() 248 ret = vfs_unlink(&nop_mnt_idmap, d_backing_inode(dir), dentry, NULL); in cachefiles_unlink() 385 .old_mnt_idmap = &nop_mnt_idmap, in cachefiles_bury_object() 388 .new_mnt_idmap = &nop_mnt_idmap, in cachefiles_bury_object() 454 file = vfs_tmpfile_open(&nop_mnt_idmap, &parentpath, S_IFREG, in cachefiles_create_tmpfile() 717 ret = vfs_link(object->file->f_path.dentry, &nop_mnt_idmap, in cachefiles_commit_tmpfile()
|
/linux-6.3-rc2/fs/minix/ |
A D | file.c | 31 error = setattr_prepare(&nop_mnt_idmap, dentry, attr); in minix_setattr() 45 setattr_copy(&nop_mnt_idmap, inode, attr); in minix_setattr()
|
/linux-6.3-rc2/fs/sysv/ |
A D | file.c | 38 error = setattr_prepare(&nop_mnt_idmap, dentry, attr); in sysv_setattr() 51 setattr_copy(&nop_mnt_idmap, inode, attr); in sysv_setattr()
|
/linux-6.3-rc2/fs/fuse/ |
A D | acl.c | 94 return __fuse_get_acl(fc, &nop_mnt_idmap, inode, type, rcu); in fuse_get_inode_acl() 149 !vfsgid_in_group_p(i_gid_into_vfsgid(&nop_mnt_idmap, inode)) && in fuse_set_acl() 150 !capable_wrt_inode_uidgid(&nop_mnt_idmap, inode, CAP_FSETID)) in fuse_set_acl()
|
/linux-6.3-rc2/drivers/base/ |
A D | devtmpfs.c | 178 err = vfs_mkdir(&nop_mnt_idmap, d_inode(path.dentry), dentry, mode); in dev_mkdir() 228 err = vfs_mknod(&nop_mnt_idmap, d_inode(path.dentry), dentry, mode, in handle_create() 238 notify_change(&nop_mnt_idmap, dentry, &newattrs, NULL); in handle_create() 259 err = vfs_rmdir(&nop_mnt_idmap, d_inode(parent.dentry), in dev_rmdir() 346 notify_change(&nop_mnt_idmap, dentry, &newattrs, NULL); in handle_remove() 348 err = vfs_unlink(&nop_mnt_idmap, d_inode(parent.dentry), in handle_remove()
|
/linux-6.3-rc2/security/integrity/evm/ |
A D | evm_crypto.c | 272 size = vfs_getxattr_alloc(&nop_mnt_idmap, dentry, xattr->name, in evm_calc_hmac_or_hash() 281 user_space_size = vfs_getxattr(&nop_mnt_idmap, dentry, in evm_calc_hmac_or_hash() 333 rc = vfs_getxattr_alloc(&nop_mnt_idmap, dentry, XATTR_NAME_EVM, in evm_is_immutable() 378 rc = __vfs_setxattr_noperm(&nop_mnt_idmap, dentry, in evm_update_evmxattr() 383 rc = __vfs_removexattr(&nop_mnt_idmap, dentry, XATTR_NAME_EVM); in evm_update_evmxattr()
|
/linux-6.3-rc2/fs/nfsd/ |
A D | vfs.c | 451 return notify_change(&nop_mnt_idmap, dentry, iap, NULL); in __nfsd_setattr() 549 attr->na_aclerr = set_posix_acl(&nop_mnt_idmap, in nfsd_setattr() 554 attr->na_aclerr = set_posix_acl(&nop_mnt_idmap, in nfsd_setattr() 1372 host_err = vfs_create(&nop_mnt_idmap, dirp, dchild, in nfsd_create_locked() 1406 host_err = vfs_mknod(&nop_mnt_idmap, dirp, dchild, in nfsd_create_locked() 1755 .old_mnt_idmap = &nop_mnt_idmap, in nfsd_rename() 1758 .new_mnt_idmap = &nop_mnt_idmap, in nfsd_rename() 1867 host_err = vfs_rmdir(&nop_mnt_idmap, dirp, rdentry); in nfsd_unlink() 2139 len = vfs_getxattr(&nop_mnt_idmap, dentry, name, NULL, 0); in nfsd_getxattr() 2388 err = inode_permission(&nop_mnt_idmap, inode, in nfsd_permission() [all …]
|
A D | nfs3acl.c | 106 error = set_posix_acl(&nop_mnt_idmap, fh->fh_dentry, ACL_TYPE_ACCESS, in nfsd3_proc_setacl() 110 error = set_posix_acl(&nop_mnt_idmap, fh->fh_dentry, ACL_TYPE_DEFAULT, in nfsd3_proc_setacl()
|
/linux-6.3-rc2/fs/ramfs/ |
A D | inode.c | 64 inode_init_owner(&nop_mnt_idmap, inode, dir, mode); in ramfs_get_inode() 116 int retval = ramfs_mknod(&nop_mnt_idmap, dir, dentry, mode | S_IFDIR, 0); in ramfs_mkdir() 125 return ramfs_mknod(&nop_mnt_idmap, dir, dentry, mode | S_IFREG, 0); in ramfs_create()
|
A D | file-nommu.c | 169 ret = setattr_prepare(&nop_mnt_idmap, dentry, ia); in ramfs_nommu_setattr() 189 setattr_copy(&nop_mnt_idmap, inode, ia); in ramfs_nommu_setattr()
|
/linux-6.3-rc2/fs/ext2/ |
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()
|
A D | inode.c | 1617 generic_fillattr(&nop_mnt_idmap, inode, stat); in ext2_getattr() 1627 error = setattr_prepare(&nop_mnt_idmap, dentry, iattr); in ext2_setattr() 1631 if (is_quota_modification(&nop_mnt_idmap, inode, iattr)) { in ext2_setattr() 1636 if (i_uid_needs_update(&nop_mnt_idmap, iattr, inode) || in ext2_setattr() 1637 i_gid_needs_update(&nop_mnt_idmap, iattr, inode)) { in ext2_setattr() 1638 error = dquot_transfer(&nop_mnt_idmap, inode, iattr); in ext2_setattr() 1647 setattr_copy(&nop_mnt_idmap, inode, iattr); in ext2_setattr() 1649 error = posix_acl_chmod(&nop_mnt_idmap, dentry, inode->i_mode); in ext2_setattr()
|
/linux-6.3-rc2/fs/kernfs/ |
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() 194 generic_fillattr(&nop_mnt_idmap, inode, stat); in kernfs_iop_getattr() 290 ret = generic_permission(&nop_mnt_idmap, inode, mask); in kernfs_iop_permission()
|
/linux-6.3-rc2/fs/9p/ |
A D | acl.c | 198 if (!inode_owner_or_capable(&nop_mnt_idmap, inode)) { in v9fs_iop_set_acl() 209 retval = posix_acl_update_mode(&nop_mnt_idmap, inode, in v9fs_iop_set_acl() 228 v9fs_vfs_setattr_dotl(&nop_mnt_idmap, dentry, &iattr); in v9fs_iop_set_acl()
|
/linux-6.3-rc2/fs/ocfs2/dlmfs/ |
A D | dlmfs.c | 198 error = setattr_prepare(&nop_mnt_idmap, dentry, attr); in dlmfs_file_setattr() 202 setattr_copy(&nop_mnt_idmap, inode, attr); in dlmfs_file_setattr() 339 inode_init_owner(&nop_mnt_idmap, inode, NULL, mode); in dlmfs_get_root_inode() 362 inode_init_owner(&nop_mnt_idmap, inode, parent, mode); in dlmfs_get_inode()
|
/linux-6.3-rc2/fs/gfs2/ |
A D | inode.c | 327 error = gfs2_permission(&nop_mnt_idmap, dir, MAY_EXEC); in gfs2_lookupi() 357 error = gfs2_permission(&nop_mnt_idmap, &dip->i_inode, in create_ok() 1089 error = gfs2_permission(&nop_mnt_idmap, &dip->i_inode, in gfs2_unlink_ok() 1515 error = gfs2_permission(&nop_mnt_idmap, ndir, in gfs2_rename() 1552 error = gfs2_permission(&nop_mnt_idmap, d_inode(odentry), in gfs2_rename() 1716 error = gfs2_permission(&nop_mnt_idmap, odentry->d_inode, in gfs2_exchange() 1883 error = generic_permission(&nop_mnt_idmap, inode, mask); in gfs2_permission() 1892 setattr_copy(&nop_mnt_idmap, inode, attr); in __gfs2_setattr_simple() 2007 error = setattr_prepare(&nop_mnt_idmap, dentry, attr); in gfs2_setattr() 2018 error = posix_acl_chmod(&nop_mnt_idmap, dentry, in gfs2_setattr() [all …]
|
/linux-6.3-rc2/security/integrity/ima/ |
A D | ima_asymmetric_keys.c | 63 process_buffer_measurement(&nop_mnt_idmap, NULL, payload, payload_len, in ima_post_key_create_or_update()
|
/linux-6.3-rc2/fs/exfat/ |
A D | file.c | 235 generic_fillattr(&nop_mnt_idmap, inode, stat); in exfat_getattr() 268 error = setattr_prepare(&nop_mnt_idmap, dentry, attr); in exfat_setattr() 295 setattr_copy(&nop_mnt_idmap, inode, attr); in exfat_setattr()
|
/linux-6.3-rc2/fs/udf/ |
A D | file.c | 224 error = setattr_prepare(&nop_mnt_idmap, dentry, attr); in udf_setattr() 247 setattr_copy(&nop_mnt_idmap, inode, attr); in udf_setattr()
|
/linux-6.3-rc2/fs/reiserfs/ |
A D | xattr.c | 69 return dir->i_op->create(&nop_mnt_idmap, dir, dentry, mode, true); in xattr_create() 76 return dir->i_op->mkdir(&nop_mnt_idmap, dir, dentry, mode); in xattr_mkdir() 355 err = reiserfs_setattr(&nop_mnt_idmap, dentry, attrs); in chown_one_xattr() 600 err = reiserfs_setattr(&nop_mnt_idmap, dentry, &newattrs); in reiserfs_xattr_set_handle() 954 return generic_permission(&nop_mnt_idmap, inode, mask); in reiserfs_permission()
|
A D | xattr_acl.c | 45 error = posix_acl_update_mode(&nop_mnt_idmap, inode, in reiserfs_set_acl() 410 return posix_acl_chmod(&nop_mnt_idmap, dentry, inode->i_mode); in reiserfs_acl_chmod()
|