Takashi Iwai
22a7b88d91
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/926705 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/pulseaudio?expand=0&rev=245
25 lines
895 B
Diff
25 lines
895 B
Diff
Index: pulseaudio-15.0/src/daemon/systemd/user/pulseaudio.service.in
|
|
===================================================================
|
|
--- pulseaudio-15.0.orig/src/daemon/systemd/user/pulseaudio.service.in
|
|
+++ pulseaudio-15.0/src/daemon/systemd/user/pulseaudio.service.in
|
|
@@ -23,6 +23,19 @@ MemoryDenyWriteExecute=yes
|
|
NoNewPrivileges=yes
|
|
Restart=on-failure
|
|
RestrictNamespaces=yes
|
|
+# added automatically, for details please see
|
|
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
+ProtectSystem=full
|
|
+ProtectHome=read-only
|
|
+PrivateDevices=true
|
|
+ProtectHostname=true
|
|
+ProtectClock=true
|
|
+ProtectKernelTunables=true
|
|
+ProtectKernelModules=true
|
|
+ProtectKernelLogs=true
|
|
+ProtectControlGroups=true
|
|
+RestrictRealtime=true
|
|
+# end of automatic additions
|
|
SystemCallArchitectures=native
|
|
SystemCallFilter=@system-service
|
|
# Note that notify will only work if --daemonize=no
|