]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
selinux: create /run/user/${USERID}/systemd with default context
authorChristian Göttsche <cgzones@googlemail.com>
Sat, 5 Sep 2020 15:42:56 +0000 (17:42 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 5 Sep 2020 19:39:44 +0000 (21:39 +0200)
src/core/main.c

index 4812f309f272948cc783936a36d2bdda54b84da5..51e04dab43b433e59366069d87ffd324fe7ab99c 100644 (file)
@@ -2087,7 +2087,7 @@ static int initialize_runtime(
                         return log_emergency_errno(r, "Failed to determine $XDG_RUNTIME_DIR path: %m");
                 }
 
-                (void) mkdir_p(p, 0755);
+                (void) mkdir_p_label(p, 0755);
                 (void) make_inaccessible_nodes(p, UID_INVALID, GID_INVALID);
         }