36 lines
1.2 KiB
Diff
36 lines
1.2 KiB
Diff
From 66e3812b73e1a91677c2fea446419a18176c96a6 Mon Sep 17 00:00:00 2001
|
|
From: Paul Wouters <pwouters@redhat.com>
|
|
Date: Thu, 27 Aug 2020 12:33:23 -0400
|
|
Subject: [PATCH] pluto: fixup last two occurances of security_context_t
|
|
|
|
---
|
|
programs/pluto/security_selinux.c | 2 +-
|
|
programs/pluto/security_selinux.h | 2 +-
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/programs/pluto/security_selinux.c b/programs/pluto/security_selinux.c
|
|
index f97ac11576..f7ca54bb1d 100644
|
|
--- a/programs/pluto/security_selinux.c
|
|
+++ b/programs/pluto/security_selinux.c
|
|
@@ -36,7 +36,7 @@ void init_avc(void)
|
|
DBG_log("selinux: could not initialize avc.");
|
|
}
|
|
|
|
-int within_range(char *sl, security_context_t range)
|
|
+int within_range(char *sl, char *range)
|
|
{
|
|
int rtn = 1;
|
|
security_id_t slsid;
|
|
diff --git a/programs/pluto/security_selinux.h b/programs/pluto/security_selinux.h
|
|
index 43c1dde68a..87785d2638 100644
|
|
--- a/programs/pluto/security_selinux.h
|
|
+++ b/programs/pluto/security_selinux.h
|
|
@@ -20,6 +20,6 @@
|
|
#include <selinux/context.h>
|
|
|
|
void init_avc(void);
|
|
-int within_range(char *sl, security_context_t range);
|
|
+int within_range(char *sl, char *range);
|
|
|
|
#endif /* _SECURITY_SELINUX_H */
|