WIP: feat(zone): drop Command in favour of posix_spawn

This change introduces custom process spawning logic around
libc::posix_spawn/p, as well as a custom set of stdio wrappers using the
Tokio AsyncRead/AsyncWrite traits.

Currently this change is broken, stdio seeming to hang.
This commit is contained in:
Khionu Sybiern
2024-08-08 15:03:24 -07:00
parent 6bf3741ec9
commit 089461e545
10 changed files with 573 additions and 81 deletions

View File

@ -21,6 +21,7 @@ log = { workspace = true }
nix = { workspace = true, features = ["ioctl", "process", "fs"] }
oci-spec = { workspace = true }
path-absolutize = { workspace = true }
pin-project-lite = { workspace = true }
platform-info = { workspace = true }
rtnetlink = { workspace = true }
serde = { workspace = true }