diff options
author | Lennart Poettering <lennart@poettering.net> | 2020-09-03 14:55:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-03 14:55:08 +0200 |
commit | 7cc60ea41474a9e839e9803b58f2d43df6cdc1d4 (patch) | |
tree | b1642d63e249b259ab0fabfdc68312884f2cffd9 /src/udev | |
parent | c457bf4741d192a77e2c345db7030044667af580 (diff) | |
parent | 2df2152c206bd2fa8e8d086feeb0555f5b7152c9 (diff) | |
download | systemd-7cc60ea41474a9e839e9803b58f2d43df6cdc1d4.tar.gz |
Merge pull request #16821 from cgzones/selinux_status
selinux: use SELinux status page
Diffstat (limited to 'src/udev')
-rw-r--r-- | src/udev/udevd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/udev/udevd.c b/src/udev/udevd.c index 8c7c7046e7..b2052578eb 100644 --- a/src/udev/udevd.c +++ b/src/udev/udevd.c @@ -656,6 +656,10 @@ static void event_run(Manager *manager, struct event *event) { /* Re-enable the debug message for the next batch of events */ log_children_max_reached = true; + /* 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(); + /* start new worker and pass initial device */ worker_spawn(manager, event); } |