projects
/
profile
/
ivi
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c6a0ac
)
module-dbus-protocol: Allow anyone to connect the daemon in system mode.
author
Tanu Kaskinen
<tanuk@iki.fi>
Sat, 20 Jun 2009 07:17:46 +0000
(10:17 +0300)
committer
Tanu Kaskinen
<tanuk@iki.fi>
Sat, 20 Jun 2009 07:17:46 +0000
(10:17 +0300)
src/modules/module-dbus-protocol.c
patch
|
blob
|
history
diff --git
a/src/modules/module-dbus-protocol.c
b/src/modules/module-dbus-protocol.c
index
8be9d1a
..
46f6492
100644
(file)
--- a/
src/modules/module-dbus-protocol.c
+++ b/
src/modules/module-dbus-protocol.c
@@
-148,7
+148,7
@@
static void connection_new_cb(DBusServer *dbus_server, DBusConnection *new_conne
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,
* anonymously. Access control should be configurable. */
dbus_connection_set_unix_user_function(new_connection, user_check_cb, NULL, NULL);