mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-07 13:30:09 -05:00
access: rework access checks
Remove the access struct. Allow for the access module to override any method of a resource to do additional checks.
This commit is contained in:
parent
2c1245f8ef
commit
611ce2151e
14 changed files with 192 additions and 300 deletions
|
|
@ -834,7 +834,7 @@ link_bind_func(struct pw_global *global, struct pw_client *client, uint32_t vers
|
|||
struct impl *impl = SPA_CONTAINER_OF(this, struct impl, this);
|
||||
struct pw_resource *resource;
|
||||
|
||||
resource = pw_resource_new(client, id, global->type, global->object, link_unbind_func);
|
||||
resource = pw_resource_new(client, id, global->type, global->object, NULL, link_unbind_func);
|
||||
if (resource == NULL)
|
||||
goto no_mem;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue