/Linux-v6.6/security/integrity/ima/ |
D | ima_main.c | 232 action = ima_get_action(file_mnt_idmap(file), inode, cred, secid, in process_measurement() 474 action = ima_get_action(file_mnt_idmap(vma->vm_file), inode, in ima_file_mprotect() 477 action |= ima_get_action(file_mnt_idmap(vma->vm_file), inode, in ima_file_mprotect() 1038 process_buffer_measurement(file_mnt_idmap(f.file), file_inode(f.file), in ima_kexec_cmdline()
|
/Linux-v6.6/fs/fat/ |
D | file.c | 93 err = security_inode_setattr(file_mnt_idmap(file), in fat_ioctl_set_attributes() 99 err = fat_setattr(file_mnt_idmap(file), file->f_path.dentry, &ia); in fat_ioctl_set_attributes()
|
/Linux-v6.6/fs/ |
D | xattr.c | 709 error = setxattr(file_mnt_idmap(f.file), in SYSCALL_DEFINE5() 818 error = getxattr(file_mnt_idmap(f.file), f.file->f_path.dentry, in SYSCALL_DEFINE4() 965 error = removexattr(file_mnt_idmap(f.file), in SYSCALL_DEFINE2()
|
D | ioctl.c | 718 struct mnt_idmap *idmap = file_mnt_idmap(file); in ioctl_setflags() 750 struct mnt_idmap *idmap = file_mnt_idmap(file); in ioctl_fssetxattr()
|
D | remap_range.c | 425 struct mnt_idmap *idmap = file_mnt_idmap(file); in allow_file_dedupe()
|
D | inode.c | 2074 kill = dentry_needs_remove_privs(file_mnt_idmap(file), dentry); in __file_remove_privs() 2082 error = __remove_privs(file_mnt_idmap(file), dentry, kill); in __file_remove_privs()
|
D | exec.c | 1421 struct mnt_idmap *idmap = file_mnt_idmap(file); in would_dump() 1619 idmap = file_mnt_idmap(file); in bprm_fill_uid()
|
D | fcntl.c | 51 if (!inode_owner_or_capable(file_mnt_idmap(filp), inode)) in setfl()
|
D | coredump.c | 727 idmap = file_mnt_idmap(cprm.file); in do_coredump()
|
D | open.c | 194 error = do_truncate(file_mnt_idmap(f.file), dentry, length, in do_sys_ftruncate()
|
/Linux-v6.6/fs/smb/server/ |
D | smb2pdu.c | 3776 struct mnt_idmap *idmap = file_mnt_idmap(priv->dir_fp->filp); in process_query_dir_entries() 4040 inode_permission(file_mnt_idmap(dir_fp->filp), in smb2_query_dir() 4300 struct mnt_idmap *idmap = file_mnt_idmap(fp->filp); in smb2_get_ea() 4468 generic_fillattr(file_mnt_idmap(fp->filp), STATX_BASIC_STATS, in get_file_basic_info() 4493 generic_fillattr(file_mnt_idmap(fp->filp), STATX_BASIC_STATS, inode, &stat); in get_file_standard_info() 4543 generic_fillattr(file_mnt_idmap(fp->filp), STATX_BASIC_STATS, inode, &stat); in get_file_all_info() 4618 generic_fillattr(file_mnt_idmap(fp->filp), STATX_BASIC_STATS, in get_file_stream_info() 4708 generic_fillattr(file_mnt_idmap(fp->filp), STATX_BASIC_STATS, in get_file_internal_info() 4733 generic_fillattr(file_mnt_idmap(fp->filp), STATX_BASIC_STATS, inode, &stat); in get_file_network_open_info() 4790 generic_fillattr(file_mnt_idmap(fp->filp), STATX_BASIC_STATS, in get_file_compression_info() [all …]
|
D | vfs.c | 297 v_len = ksmbd_vfs_getcasexattr(file_mnt_idmap(fp->filp), in ksmbd_vfs_stream_read() 421 struct mnt_idmap *idmap = file_mnt_idmap(fp->filp); in ksmbd_vfs_stream_write() 1070 struct mnt_idmap *idmap = file_mnt_idmap(filp); in ksmbd_vfs_unlink()
|
D | smb_common.c | 420 struct mnt_idmap *idmap = file_mnt_idmap(dir->filp); in ksmbd_populate_dot_dotdot_entries()
|
D | vfs_cache.c | 254 err = ksmbd_vfs_remove_xattr(file_mnt_idmap(filp), in __ksmbd_inode_close()
|
D | oplock.c | 1605 struct mnt_idmap *idmap = file_mnt_idmap(fp->filp); in create_posix_rsp_buf()
|
/Linux-v6.6/fs/btrfs/ |
D | ioctl.c | 1321 ret = __btrfs_ioctl_snap_create(file, file_mnt_idmap(file), in btrfs_ioctl_snap_create() 1381 ret = __btrfs_ioctl_snap_create(file, file_mnt_idmap(file), in btrfs_ioctl_snap_create_v2() 1426 if (!inode_owner_or_capable(file_mnt_idmap(file), inode)) in btrfs_ioctl_subvol_setflags() 2111 ret = btrfs_search_path_in_tree_user(file_mnt_idmap(file), inode, args); in btrfs_ioctl_ino_lookup_user() 2345 struct mnt_idmap *idmap = file_mnt_idmap(file); in btrfs_ioctl_snap_destroy() 4048 ret = _btrfs_ioctl_set_received_subvol(file, file_mnt_idmap(file), args64); in btrfs_ioctl_set_received_subvol_32() 4082 ret = _btrfs_ioctl_set_received_subvol(file, file_mnt_idmap(file), sa); in btrfs_ioctl_set_received_subvol()
|
/Linux-v6.6/fs/xfs/ |
D | xfs_ioctl32.c | 207 .idmap = file_mnt_idmap(file), in xfs_compat_ioc_fsbulkstat()
|
D | xfs_ioctl.c | 668 .idmap = file_mnt_idmap(file), in xfs_ioc_fsbulkstat() 847 .idmap = file_mnt_idmap(file), in xfs_ioc_bulkstat()
|
D | xfs_file.c | 1072 error = xfs_vn_setattr_size(file_mnt_idmap(file), in xfs_file_fallocate()
|
/Linux-v6.6/security/apparmor/ |
D | file.c | 462 vfsuid_t vfsuid = i_uid_into_vfsuid(file_mnt_idmap(file), in __file_path_perm()
|
D | domain.c | 865 vfsuid_t vfsuid = i_uid_into_vfsuid(file_mnt_idmap(bprm->file), in apparmor_bprm_creds_for_exec()
|
D | lsm.c | 461 struct mnt_idmap *idmap = file_mnt_idmap(file); in apparmor_file_open()
|
/Linux-v6.6/security/ |
D | commoncap.c | 745 rc = get_vfs_caps_from_disk(file_mnt_idmap(file), in get_file_caps()
|
/Linux-v6.6/include/linux/ |
D | fs.h | 2412 static inline struct mnt_idmap *file_mnt_idmap(struct file *file) in file_mnt_idmap() function 2612 return inode_permission(file_mnt_idmap(file), in file_permission()
|
/Linux-v6.6/fs/ext4/ |
D | ioctl.c | 1228 struct mnt_idmap *idmap = file_mnt_idmap(filp); in __ext4_ioctl()
|