diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-08-03 19:49:15 +0200 |
---|---|---|
committer | Tomáš Mráz <tmraz@redhat.com> | 2020-08-05 16:30:03 +0200 |
commit | ee140cb6908d48b01888d37304dda10f36b4ffce (patch) | |
tree | 5c51a45560ef1db7e5d971eec3ad9c46bca9c3f5 /modules/pam_rootok | |
parent | 31682cd25f7add493216e9bca5d33adab617386a (diff) | |
download | pam-ee140cb6908d48b01888d37304dda10f36b4ffce.tar.gz pam-ee140cb6908d48b01888d37304dda10f36b4ffce.tar.bz2 pam-ee140cb6908d48b01888d37304dda10f36b4ffce.zip |
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.c | 2 |
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) |