Accepting request 933461 from home:jsegitz:branches:systemdhardening:Base:System

Automatic systemd hardening effort by the security team. This has not been tested. For details please see https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort

OBS-URL: https://build.opensuse.org/request/show/933461
OBS-URL: https://build.opensuse.org/package/show/Base:System/syslogd?expand=0&rev=151
This commit is contained in:
2021-11-24 15:10:06 +00:00
committed by Git OBS Bridge
parent 12e2de0c92
commit 5c7a2ac7f8
4 changed files with 47 additions and 0 deletions

View File

@@ -26,6 +26,19 @@ After=syslogd.service
RefuseManualStart=true
[Service]
# added automatically, for details please see
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
ProtectSystem=full
ProtectHome=true
PrivateDevices=true
ProtectHostname=true
ProtectClock=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectKernelLogs=true
ProtectControlGroups=true
RestrictRealtime=true
# end of automatic additions
Type=simple
StandardOutput=syslog
StandardError=syslog