mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
use access group dedclared in ~/.pulse/client.conf instead of PA_ACCESS_GROUP
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1108 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
2b31a900d6
commit
340803b30c
2 changed files with 2 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
#!@PULSEAUDIO_BINARY@ -nF
|
#!@PA_BINARY@ -nF
|
||||||
|
|
||||||
#
|
#
|
||||||
# This file is part of PulseAudio.
|
# This file is part of PulseAudio.
|
||||||
|
|
|
||||||
|
|
@ -430,7 +430,7 @@ static void setup_context(pa_context *c, pa_iochannel *io) {
|
||||||
ucred.pid = getpid();
|
ucred.pid = getpid();
|
||||||
ucred.uid = getuid();
|
ucred.uid = getuid();
|
||||||
|
|
||||||
if ((ucred.gid = pa_get_gid_of_group(PA_ACCESS_GROUP)) == (gid_t) -1)
|
if ((ucred.gid = pa_get_gid_of_group(c->conf->access_group)) == (gid_t) -1)
|
||||||
ucred.gid = getgid();
|
ucred.gid = getgid();
|
||||||
|
|
||||||
pa_pstream_send_tagstruct_with_creds(c->pstream, t, &ucred);
|
pa_pstream_send_tagstruct_with_creds(c->pstream, t, &ucred);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue