mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
module-portal: direct GetConnectionUnixProcessID call to /org/freedesktop/DBus
The D-Bus specification says that the message bus accepts method calls on other object paths for backwards compatibility, and may reject security sensitive calls on unexpected object paths: https://dbus.freedesktop.org/doc/dbus-specification.html#message-bus-messages
This commit is contained in:
parent
de270ba87a
commit
733ad43d3f
1 changed files with 1 additions and 1 deletions
|
|
@ -173,7 +173,7 @@ static void update_portal_pid(struct impl *impl)
|
||||||
impl->portal_pid = 0;
|
impl->portal_pid = 0;
|
||||||
|
|
||||||
m = dbus_message_new_method_call("org.freedesktop.DBus",
|
m = dbus_message_new_method_call("org.freedesktop.DBus",
|
||||||
"/",
|
"/org/freedesktop/DBus",
|
||||||
"org.freedesktop.DBus",
|
"org.freedesktop.DBus",
|
||||||
"GetConnectionUnixProcessID");
|
"GetConnectionUnixProcessID");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue