[pulseaudio-commits] r1723 - /branches/lennart/src/daemon/main.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Sat Aug 25 18:10:56 PDT 2007


Author: lennart
Date: Sun Aug 26 03:10:55 2007
New Revision: 1723

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=3D1723&root=3Dpulseaudio&vi=
ew=3Drev
Log:
drop check for gid < 500, since this isn't really a security improvement, r=
e: #111

Modified:
    branches/lennart/src/daemon/main.c

Modified: branches/lennart/src/daemon/main.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/lennart/src/daemon/mai=
n.c?rev=3D1723&root=3Dpulseaudio&r1=3D1722&r2=3D1723&view=3Ddiff
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- branches/lennart/src/daemon/main.c (original)
+++ branches/lennart/src/daemon/main.c Sun Aug 26 03:10:55 2007
@@ -355,7 +355,7 @@
 =

     setlocale(LC_ALL, "");
 =

-    if (suid_root && (pa_own_uid_in_group(PA_REALTIME_GROUP, &gid) <=3D 0 =
|| gid >=3D 1000)) {
+    if (suid_root && (pa_own_uid_in_group(PA_REALTIME_GROUP, &gid) <=3D 0)=
) {
         pa_log_warn("WARNING: called SUID root, but not in group '"PA_REAL=
TIME_GROUP"'.");
         pa_drop_caps();
         pa_drop_root();




More information about the pulseaudio-commits mailing list