]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
logind: add a comment with a reminder why we don't use ProtrectProc=
authorLuca Boccassi <luca.boccassi@microsoft.com>
Fri, 17 Dec 2021 12:19:25 +0000 (12:19 +0000)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 17 Dec 2021 12:34:20 +0000 (21:34 +0900)
Follow-up for https://github.com/systemd/systemd/pull/21785

units/systemd-logind.service.in

index b3b9ff36b1848e2e7c4b891173e4780ff7ce9fff..042ea75d7abd6e04c069ad55b492ec672aea072d 100644 (file)
@@ -37,6 +37,7 @@ LockPersonality=yes
 MemoryDenyWriteExecute=yes
 NoNewPrivileges=yes
 PrivateTmp=yes
+# We don't use ProtectProc= since we need to look for usernames and tty for wall messages
 ProtectClock=yes
 ProtectControlGroups=yes
 ProtectHome=yes