mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -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
|
|
@ -36,6 +36,8 @@ struct spa_dict_item {
|
|||
const char *value;
|
||||
};
|
||||
|
||||
#define SPA_DICT_ITEM_INIT(key,value) (struct spa_dict_item) { key, value }
|
||||
|
||||
struct spa_dict {
|
||||
const struct spa_dict_item *items;
|
||||
uint32_t n_items;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue