mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
perm: add permission mask to global
Add a mask of possible permissions for a global. Make sure the permissions of an object are limited to the global mask.
This commit is contained in:
parent
9bcc90fdc3
commit
212fe59530
34 changed files with 53 additions and 5 deletions
|
|
@ -458,6 +458,7 @@ int pipewire__module_init(struct pw_impl_module *module, const char *args)
|
|||
impl->global = pw_global_new(context,
|
||||
PW_TYPE_INTERFACE_Profiler,
|
||||
PW_VERSION_PROFILER,
|
||||
PW_PROFILER_PERM_MASK,
|
||||
pw_properties_copy(props),
|
||||
global_bind, impl);
|
||||
if (impl->global == NULL) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue