Re: [PATCH] overlayfs: Fix setting IOP_XATTR flag

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 14, 2016 at 03:03:36AM +0200, Andreas Gruenbacher wrote:
> From: Vivek Goyal <vgoyal@xxxxxxxxxx>
> 
> ovl_fill_super calls ovl_new_inode to create a root inode for the new
> superblock before initializing sb->s_xattr.  This wrongly causes
> IOP_XATTR to be cleared in i_opflags of the new inode, causing SELinux
> to log the following message:
> 
>   SELinux: (dev overlay, type overlay) has no xattr support
> 
> Fix this by initializing sb->s_xattr and similar fields before calling
> ovl_new_inode.

Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux