mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-29 01:09:29 +00:00
``` $ fdd init & $ fdd share /tmp/foo # serve a fresh socketpair on that path $ fdd test /tmp/foo # read the socketpair and test that it works ``` Instead of `fdd test` (which is only useful for testing), users are expected to connect to the unix domain socket and call `recvmsg(2)`. They will get one side of the socketpair. Two different processes can do this and they will be able to talk to each other. Signed-off-by: Thomas Gazagnaire <thomas@gazagnaire.org>
6 lines
207 B
Plaintext
6 lines
207 B
Plaintext
(executable
|
|
((name fdd)
|
|
(public_name fdd)
|
|
(package fdd)
|
|
(libraries (unix lwt.unix lwt.preemptive fd-send-recv logs fmt cmdliner
|
|
fmt.cli logs.fmt fmt.tty logs.cli)))) |