diff options
author | Lennart Poettering <lennart@poettering.net> | 2006-07-20 21:28:44 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2006-07-20 21:28:44 +0000 |
commit | da1ec271bbc1907c32811cd61f41390a7d3ac1e8 (patch) | |
tree | 782cdbde5a1d18f9bb5a8a0016cc746357856f7c /src/pulse/context.c | |
parent | dd5fd8d7036074480fd6ea28eb39644adc8531a2 (diff) |
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
Diffstat (limited to 'src/pulse/context.c')
-rw-r--r-- | src/pulse/context.c | 5 |
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); } |