summaryrefslogtreecommitdiff
path: root/src/core/selinux-setup.c
diff options
context:
space:
mode:
authorEvgeny Vereshchagin <evvers@ya.ru>2016-03-04 01:58:28 +0000
committerEvgeny Vereshchagin <evvers@ya.ru>2016-03-04 01:58:28 +0000
commita1d2de078c910ccda89ea5ca25494aaa6fa8f3b5 (patch)
treeae2f971502a5038589b241420dbe471da0e03649 /src/core/selinux-setup.c
parent45dbd7b6cb772f5c598e830e6c3ed7124a7b41e4 (diff)
selinux: use *_raw API from libselinux
This is a follow-up to 5c5433ad32
Diffstat (limited to 'src/core/selinux-setup.c')
-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)