From da1ec271bbc1907c32811cd61f41390a7d3ac1e8 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 20 Jul 2006 21:28:44 +0000 Subject: remove configurable client access group, since can never work on Linux anway, since SCM_CREDENTAILS doesn't allow sending supplementary GIDs git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1127 fefdeb5f-60dc-0310-8127-8f9354f1896f --- src/pulse/context.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/pulse/context.c') diff --git a/src/pulse/context.c b/src/pulse/context.c index 30a257fe..34f517f0 100644 --- a/src/pulse/context.c +++ b/src/pulse/context.c @@ -428,14 +428,9 @@ static void setup_context(pa_context *c, pa_iochannel *io) { #ifdef HAVE_CREDS { pa_creds ucred; - gid_t g; ucred.uid = getuid(); ucred.gid = getgid(); - - if ((g = pa_get_gid_of_group(c->conf->access_group)) != (gid_t) -1) - if (pa_check_in_group(g) > 0) - ucred.gid = g; pa_pstream_send_tagstruct_with_creds(c->pstream, t, &ucred); } -- cgit