aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-11-22 10:37:49 +0000
committerWilliam Hubbs <w.d.hubbs@gmail.com>2021-11-27 13:13:52 -0600
commitb94517376e6bd1e02e09cf5b4cf38d1c52fdb6be (patch)
tree771bde34ace87d476c37abade80ab79247e1a91d /src
parentb868fc2c8d8068ef4804ef9f5bc19b9c5dc8ae19 (diff)
src/rc/rc-selinux.c: fix use of deprecated security_context_t
It's only a char* and has been deprecated upstream [0]. [0] https://github.com/SELinuxProject/selinux/commit/7a124ca27581 Fixes: #478
Diffstat (limited to 'src')
-rw-r--r--src/rc/rc-selinux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc/rc-selinux.c b/src/rc/rc-selinux.c
index 2c9673cc..95947fd8 100644
--- a/src/rc/rc-selinux.c
+++ b/src/rc/rc-selinux.c
@@ -66,7 +66,7 @@ int selinux_util_label(const char *path)
int retval = 0;
int enforce;
struct stat st;
- security_context_t con;
+ char *con;
enforce = security_getenforce();
if (retval < 0)