diff options
author | David Howells <dhowells@redhat.com> | 2019-12-09 15:04:45 +0000 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2019-12-09 16:37:36 +0000 |
commit | bcbccaf2edcf1b76f73f890e968babef446151a4 (patch) | |
tree | af861c2614079326353fa9f1157dd0178276db83 /fs/afs/mntpt.c | |
parent | 9bd0160d12370a076e44f8d1320cde9c83f2c647 (diff) |
afs: Fix SELinux setting security label on /afs
Make the AFS dynamic root superblock R/W so that SELinux can set the
security label on it. Without this, upgrades to, say, the Fedora
filesystem-afs RPM fail if afs is mounted on it because the SELinux label
can't be (re-)applied.
It might be better to make it possible to bypass the R/O check for LSM
label application through setxattr.
Fixes: 4d673da14533 ("afs: Support the AFS dynamic root")
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Marc Dionne <marc.dionne@auristor.com>
cc: selinux@vger.kernel.org
cc: linux-security-module@vger.kernel.org
Diffstat (limited to 'fs/afs/mntpt.c')
0 files changed, 0 insertions, 0 deletions