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 |
---|---|---|
6lowpan_i.h | -rw-r--r-- | 970 bytes |
Kconfig | -rw-r--r-- | 2.7 KB |
Makefile | -rw-r--r-- | 831 bytes |
core.c | -rw-r--r-- | 4.3 KB |
debugfs.c | -rw-r--r-- | 8.0 KB |
iphc.c | -rw-r--r-- | 36.1 KB |
ndisc.c | -rw-r--r-- | 6.7 KB |
nhc.c | -rw-r--r-- | 5.3 KB |
nhc.h | -rw-r--r-- | 4.3 KB |
nhc_dest.c | -rw-r--r-- | 860 bytes |
nhc_fragment.c | -rw-r--r-- | 868 bytes |
nhc_ghc_ext_dest.c | -rw-r--r-- | 880 bytes |
nhc_ghc_ext_frag.c | -rw-r--r-- | 892 bytes |
nhc_ghc_ext_hop.c | -rw-r--r-- | 868 bytes |
nhc_ghc_ext_route.c | -rw-r--r-- | 885 bytes |
nhc_ghc_icmpv6.c | -rw-r--r-- | 823 bytes |
nhc_ghc_udp.c | -rw-r--r-- | 781 bytes |
nhc_hop.c | -rw-r--r-- | 843 bytes |
nhc_ipv6.c | -rw-r--r-- | 807 bytes |
nhc_mobility.c | -rw-r--r-- | 868 bytes |
nhc_routing.c | -rw-r--r-- | 855 bytes |
nhc_udp.c | -rw-r--r-- | 5.7 KB |
Computing file changes ...