mirror of
https://github.com/systemd/systemd.git
synced 2026-08-10 17:14:31 +00:00
core: make RuntimeDirectory honor SELinux labels
https://bugzilla.redhat.com/show_bug.cgi?id=1192726
This commit is contained in:
Notes:
Lennart Poettering
2015-02-16 17:17:33 +01:00
Backport: bugfix
@@ -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