Takashi Iwai
fa4ac6272b
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/932192 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/shairport-sync?expand=0&rev=23
23 lines
783 B
Diff
23 lines
783 B
Diff
Index: shairport-sync-3.3.8/scripts/shairport-sync.service.in
|
|
===================================================================
|
|
--- shairport-sync-3.3.8.orig/scripts/shairport-sync.service.in
|
|
+++ shairport-sync-3.3.8/scripts/shairport-sync.service.in
|
|
@@ -7,6 +7,17 @@ Wants=network-online.target
|
|
After=network.target network-online.target
|
|
|
|
[Service]
|
|
+# added automatically, for details please see
|
|
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
+ProtectSystem=full
|
|
+ProtectHome=true
|
|
+ProtectHostname=true
|
|
+ProtectKernelTunables=true
|
|
+ProtectKernelModules=true
|
|
+ProtectKernelLogs=true
|
|
+ProtectControlGroups=true
|
|
+RestrictRealtime=true
|
|
+# end of automatic additions
|
|
ExecStart=@prefix@/bin/shairport-sync
|
|
User=shairport-sync
|
|
Group=shairport-sync
|