summaryrefslogtreecommitdiff
path: root/modules/pam_namespace/pam_namespace.h
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-07-27 20:16:20 +0200
committerTomáš Mráz <tmraz@redhat.com>2020-08-05 16:30:03 +0200
commit31682cd25f7add493216e9bca5d33adab617386a (patch)
treee8b9dd780f33da70490a155ecb0ed4d3b14fef5b /modules/pam_namespace/pam_namespace.h
parent3f5fbf9cee564ad05ff35019dd1000598a6ed075 (diff)
pam_namespace: replace deprecated matchpathcon
The matchpathcon family is deprecated. Use the selabel family.
Diffstat (limited to 'modules/pam_namespace/pam_namespace.h')
-rw-r--r--modules/pam_namespace/pam_namespace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/pam_namespace/pam_namespace.h b/modules/pam_namespace/pam_namespace.h
index 3a1e4ba3..b51f2841 100644
--- a/modules/pam_namespace/pam_namespace.h
+++ b/modules/pam_namespace/pam_namespace.h
@@ -68,6 +68,7 @@
#include <selinux/selinux.h>
#include <selinux/get_context_list.h>
#include <selinux/context.h>
+#include <selinux/label.h>
#endif
#ifndef CLONE_NEWNS