From ee140cb6908d48b01888d37304dda10f36b4ffce Mon Sep 17 00:00:00 2001 From: Christian Göttsche Date: Mon, 3 Aug 2020 19:49:15 +0200 Subject: pam_rootok: replace deprecated security_context_t libselinux 3.1 deprecated the typedef security_context_t. Use the underlaying type. --- modules/pam_rootok/pam_rootok.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/pam_rootok/pam_rootok.c') 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) -- cgit v1.2.3