]> git.ipfire.org Git - thirdparty/systemd.git/commit
logs-show: match init.scope rather than _PID=1 for UNIT= 40142/head
authorMike Yuan <me@yhndnzj.com>
Fri, 19 Dec 2025 00:56:26 +0000 (01:56 +0100)
committerMike Yuan <me@yhndnzj.com>
Fri, 19 Dec 2025 01:18:44 +0000 (02:18 +0100)
commit7f9e3c5919e533a73f1f25c5ada436a99251a769
treea5e5949692cb89a8755e7361dc9e18ca20551daa
parent79e6bfb1e67960465b2d4e982962423aa68a43cc
logs-show: match init.scope rather than _PID=1 for UNIT=

We should consider the whole init.scope trusted, and any
process trying to log on behalf of a unit there should be
attributed as so.

Follow-up for 4f25248b6e69855b4da6d01690821b9359928edc
Only with this commit is the change in effect.
src/shared/logs-show.c