diff options
author | Lennart Poettering <lennart@poettering.net> | 2020-08-06 14:50:38 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2020-08-24 20:11:14 +0200 |
commit | 24da96a1bdd6fef2e23d7c23581d572209f8cca7 (patch) | |
tree | e92747a7b8c7e130bc77dcef28b69d69da594659 /units/systemd-timedated.service.in | |
parent | analyze-security: check for ProtectProc=/ProcSubset= (diff) | |
download | systemd-24da96a1bdd6fef2e23d7c23581d572209f8cca7.tar.xz systemd-24da96a1bdd6fef2e23d7c23581d572209f8cca7.zip |
units: turn on ProtectProc= wherever suitable
Diffstat (limited to 'units/systemd-timedated.service.in')
-rw-r--r-- | units/systemd-timedated.service.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/units/systemd-timedated.service.in b/units/systemd-timedated.service.in index 87859f4aef..2d51c0f893 100644 --- a/units/systemd-timedated.service.in +++ b/units/systemd-timedated.service.in @@ -22,12 +22,13 @@ LockPersonality=yes MemoryDenyWriteExecute=yes NoNewPrivileges=yes PrivateTmp=yes +ProtectProc=invisible ProtectControlGroups=yes ProtectHome=yes ProtectHostname=yes +ProtectKernelLogs=yes ProtectKernelModules=yes ProtectKernelTunables=yes -ProtectKernelLogs=yes ProtectSystem=strict ReadWritePaths=/etc RestrictAddressFamilies=AF_UNIX |