forked from pool/mariadb
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
|