Verified Commit 67135e64 authored by Thomas Haller's avatar Thomas Haller

core: avoid deprecated matchfilecon SELinux API instead of selabel

The matchfilecon API is deprecated for a very long time. Since selinux 3.1
the functions are also marked as deprecated in the header, which causes
compiler warnings and build failures.

Update the code to use selabel API instead.

(cherry picked from commit 173533c3)
(cherry picked from commit f5aafb9d)
(cherry picked from commit bde9f102)
parent fb93ca28
Pipeline #196008 passed with stage
in 50 minutes and 44 seconds