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)
committerMichael Biebl <biebl@debian.org>
Sun, 10 Nov 2019 23:58:41 +0000 (23:58 +0000)
commit55b182c4c4a611aba5dd245e0cdcdcb6508b3669
treef5a3612ef46b7f6bd86d2dd7d713e6f0afb6f142
parent2f3c9de2e667c3bab9d796280ea9cccf70665424
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.

(cherry picked from commit 71de68476c1897b8624538ce32218891251fa5f6)
(cherry picked from commit 29308bcc1326521081f4d7369945d325c2d41faa)

Gbp-Pq: Name mount-setup-relabel-items-mentioned-directly-in-relabel-e.patch
src/core/mount-setup.c