mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-07 13:30:09 -05:00
permissions: check permissions more
Pass client to some core functions to make it possible to check permissions when iterating globals. Check permissions of factory before using it. Check permissions in link factory, only allow linking of nodes we can see. Check permissions in the autolink module, only try to link to nodes we can see. Make client permissions update behave like an atomic update of an unordered set of permissions, which is perhaps a bit more intuitive.
This commit is contained in:
parent
1804e47a91
commit
ab099d09dd
11 changed files with 79 additions and 38 deletions
|
|
@ -434,6 +434,7 @@ int pw_core_find_format(struct pw_core *core,
|
|||
/** Find a ports compatible with \a other_port and the format filters */
|
||||
struct pw_port *
|
||||
pw_core_find_port(struct pw_core *core,
|
||||
struct pw_client *client,
|
||||
struct pw_port *other_port,
|
||||
uint32_t id,
|
||||
struct pw_properties *props,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue