summaryrefslogtreecommitdiff
path: root/src/core/execute.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-02-14 14:11:24 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-02-14 14:12:19 -0500
commitca905b2fce3831c48dcf10e7ada58282504dc988 (patch)
tree66f6ae4d27ec69edd43c1f8ab029f5d1c012b786 /src/core/execute.c
parente28569311f5385cde76e4b84adbec6609b451cf9 (diff)
core: make RuntimeDirectory honor SELinux labels
https://bugzilla.redhat.com/show_bug.cgi?id=1192726
Diffstat (limited to 'src/core/execute.c')
-rw-r--r--src/core/execute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/execute.c b/src/core/execute.c
index 2c23db0901..1815e3de2d 100644
--- a/src/core/execute.c
+++ b/src/core/execute.c
@@ -1524,7 +1524,7 @@ static int exec_child(
return -ENOMEM;
}
- r = mkdir_safe(p, context->runtime_directory_mode, uid, gid);
+ r = mkdir_safe_label(p, context->runtime_directory_mode, uid, gid);
if (r < 0) {
*exit_status = EXIT_RUNTIME_DIRECTORY;
return r;