From: Luca Boccassi Date: Fri, 17 Dec 2021 12:19:25 +0000 (+0000) Subject: logind: add a comment with a reminder why we don't use ProtrectProc= X-Git-Tag: v250-rc3~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba679b8d567e2e5b347865800da421a1bb87df75;p=thirdparty%2Fsystemd.git logind: add a comment with a reminder why we don't use ProtrectProc= Follow-up for https://github.com/systemd/systemd/pull/21785 --- diff --git a/units/systemd-logind.service.in b/units/systemd-logind.service.in index b3b9ff36b18..042ea75d7ab 100644 --- a/units/systemd-logind.service.in +++ b/units/systemd-logind.service.in @@ -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