forked from pool/audit
Marcus Meissner
127262eccc
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/911452 OBS-URL: https://build.opensuse.org/package/show/security/audit?expand=0&rev=127
21 lines
635 B
Diff
21 lines
635 B
Diff
Index: audit-3.0.3/init.d/auditd.service
|
|
===================================================================
|
|
--- audit-3.0.3.orig/init.d/auditd.service
|
|
+++ audit-3.0.3/init.d/auditd.service
|
|
@@ -35,6 +35,15 @@ ProtectControlGroups=true
|
|
ProtectKernelModules=true
|
|
ProtectHome=true
|
|
RestrictRealtime=true
|
|
+# added automatically, for details please see
|
|
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
+ProtectSystem=full
|
|
+PrivateDevices=true
|
|
+ProtectHostname=true
|
|
+ProtectClock=true
|
|
+ProtectKernelTunables=true
|
|
+ProtectKernelLogs=true
|
|
+# end of automatic additions
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|