distribution/packages/audio/pulseaudio/patches/pulseaudio-100.02-check_uid.patch

14 lines
365 B
Diff
Raw Normal View History

2022-02-05 14:23:32 +00:00
--- 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
@@ -1447,10 +1447,6 @@
if (stat(p, &st) < 0)
return -errno;
-#ifdef HAVE_GETUID
- if (st.st_uid != getuid() && st.st_uid != 0)
- return -EACCES;
-#endif
return 0;
}