summaryrefslogtreecommitdiffstats
path: root/src/pulse/context.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pulse/context.c')
-rw-r--r--src/pulse/context.c5
1 files changed, 0 insertions, 5 deletions
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);
}