[systemd-commits] src/core

Zbigniew Jędrzejewski-Szmek zbyszek at kemper.freedesktop.org
Sat Feb 14 11:12:43 PST 2015


 src/core/execute.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ca905b2fce3831c48dcf10e7ada58282504dc988
Author: Zbigniew Jędrzejewski-Szmek <zbyszek at in.waw.pl>
Date:   Sat Feb 14 14:11:24 2015 -0500

    core: make RuntimeDirectory honor SELinux labels
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1192726

diff --git a/src/core/execute.c b/src/core/execute.c
index 2c23db0..1815e3d 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;



More information about the systemd-commits mailing list