tools: add pw-container tool

This makes a new custom security context with the given properties
and runs the program in this context.
This commit is contained in:
Wim Taymans 2024-02-08 18:07:21 +01:00
parent 477c6e8e90
commit 81181e255f
3 changed files with 275 additions and 1 deletions

View file

@ -147,7 +147,7 @@ static void test_create(void)
roundtrip(core, loop);
pw_main_loop_run(loop);
unlink(temp);
pw_proxy_destroy((struct pw_proxy*)info.sec);
pw_proxy_destroy((struct pw_proxy*)info.registry);