Merge pull request #16821 from cgzones/selinux_status

selinux: use SELinux status page
This commit is contained in:
Lennart Poettering
2020-09-03 14:55:08 +02:00
committed by GitHub
5 changed files with 107 additions and 36 deletions
+4
View File
@@ -4599,6 +4599,10 @@ int exec_spawn(Unit *unit,
if (!line)
return log_oom();
/* fork with up-to-date SELinux label database, so the child inherits the up-to-date db
and, until the next SELinux policy changes, we safe further reloads in future children */
mac_selinux_maybe_reload();
log_struct(LOG_DEBUG,
LOG_UNIT_MESSAGE(unit, "About to execute: %s", line),
"EXECUTABLE=%s", command->path,