Dirk Mueller
1abd0f321a
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/925360 OBS-URL: https://build.opensuse.org/package/show/Base:System/ledmon?expand=0&rev=42
23 lines
707 B
Diff
23 lines
707 B
Diff
Index: ledmon-0.95/systemd/ledmon.service.in
|
|
===================================================================
|
|
--- ledmon-0.95.orig/systemd/ledmon.service.in
|
|
+++ ledmon-0.95/systemd/ledmon.service.in
|
|
@@ -5,6 +5,17 @@ Description=Enclosure LED Utilities
|
|
WantedBy=multi-user.target
|
|
|
|
[Service]
|
|
+# added automatically, for details please see
|
|
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
+ProtectSystem=full
|
|
+ProtectHome=true
|
|
+ProtectHostname=true
|
|
+ProtectKernelTunables=true
|
|
+ProtectKernelModules=true
|
|
+ProtectKernelLogs=true
|
|
+ProtectControlGroups=true
|
|
+RestrictRealtime=true
|
|
+# end of automatic additions
|
|
Type=simple
|
|
User=root
|
|
ExecStart=@sbindir@/ledmon --foreground
|