forked from pool/numad
c7dd7fa11a
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/925369 OBS-URL: https://build.opensuse.org/package/show/hardware/numad?expand=0&rev=7
21 lines
669 B
Diff
21 lines
669 B
Diff
Index: numad-0.5.20130522/numad.service
|
|
===================================================================
|
|
--- numad-0.5.20130522.orig/numad.service
|
|
+++ numad-0.5.20130522/numad.service
|
|
@@ -2,6 +2,15 @@
|
|
Description=numad - The NUMA daemon that manages application locality.
|
|
|
|
[Service]
|
|
+# added automatically, for details please see
|
|
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
+ProtectSystem=full
|
|
+ProtectHome=true
|
|
+ProtectHostname=true
|
|
+ProtectKernelModules=true
|
|
+ProtectKernelLogs=true
|
|
+RestrictRealtime=true
|
|
+# end of automatic additions
|
|
Type=simple
|
|
EnvironmentFile=/etc/numad.conf
|
|
ExecStart=/usr/sbin/numad -i $INTERVAL -F
|