plugin-audio/patches/check_uid.patch

13 lines
346 B
Diff

--- pulseaudio-4.0.orig/src/pulsecore/core-util.c 2014-01-12 23:31:26.281525000 -0800
+++ pulseaudio-4.0/src/pulsecore/core-util.c 2014-01-12 23:32:32.977118803 -0800
@@ -1524,10 +1524,6 @@
if (stat(p, &st) < 0)
return -errno;
-#ifdef HAVE_GETUID
- if (st.st_uid != getuid())
- return -EACCES;
-#endif
return 0;
}