On atach is 1 patch wich prevent to run pulseaudio on root user.

---
Last-Update: 2019-10-13

--- pulseaudio-10.0.orig/src/daemon/main.c
+++ pulseaudio-10.0/src/daemon/main.c
@@ -646,6 +646,12 @@ int main(int argc, char *argv[]) {
         goto finish;
     }
 
+#if defined (HAVE_GETUID) && defined (HAVE_SYSTEMD_DAEMON)
+    if (getuid() == 0 && !conf->system_instance) {
+	pa_log(_("THIS program is not intended to be as root (unless --system is specified), exitting."));
+	goto finish;
+    }
+#endif
 #ifdef HAVE_GETUID
     if (getuid() == 0 && !conf->system_instance)
         pa_log_warn(_("This program is not intended to be run as root (unless --system is specified)."));
_______________________________________________
pkg-pulseaudio-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-pulseaudio-devel

Reply via email to