summaryrefslogtreecommitdiff
path: root/src/selinux-setup.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-08-29 23:36:10 +0200
committerLennart Poettering <lennart@poettering.net>2011-08-29 23:36:10 +0200
commit4d4c74866c12c98b2834e8eff218b74cb83bb608 (patch)
tree54421474a5f370f7c9f24fd2691fe98596429791 /src/selinux-setup.c
parent990a1abae249a52eed6fa6489d54873726510620 (diff)
selinux: retest selinux after we loaded the policy
Diffstat (limited to 'src/selinux-setup.c')
-rw-r--r--src/selinux-setup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/selinux-setup.c b/src/selinux-setup.c
index dc101b13ba..2abd99e6a2 100644
--- a/src/selinux-setup.c
+++ b/src/selinux-setup.c
@@ -73,6 +73,8 @@ int selinux_setup(bool *loaded_policy) {
char timespan[FORMAT_TIMESPAN_MAX];
char *label;
+ label_retest_selinux();
+
/* Transition to the new context */
r = label_get_create_label_from_exe(SYSTEMD_BINARY_PATH, &label);
if (r < 0 || label == NULL) {