David Howells bcbccaf2ed 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
2019-12-09 16:37:36 +00:00
..
2019-07-08 19:36:47 -07:00
2019-08-22 13:33:26 +01:00
2019-11-25 19:40:40 -08:00
2019-07-10 20:55:33 -07:00
2019-11-30 10:57:22 -08:00
2019-09-02 11:43:54 +01:00
2019-07-10 20:55:33 -07:00
2019-07-10 20:55:33 -07:00
2019-11-21 09:12:17 +00:00
2019-11-30 10:57:22 -08:00