summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-08-03 20:12:22 +0200
committerTomáš Mráz <tmraz@redhat.com>2020-08-05 16:30:03 +0200
commitb6edb24f87091104afd89cb53c6dd13be4ffeee1 (patch)
tree17a476abbb8cb2e314b6b10d98a9d1e29ea128bb /modules
parentc7ca67d03cb8b21ceb56e925deb34a6c3337c23b (diff)
pam_xauth: replace deprecated security_context_t
libselinux 3.1 deprecated the typedef security_context_t. Use the underlaying type.
Diffstat (limited to 'modules')
-rw-r--r--modules/pam_xauth/pam_xauth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pam_xauth/pam_xauth.c b/modules/pam_xauth/pam_xauth.c
index ae731211..966b1b09 100644
--- a/modules/pam_xauth/pam_xauth.c
+++ b/modules/pam_xauth/pam_xauth.c
@@ -532,7 +532,7 @@ pam_sm_open_session (pam_handle_t *pamh, int flags UNUSED,
xauth, "-f", cookiefile, "nlist", display,
NULL) == 0) {
#ifdef WITH_SELINUX
- security_context_t context = NULL;
+ char *context = NULL;
#endif
PAM_MODUTIL_DEF_PRIVS(privs);