* vrrp: allow specifing interval amd timeout to milli-second resolution * vrrp: on reload only configured track_script name was checked * lib: fix corruption of master-child_pid red black tree * lib: add micro-second timers to memory allocation debugging * core: update addattr_l to match current iproute2 code - almost * lib: add file missing from previous commit * all: suppress an increases alignment warning * core: use /* FALLTHROUGH */ rather than __fallthrough; * ipvs: resolve a "cast increases required alignment" warning * build: don't redefine FORTIFY_SOURCE if host environment defines it * vrrp ipvs: remove unused definition of XENFS_SUPER_MAGIC * vrrp ipvs: fix warnings related to signedness of statfs() f_flags * all: use correct format specifier for time fields * bfd: make alloc_bfd() return NULL rather than false on error * all: make min_auto_priority delay variable an unsigned * configure: explicitly set language to C for configure * itest: Warn if close after send not set in tcp_server for http * test: Make tcp_server use of SO_LINGER optional * core: remove diagnostic message accidently added in commit 7cb09b2 * vrrp ipvs: Stop setting SO_LINGER on TCP sockets * test: update tcp_server and tcp_client * bfd: use time_t to avoid implicit ptr type casting * VRRP: add thread_timer_expired keyword as a synonym of timer_expired_backup OBS-URL: https://build.opensuse.org/package/show/network/keepalived?expand=0&rev=93
25 lines
818 B
Diff
25 lines
818 B
Diff
Index: keepalived-2.2.2/keepalived/keepalived.service.in
|
|
===================================================================
|
|
--- keepalived-2.2.2.orig/keepalived/keepalived.service.in
|
|
+++ keepalived-2.2.2/keepalived/keepalived.service.in
|
|
@@ -8,6 +8,19 @@ After=network-online.target syslog.targe
|
|
Documentation=https://keepalived.org
|
|
|
|
[Service]
|
|
+# added automatically, for details please see
|
|
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
+ProtectSystem=full
|
|
+ProtectHome=true
|
|
+PrivateDevices=true
|
|
+ProtectHostname=true
|
|
+ProtectClock=true
|
|
+ProtectKernelTunables=true
|
|
+ProtectKernelModules=true
|
|
+ProtectKernelLogs=true
|
|
+ProtectControlGroups=true
|
|
+RestrictRealtime=true
|
|
+# end of automatic additions
|
|
Type=@SYSTEMD_SERVICE_TYPE@
|
|
PIDFile=@RUN_DIR@/run/keepalived.pid
|
|
KillMode=process
|