Lines Matching refs:mnt_userns
449 static int evm_xattr_acl_change(struct user_namespace *mnt_userns, in evm_xattr_acl_change() argument
473 acl = vfs_set_acl_prepare(mnt_userns, i_user_ns(inode), in evm_xattr_acl_change()
484 rc = posix_acl_update_mode(mnt_userns, inode, &mode, &acl_res); in evm_xattr_acl_change()
509 static int evm_xattr_change(struct user_namespace *mnt_userns, in evm_xattr_change() argument
517 return evm_xattr_acl_change(mnt_userns, dentry, xattr_name, in evm_xattr_change()
546 static int evm_protect_xattr(struct user_namespace *mnt_userns, in evm_protect_xattr() argument
602 !evm_xattr_change(mnt_userns, dentry, xattr_name, xattr_value, in evm_protect_xattr()
629 int evm_inode_setxattr(struct user_namespace *mnt_userns, struct dentry *dentry, in evm_inode_setxattr() argument
648 return evm_protect_xattr(mnt_userns, dentry, xattr_name, xattr_value, in evm_inode_setxattr()
661 int evm_inode_removexattr(struct user_namespace *mnt_userns, in evm_inode_removexattr() argument
670 return evm_protect_xattr(mnt_userns, dentry, xattr_name, NULL, 0); in evm_inode_removexattr()
763 static int evm_attr_change(struct user_namespace *mnt_userns, in evm_attr_change() argument
769 if (!i_uid_needs_update(mnt_userns, attr, inode) && in evm_attr_change()
770 !i_gid_needs_update(mnt_userns, attr, inode) && in evm_attr_change()
784 int evm_inode_setattr(struct user_namespace *mnt_userns, struct dentry *dentry, in evm_inode_setattr() argument
811 !evm_attr_change(mnt_userns, dentry, attr)) in evm_inode_setattr()