summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-03-16 01:13:29 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-03-16 01:13:29 -0400
commitfdbf7b554ed89d8a76214cbb4b919c2292e7168b (patch)
treeb89ca9e22680c4d7a39129ee147bdfd58553cf77 /src/core
parent897d2029235b39c06d41ea9fbb1036ccdba0e811 (diff)
parenta1d2de078c910ccda89ea5ca25494aaa6fa8f3b5 (diff)
Merge pull request #2797 from evverx/selinux-use-raw
selinux: use *_raw API from libselinux
Diffstat (limited to 'src/core')
-rw-r--r--src/core/selinux-setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/selinux-setup.c b/src/core/selinux-setup.c
index 9a115a4387..4072df58e6 100644
--- a/src/core/selinux-setup.c
+++ b/src/core/selinux-setup.c
@@ -88,7 +88,7 @@ int mac_selinux_setup(bool *loaded_policy) {
log_open();
log_error("Failed to compute init label, ignoring.");
} else {
- r = setcon(label);
+ r = setcon_raw(label);
log_open();
if (r < 0)