mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-07 13:30:09 -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
|
|
@ -67,6 +67,8 @@ typedef enum {
|
|||
SPA_RESULT_ASYNC_BUSY = -30,
|
||||
SPA_RESULT_INVALID_OBJECT_ID = -31,
|
||||
SPA_RESULT_NO_MEMORY = -32,
|
||||
SPA_RESULT_NO_PERMISSION = -33,
|
||||
SPA_RESULT_SKIPPED = -34,
|
||||
} SpaResult;
|
||||
|
||||
#define SPA_ASYNC_MASK (3 << 30)
|
||||
|
|
|
|||
|
|
@ -1,21 +1,21 @@
|
|||
spa_headers = [
|
||||
'barrier.h',
|
||||
'buffer.h',
|
||||
'clock.h',
|
||||
'control.h',
|
||||
'debug.h',
|
||||
'defs.h',
|
||||
'dict.h',
|
||||
'format.h',
|
||||
'id-map.h',
|
||||
'list.h',
|
||||
'log.h',
|
||||
'loop.h',
|
||||
'monitor.h',
|
||||
'node-command.h',
|
||||
'node-event.h',
|
||||
'node.h',
|
||||
'plugin.h',
|
||||
'poll.h',
|
||||
'port.h',
|
||||
'props.h',
|
||||
'queue.h',
|
||||
'ringbuffer.h'
|
||||
]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue