mount-setup: relabel items mentioned directly in relabel-extra.d
authorBenjamin Gilbert <bgilbert@redhat.com>
Wed, 11 Sep 2019 03:23:59 +0000 (23:23 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 16 Sep 2019 07:04:22 +0000 (09:04 +0200)
commit71de68476c1897b8624538ce32218891251fa5f6
tree19ebee05a31bb7f076f61f46ab23a88d758c98a6
parentf5e0b942af1e86993c21f4e5c84342bb10403dac
mount-setup: relabel items mentioned directly in relabel-extra.d

relabel_extra() relabels the descendants of directories listed in
relabel-extra.d, but doesn't relabel the files or directories
explicitly named there.  This makes it impossible to use
relabel-extra.d to relabel the root of a filesystem.  Fix by
relabeling the named items too.
src/core/mount-setup.c