Add `open_netns()` to create a named Linux netns through pyroute2, pin its identity and yield an owned `BindspaceHandle`. Deats, - run synchronous creation and removal in Trio worker threads - shield both privileged side effects from caller cancellation - reuse `attach_netns()` to pin identity and manage the FD - close the FD before removing the owned namespace - fake privileged operations while testing ordering and cancellation Prompt-IO: ai/prompt-io/opencode/20260825T190529Z_e1007547_prompt_io.md (this patch was generated in some part by `opencode` using `gpt-5.6-sol` (`openai`)) |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| conftest.py | ||
| test_address_serialization.py | ||
| test_bindspace.py | ||
| test_daemon_fixture.py | ||
| test_multi_program.py | ||
| test_multiaddr.py | ||
| test_registrar.py | ||
| test_tpt_bind_addrs.py | ||
| test_tunnelled_addr.py | ||
| test_wg_inspection.py | ||