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
This commit is contained in:
parent
b868fc2c8d
commit
b94517376e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user