tree-wide: get rid of selinux_context_t (#3732)

https://github.com/SELinuxProject/selinux/commit/9eb9c9327563014ad6a807814e7975424642d5b9
deprecated selinux_context_t. Replace with a simple char* everywhere.

Alternative fix for #3719.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2016-07-15 18:44:02 +02:00
committed by Lennart Poettering
parent 8d00539d99
commit 2ed968802c
5 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -2642,7 +2642,7 @@ static int inner_child(
#ifdef HAVE_SELINUX
if (arg_selinux_context)
if (setexeccon((security_context_t) arg_selinux_context) < 0)
if (setexeccon(arg_selinux_context) < 0)
return log_error_errno(errno, "setexeccon(\"%s\") failed: %m", arg_selinux_context);
#endif