forked from pool/neard
16f3d8ced5
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/924889 OBS-URL: https://build.opensuse.org/package/show/hardware/neard?expand=0&rev=25
24 lines
699 B
Diff
24 lines
699 B
Diff
Index: neard-0.16/src/neard.service.in
|
|
===================================================================
|
|
--- neard-0.16.orig/src/neard.service.in
|
|
+++ neard-0.16/src/neard.service.in
|
|
@@ -3,6 +3,18 @@ Description=neard service
|
|
Documentation=man:neard(8)
|
|
|
|
[Service]
|
|
+# added automatically, for details please see
|
|
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
+ProtectSystem=full
|
|
+ProtectHome=true
|
|
+ProtectHostname=true
|
|
+ProtectClock=true
|
|
+ProtectKernelTunables=true
|
|
+ProtectKernelModules=true
|
|
+ProtectKernelLogs=true
|
|
+ProtectControlGroups=true
|
|
+RestrictRealtime=true
|
|
+# end of automatic additions
|
|
Type=dbus
|
|
BusName=org.neard
|
|
ExecStart=@pkglibexecdir@/neard -n
|