Revision 655042cc1406fcec20aa7ffd7d790ada18ac5211 authored by Vivek Goyal on 14 October 2016, 01:03:36 UTC, committed by Al Viro on 15 October 2016, 00:00:34 UTC
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. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 parent ffecee4
File | Mode | Size |
---|---|---|
crush | ||
Kconfig | -rw-r--r-- | 1.1 KB |
Makefile | -rw-r--r-- | 393 bytes |
armor.c | -rw-r--r-- | 1.9 KB |
auth.c | -rw-r--r-- | 7.4 KB |
auth_none.c | -rw-r--r-- | 3.0 KB |
auth_none.h | -rw-r--r-- | 464 bytes |
auth_x.c | -rw-r--r-- | 19.3 KB |
auth_x.h | -rw-r--r-- | 919 bytes |
auth_x_protocol.h | -rw-r--r-- | 1.7 KB |
buffer.c | -rw-r--r-- | 1.2 KB |
ceph_common.c | -rw-r--r-- | 18.0 KB |
ceph_fs.c | -rw-r--r-- | 2.5 KB |
ceph_hash.c | -rw-r--r-- | 2.8 KB |
ceph_strings.c | -rw-r--r-- | 1.2 KB |
cls_lock_client.c | -rw-r--r-- | 8.8 KB |
crypto.c | -rw-r--r-- | 14.1 KB |
crypto.h | -rw-r--r-- | 1.4 KB |
debugfs.c | -rw-r--r-- | 9.9 KB |
messenger.c | -rw-r--r-- | 85.1 KB |
mon_client.c | -rw-r--r-- | 32.2 KB |
msgpool.c | -rw-r--r-- | 2.0 KB |
osd_client.c | -rw-r--r-- | 116.7 KB |
osdmap.c | -rw-r--r-- | 49.6 KB |
pagelist.c | -rw-r--r-- | 3.6 KB |
pagevec.c | -rw-r--r-- | 4.0 KB |
snapshot.c | -rw-r--r-- | 2.2 KB |
string_table.c | -rw-r--r-- | 2.2 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...