mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-20 08:56:56 -05:00
Implement access control
Move send and dispatch functions to the implementation. This makes it possible to place an access check before sending and dispatching. Add module-access that allows to bind and notify on globals owned by the client.
This commit is contained in:
parent
a8964ca657
commit
ee0aa6a2ac
27 changed files with 819 additions and 220 deletions
|
|
@ -868,8 +868,9 @@ pinos_stream_connect (PinosStream *stream,
|
|||
SPA_ID_INVALID,
|
||||
0);
|
||||
|
||||
impl->node_proxy->dispatch_func = stream_dispatch_func;
|
||||
impl->node_proxy->dispatch_data = impl;
|
||||
pinos_proxy_set_dispatch (impl->node_proxy,
|
||||
stream_dispatch_func,
|
||||
impl);
|
||||
|
||||
ccn.seq = ++impl->seq;
|
||||
ccn.name = "client-node";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue