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:
Wim Taymans 2023-07-26 18:43:15 +02:00
parent 9bcc90fdc3
commit 212fe59530
34 changed files with 53 additions and 5 deletions

View file

@ -24,6 +24,8 @@ extern "C" {
*/
#define PW_TYPE_INTERFACE_Module PW_TYPE_INFO_INTERFACE_BASE "Module"
#define PW_MODULE_PERM_MASK PW_PERM_R
#define PW_VERSION_MODULE 3
struct pw_module;