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
This commit is contained in:
Lennart Poettering 2006-07-20 21:28:44 +00:00
parent dd5fd8d703
commit da1ec271bb
3 changed files with 1 additions and 11 deletions

View file

@ -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);
}