Wolfgang Bumiller
e5360c92f0
more comments
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-07-10 11:37:22 +02:00
Wolfgang Bumiller
512f780a8c
handle capabilities and permission checks for mknod
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-07-10 11:35:58 +02:00
Wolfgang Bumiller
3bb4df0ba5
WIP
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-07-09 16:14:15 +02:00
Wolfgang Bumiller
275009ec68
Some CStr related changes
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-07-09 14:56:51 +02:00
Wolfgang Bumiller
61bfa35549
working on forking
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-07-09 14:34:10 +02:00
Wolfgang Bumiller
937921aae6
working on argument passing
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-07-09 14:04:26 +02:00
Wolfgang Bumiller
34f32e25a1
cleanup
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-07-09 13:32:18 +02:00
Wolfgang Bumiller
c95be5f6b5
working on receiving data for the syscalls
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-07-09 12:53:04 +02:00
Wolfgang Bumiller
41214ae25f
receive fds in the proxy message buffer
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-07-09 11:40:08 +02:00
Wolfgang Bumiller
0e2d0fa2ab
handle send/recv in proxy msg impl
...
it also handles what parts to send etc. so this makes more
sense
Signed-off-by: Wolfgang Bumiller <wry.git@bumiller.com>
2019-07-08 22:09:05 +02:00
Wolfgang Bumiller
e420f6f97f
Whole bunch of async code and preparation to fork.
...
The GenericStream should not be necessary once tokio-fs is
updated to futures@0.3
tools.rs needs to be split up...
Signed-off-by: Wolfgang Bumiller <wry.git@bumiller.com>
2019-07-08 18:55:20 +02:00
Wolfgang Bumiller
41ff6d289c
query seccomp sizes only once
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@errno.eu>
2019-07-07 18:24:52 +02:00
Wolfgang Bumiller
a0c504f8fd
use Arc<> for clients
...
so we can handle multipl requests by the same client in
parallel futures
Signed-off-by: Wolfgang Bumiller <w.bumiller@errno.eu>
2019-07-07 18:24:26 +02:00
Wolfgang Bumiller
d4f9eb8d79
let SeqPacketSocket methods take immutable self
...
since we can share the socket across threads and still get
full packets sent and received as a whole
Signed-off-by: Wolfgang Bumiller <w.bumiller@errno.eu>
2019-07-07 17:29:10 +02:00
Wolfgang Bumiller
571dbe0396
switch to vectored I/O
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@errno.eu>
2019-07-07 13:47:48 +02:00
Wolfgang Bumiller
52f50bd443
formatting fixup
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-07-05 16:14:44 +02:00
Wolfgang Bumiller
294a012831
Cargo.toml: we don't need the compat layer...
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-07-05 16:11:07 +02:00
Wolfgang Bumiller
9cffeac4d3
import
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-07-05 16:08:18 +02:00