mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-09-06 13:41:31 +00:00
core: make RuntimeDirectory honor SELinux labels
https://bugzilla.redhat.com/show_bug.cgi?id=1192726
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user