aboutsummaryrefslogtreecommitdiffstats
path: root/libselinux/src/check_context.c
diff options
context:
space:
mode:
Diffstat (limited to 'libselinux/src/check_context.c')
-rw-r--r--libselinux/src/check_context.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libselinux/src/check_context.c b/libselinux/src/check_context.c
index 33ab5e31..52063fac 100644
--- a/libselinux/src/check_context.c
+++ b/libselinux/src/check_context.c
@@ -9,7 +9,7 @@
#include "policy.h"
#include <limits.h>
-int security_check_context_raw(const security_context_t con)
+int security_check_context_raw(const char * con)
{
char path[PATH_MAX];
int fd, ret;
@@ -33,10 +33,10 @@ int security_check_context_raw(const security_context_t con)
hidden_def(security_check_context_raw)
-int security_check_context(const security_context_t con)
+int security_check_context(const char * con)
{
int ret;
- security_context_t rcon;
+ char * rcon;
if (selinux_trans_to_raw_context(con, &rcon))
return -1;