forked from pool/memcached
75e05f09fb
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/923531 OBS-URL: https://build.opensuse.org/package/show/network:utilities/memcached?expand=0&rev=86
19 lines
791 B
Diff
19 lines
791 B
Diff
Index: memcached-1.6.9/scripts/memcached.service
|
|
===================================================================
|
|
--- memcached-1.6.9.orig/scripts/memcached.service
|
|
+++ memcached-1.6.9/scripts/memcached.service
|
|
@@ -41,6 +41,13 @@ CapabilityBoundingSet=CAP_SETGID CAP_SET
|
|
# Restricts the set of socket address families accessible to the processes
|
|
# of this unit. Protects against vulnerabilities such as CVE-2016-8655
|
|
RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX
|
|
+# added automatically, for details please see
|
|
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
+ProtectHome=true
|
|
+ProtectHostname=true
|
|
+ProtectClock=true
|
|
+ProtectKernelLogs=true
|
|
+# end of automatic additions
|
|
|
|
|
|
# Some security features are not in the older versions of systemd used by
|