Lines Matching refs:idmap
440 * @idmap: idmap of the mount
450 static int evm_xattr_change(struct mnt_idmap *idmap,
486 static int evm_protect_xattr(struct mnt_idmap *idmap,
542 !evm_xattr_change(idmap, dentry, xattr_name, xattr_value,
557 * @idmap: idmap of the mount
569 int evm_inode_setxattr(struct mnt_idmap *idmap, struct dentry *dentry,
588 return evm_protect_xattr(idmap, dentry, xattr_name, xattr_value,
594 * @idmap: idmap of the mount
601 int evm_inode_removexattr(struct mnt_idmap *idmap,
610 return evm_protect_xattr(idmap, dentry, xattr_name, NULL, 0);
614 static int evm_inode_set_acl_change(struct mnt_idmap *idmap,
626 rc = posix_acl_update_mode(idmap, inode, &mode, &kacl);
633 static inline int evm_inode_set_acl_change(struct mnt_idmap *idmap,
644 * @idmap: idmap of the idmapped mount
653 int evm_inode_set_acl(struct mnt_idmap *idmap, struct dentry *dentry,
682 !evm_inode_set_acl_change(idmap, dentry, acl_name, kacl))
783 static int evm_attr_change(struct mnt_idmap *idmap,
789 if (!i_uid_needs_update(idmap, attr, inode) &&
790 !i_gid_needs_update(idmap, attr, inode) &&
799 * @idmap: idmap of the mount
806 int evm_inode_setattr(struct mnt_idmap *idmap, struct dentry *dentry,
833 !evm_attr_change(idmap, dentry, attr))