summaryrefslogtreecommitdiff
path: root/modules/pam_rootok
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-08-03 19:49:15 +0200
committerTomáš Mráz <tmraz@redhat.com>2020-08-05 16:30:03 +0200
commitee140cb6908d48b01888d37304dda10f36b4ffce (patch)
tree5c51a45560ef1db7e5d971eec3ad9c46bca9c3f5 /modules/pam_rootok
parent31682cd25f7add493216e9bca5d33adab617386a (diff)
pam_rootok: replace deprecated security_context_t
libselinux 3.1 deprecated the typedef security_context_t. Use the underlaying type.
Diffstat (limited to 'modules/pam_rootok')
-rw-r--r--modules/pam_rootok/pam_rootok.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pam_rootok/pam_rootok.c b/modules/pam_rootok/pam_rootok.c
index e105f2b7..97296458 100644
--- a/modules/pam_rootok/pam_rootok.c
+++ b/modules/pam_rootok/pam_rootok.c
@@ -87,7 +87,7 @@ static int
selinux_check_root (void)
{
int status = -1;
- security_context_t user_context;
+ char *user_context;
union selinux_callback old_callback;
if (is_selinux_enabled() < 1)