2022-12-21 10:47:13 +01:00
|
|
|
Index: bitcoin-24.0.1/contrib/init/bitcoind.service
|
2021-08-27 17:22:13 +02:00
|
|
|
===================================================================
|
2022-12-21 10:47:13 +01:00
|
|
|
--- bitcoin-24.0.1.orig/contrib/init/bitcoind.service
|
|
|
|
+++ bitcoin-24.0.1/contrib/init/bitcoind.service
|
|
|
|
@@ -74,6 +74,16 @@ NoNewPrivileges=true
|
2021-08-27 17:22:13 +02:00
|
|
|
# Use a new /dev namespace only populated with API pseudo devices
|
|
|
|
# such as /dev/null, /dev/zero and /dev/random.
|
|
|
|
PrivateDevices=true
|
|
|
|
+# 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
|
|
|
|
|
|
|
|
# Deny the creation of writable and executable memory mappings.
|
|
|
|
MemoryDenyWriteExecute=true
|