mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
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:
parent
dd5fd8d703
commit
da1ec271bb
3 changed files with 1 additions and 11 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue