From 155e14e9e23b6dee8e95c3358b18269368110efc Mon Sep 17 00:00:00 2001 From: Christian Göttsche Date: Mon, 3 Aug 2020 20:01:08 +0200 Subject: pam_unix: replace deprecated security_context_t libselinux 3.1 deprecated the typedef security_context_t. Use the underlaying type. --- modules/pam_unix/lckpwdf.-c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/pam_unix/lckpwdf.-c') diff --git a/modules/pam_unix/lckpwdf.-c b/modules/pam_unix/lckpwdf.-c index 7145617e..0bc9c5ad 100644 --- a/modules/pam_unix/lckpwdf.-c +++ b/modules/pam_unix/lckpwdf.-c @@ -73,7 +73,7 @@ static int lckpwdf(void) lockfd = open(LOCKFILE, O_WRONLY); if(lockfd == -1 && errno == ENOENT) { - security_context_t create_context; + char *create_context; int rc; if(getfilecon("/etc/passwd", &create_context)) -- cgit v1.2.3