forked from pool/mariadb
3262458610
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/923533 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=281
22 lines
724 B
Diff
22 lines
724 B
Diff
Index: mariadb-10.6.4/support-files/mariadb.service.in
|
|
===================================================================
|
|
--- mariadb-10.6.4.orig/support-files/mariadb.service.in
|
|
+++ mariadb-10.6.4/support-files/mariadb.service.in
|
|
@@ -29,6 +29,16 @@ WantedBy=multi-user.target
|
|
|
|
|
|
[Service]
|
|
+# added automatically, for details please see
|
|
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
+ProtectHostname=true
|
|
+ProtectClock=true
|
|
+ProtectKernelTunables=true
|
|
+ProtectKernelModules=true
|
|
+ProtectKernelLogs=true
|
|
+ProtectControlGroups=true
|
|
+RestrictRealtime=true
|
|
+# end of automatic additions
|
|
|
|
##############################################################################
|
|
## Core requirements
|