Wolfgang Bumiller
401ab6a2e5
also use pidfd_open for explicit pids
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-01-10 15:53:21 +01:00
Wolfgang Bumiller
9ab7f72f71
use pidfd_open
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-01-10 15:51:22 +01:00
Wolfgang Bumiller
91acadadf2
bumps
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-12-27 11:47:02 +01:00
Wolfgang Bumiller
c7f2eab1ae
rename process::fd to process:pid_fd
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-10-31 11:48:12 +01:00
Wolfgang Bumiller
43b5e59485
move iovec to io submodule
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-10-31 11:47:30 +01:00
Wolfgang Bumiller
c84b90558f
move epoll module to io submodule
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-10-31 11:46:22 +01:00
Wolfgang Bumiller
1282264afc
blocking fixup, and actually recvmsg on recvmsg
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-10-31 09:18:08 +01:00
Wolfgang Bumiller
8dd2698556
switch it all over to epoll
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-10-31 09:05:25 +01:00
Wolfgang Bumiller
cab6f1e64d
seq_packet, iovec
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-10-30 14:51:51 +01:00
Wolfgang Bumiller
944fd4f5d2
set PolledFd to nonblocking
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-10-30 14:25:21 +01:00
Wolfgang Bumiller
47a812af5c
use nix for set_nonblocking impl
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-10-30 14:24:24 +01:00
Wolfgang Bumiller
f4c536439a
pipe implementation
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-10-30 14:22:41 +01:00
Wolfgang Bumiller
86b8386760
stuff
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-10-30 14:14:51 +01:00
Wolfgang Bumiller
ca7f6ba03b
use default reactor
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-10-30 14:08:46 +01:00
Wolfgang Bumiller
0e1eba91ce
default reactor
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-10-30 14:07:28 +01:00
Wolfgang Bumiller
9ebd1972eb
stuff
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-10-30 13:42:29 +01:00
Wolfgang Bumiller
a3afcf22af
edge triggering is vital for us
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-10-30 12:35:33 +01:00
Wolfgang Bumiller
3c8fcd1892
remove unused stuff
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-10-30 12:34:54 +01:00
Wolfgang Bumiller
f757af32da
handle dropped fds
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-10-30 12:34:27 +01:00
Wolfgang Bumiller
beb2f986f9
r/w pollfd
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-10-30 12:29:28 +01:00
Wolfgang Bumiller
a22aece041
stuff
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-10-30 12:28:18 +01:00
Wolfgang Bumiller
a18b03f3b8
c_call -> c_result for consistency
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-10-30 11:16:53 +01:00
Wolfgang Bumiller
d1b1deab3d
reactor stuff
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-10-30 11:16:10 +01:00
Wolfgang Bumiller
df560c2538
todo
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-10-29 14:58:28 +01:00
Wolfgang Bumiller
ba49d5dd8b
foo
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-10-29 14:57:56 +01:00
Wolfgang Bumiller
8962159b1c
working on stuff
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-10-29 14:57:46 +01:00
Wolfgang Bumiller
3201579daf
working on epoll
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-10-29 14:49:59 +01:00
Wolfgang Bumiller
725170f2c8
spawn all the threads...
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-10-25 13:15:34 +02:00
Wolfgang Bumiller
6f911968a5
clippy
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-10-25 13:13:14 +02:00
Wolfgang Bumiller
92eface070
clippy
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-10-25 13:12:13 +02:00
Wolfgang Bumiller
64d527abe6
custom executor
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-10-25 13:06:35 +02:00
Wolfgang Bumiller
4003b0f418
foo
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@errno.eu>
2019-10-24 18:56:32 +02:00
Wolfgang Bumiller
4b949e6e52
foo
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-10-24 15:39:24 +02:00
Wolfgang Bumiller
34396ad7f3
more
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-10-24 15:36:18 +02:00
Wolfgang Bumiller
1ed350d5f1
working on the executor
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-10-24 15:14:44 +02:00
Wolfgang Bumiller
6d2377186a
started working on a replacement executor
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-10-24 14:48:57 +02:00
Wolfgang Bumiller
7df906aaff
drop unused errno crate
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-10-24 12:53:04 +02:00
Wolfgang Bumiller
3989c4cbeb
disable failure_derive
...
drops another 12 unused dependencies
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-10-24 12:51:48 +02:00
Wolfgang Bumiller
3420e15031
use the futures-executor crate directly
...
drops 7 more unused dependencies
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-10-24 12:48:34 +02:00
Wolfgang Bumiller
3bbd1db091
refactor 'pidfd.rs' into a process module
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-10-21 14:04:50 +02:00
Wolfgang Bumiller
1e80bab0d3
use c_str macro
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-10-21 13:47:21 +02:00
Wolfgang Bumiller
636e29ad92
introduce c_str macro
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-10-21 13:45:05 +02:00
Wolfgang Bumiller
6d5a041127
foo
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@errno.eu>
2019-10-18 10:36:01 +02:00
Wolfgang Bumiller
2477831e20
fds
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@errno.eu>
2019-10-18 10:34:39 +02:00
Wolfgang Bumiller
f68bc5f131
macros are namespaced differently now
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-10-17 15:13:08 +02:00
Wolfgang Bumiller
9aa2a15ab7
switch to io_uring
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-10-17 14:08:40 +02:00
Wolfgang Bumiller
ec68dd3e97
work around a compiler bug
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-10-04 12:39:01 +02:00
Wolfgang Bumiller
aac3514487
bump from git to alpha versions
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-10-02 13:38:54 +02:00
Wolfgang Bumiller
61761bf672
remove async_await feature gate
...
rust 1.39 is a hard requirement
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-09-05 10:43:06 +02:00
Wolfgang Bumiller
e250632ca5
clippy: fix potential unaligned pointer access
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-09-04 09:46:54 +02:00