mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
module-dbus-protocol: Allow anyone to connect the daemon in system mode.
This commit is contained in:
parent
3c6a0acc98
commit
b152f3a052
1 changed files with 1 additions and 1 deletions
|
|
@ -148,7 +148,7 @@ static void connection_new_cb(DBusServer *dbus_server, DBusConnection *new_conne
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (s->type == SERVER_TYPE_TCP) {
|
if (s->type == SERVER_TYPE_TCP || s->userdata->module->core->server_type == PA_SERVER_TYPE_SYSTEM) {
|
||||||
/* FIXME: Here we allow anyone from anywhere to access the server,
|
/* FIXME: Here we allow anyone from anywhere to access the server,
|
||||||
* anonymously. Access control should be configurable. */
|
* anonymously. Access control should be configurable. */
|
||||||
dbus_connection_set_unix_user_function(new_connection, user_check_cb, NULL, NULL);
|
dbus_connection_set_unix_user_function(new_connection, user_check_cb, NULL, NULL);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue