mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-02-24 01:40:20 -05:00
protocol-native: improve security context properties
Remove the engine_name, use pipewire.sec.engine in the properties. Make some constants for this. Document some more properties.
This commit is contained in:
parent
d250f6932c
commit
477c6e8e90
5 changed files with 26 additions and 33 deletions
|
|
@ -137,10 +137,11 @@ static void test_create(void)
|
|||
|
||||
static const struct spa_dict_item items[] = {
|
||||
{ "pipewire.foo.bar", "baz" },
|
||||
{ "pipewire.access", "restricted" },
|
||||
{ PW_KEY_SEC_ENGINE, "org.flatpak" },
|
||||
{ PW_KEY_ACCESS, "restricted" },
|
||||
};
|
||||
|
||||
pw_security_context_create(info.sec, "org.flatpak",
|
||||
pw_security_context_create(info.sec,
|
||||
listen_fd, close_fd[1],
|
||||
&SPA_DICT_INIT_ARRAY(items));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue