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 |
---|---|---|
bnep | ||
cmtp | ||
hidp | ||
rfcomm | ||
6lowpan.c | -rw-r--r-- | 30.2 KB |
Kconfig | -rw-r--r-- | 3.3 KB |
Makefile | -rw-r--r-- | 717 bytes |
a2mp.c | -rw-r--r-- | 21.9 KB |
a2mp.h | -rw-r--r-- | 3.6 KB |
af_bluetooth.c | -rw-r--r-- | 16.9 KB |
amp.c | -rw-r--r-- | 14.3 KB |
amp.h | -rw-r--r-- | 2.3 KB |
ecc.c | -rw-r--r-- | 19.8 KB |
ecc.h | -rw-r--r-- | 2.3 KB |
hci_conn.c | -rw-r--r-- | 39.4 KB |
hci_core.c | -rw-r--r-- | 99.4 KB |
hci_debugfs.c | -rw-r--r-- | 29.1 KB |
hci_debugfs.h | -rw-r--r-- | 1.6 KB |
hci_event.c | -rw-r--r-- | 129.4 KB |
hci_request.c | -rw-r--r-- | 59.2 KB |
hci_request.h | -rw-r--r-- | 4.6 KB |
hci_sock.c | -rw-r--r-- | 44.3 KB |
hci_sysfs.c | -rw-r--r-- | 2.1 KB |
l2cap_core.c | -rw-r--r-- | 178.4 KB |
l2cap_sock.c | -rw-r--r-- | 36.6 KB |
leds.c | -rw-r--r-- | 2.4 KB |
leds.h | -rw-r--r-- | 700 bytes |
lib.c | -rw-r--r-- | 3.3 KB |
mgmt.c | -rw-r--r-- | 185.9 KB |
mgmt_util.c | -rw-r--r-- | 6.2 KB |
mgmt_util.h | -rw-r--r-- | 2.2 KB |
sco.c | -rw-r--r-- | 24.6 KB |
selftest.c | -rw-r--r-- | 7.9 KB |
selftest.h | -rw-r--r-- | 1.6 KB |
smp.c | -rw-r--r-- | 91.1 KB |
smp.h | -rw-r--r-- | 4.9 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...