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 |
---|---|---|
Kconfig | -rw-r--r-- | 3.2 KB |
Makefile | -rw-r--r-- | 424 bytes |
aops.c | -rw-r--r-- | 52.5 KB |
aops.h | -rw-r--r-- | 3.9 KB |
attrib.c | -rw-r--r-- | 89.6 KB |
attrib.h | -rw-r--r-- | 4.2 KB |
bitmap.c | -rw-r--r-- | 5.4 KB |
bitmap.h | -rw-r--r-- | 3.5 KB |
collate.c | -rw-r--r-- | 3.6 KB |
collate.h | -rw-r--r-- | 1.7 KB |
compress.c | -rw-r--r-- | 28.5 KB |
debug.c | -rw-r--r-- | 4.8 KB |
debug.h | -rw-r--r-- | 2.3 KB |
dir.c | -rw-r--r-- | 51.6 KB |
dir.h | -rw-r--r-- | 1.6 KB |
endian.h | -rw-r--r-- | 2.2 KB |
file.c | -rw-r--r-- | 60.7 KB |
index.c | -rw-r--r-- | 14.8 KB |
index.h | -rw-r--r-- | 5.5 KB |
inode.c | -rw-r--r-- | 96.8 KB |
inode.h | -rw-r--r-- | 11.1 KB |
layout.h | -rw-r--r-- | 97.0 KB |
lcnalloc.c | -rw-r--r-- | 32.4 KB |
lcnalloc.h | -rw-r--r-- | 5.7 KB |
logfile.c | -rw-r--r-- | 28.2 KB |
logfile.h | -rw-r--r-- | 13.5 KB |
malloc.h | -rw-r--r-- | 3.0 KB |
mft.c | -rw-r--r-- | 99.4 KB |
mft.h | -rw-r--r-- | 4.0 KB |
mst.c | -rw-r--r-- | 6.9 KB |
namei.c | -rw-r--r-- | 14.1 KB |
ntfs.h | -rw-r--r-- | 5.0 KB |
quota.c | -rw-r--r-- | 3.6 KB |
quota.h | -rw-r--r-- | 1.2 KB |
runlist.c | -rw-r--r-- | 59.5 KB |
runlist.h | -rw-r--r-- | 3.3 KB |
super.c | -rw-r--r-- | 99.7 KB |
sysctl.c | -rw-r--r-- | 2.3 KB |
sysctl.h | -rw-r--r-- | 1.4 KB |
time.h | -rw-r--r-- | 3.5 KB |
types.h | -rw-r--r-- | 2.0 KB |
unistr.c | -rw-r--r-- | 12.2 KB |
upcase.c | -rw-r--r-- | 3.8 KB |
usnjrnl.c | -rw-r--r-- | 2.7 KB |
usnjrnl.h | -rw-r--r-- | 9.1 KB |
volume.h | -rw-r--r-- | 6.8 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...