Wolfgang Bumiller
750b5cb3db
fix '--' parameter handling and help error output
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-01-30 09:01:57 +01:00
Wolfgang Bumiller
1e373b3395
bump to 0.9.0, experimental release
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-01-29 14:40:37 +01:00
Wolfgang Bumiller
b2564ece43
revert pidfd_open patches
...
They act like proc fds but aren't opened with O_DIRECTORY,
so we cannot use `openat()` yet. Maybe with a future kernel
extension...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-01-29 14:38:42 +01:00
Wolfgang Bumiller
edf4f4b9dd
don't create tokio-reactor-associated pipes before fork
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-01-29 14:36:30 +01:00
Wolfgang Bumiller
7b37bdac8c
syscalls are processed sequentially
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-01-22 12:04:31 +01:00
Wolfgang Bumiller
86ee36e899
formatting fixup
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-01-22 11:13:13 +01:00
Wolfgang Bumiller
7bb69bd3f6
finish service file
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-01-22 11:05:50 +01:00
Wolfgang Bumiller
d54e9e5a31
parameter handling:
...
the getopts crate is wrong, it uses String for free
arguments. We want a Path argument, which is not utf8.
clap is too big for our use case
so we're doing this manually
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-01-22 10:56:31 +01:00
Wolfgang Bumiller
31d748b335
install path fixups
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-01-22 10:07:52 +01:00
Wolfgang Bumiller
64a9f93ccf
add dinstall target
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-01-22 10:03:21 +01:00
Wolfgang Bumiller
3510be76a3
don't run fmt or clippy in check/test target
...
add a san (-ity) target instead
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-01-22 10:01:56 +01:00
Wolfgang Bumiller
6318298d33
buildsys: use system toolchain for package builds
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-01-22 09:59:59 +01:00
Wolfgang Bumiller
e78aca9d42
doc
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-01-22 09:53:09 +01:00
Wolfgang Bumiller
f42e079504
documentation
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-01-22 09:51:47 +01:00
Wolfgang Bumiller
3b7411dadc
test target fixup
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-01-21 16:04:54 +01:00
Wolfgang Bumiller
d6ba646c65
formatting fixup
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-01-21 16:04:18 +01:00
Wolfgang Bumiller
19b78f1511
debian/ fixup
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-01-21 16:03:43 +01:00
Wolfgang Bumiller
be1da45a10
build fixup
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-01-21 16:02:34 +01:00
Wolfgang Bumiller
439edd6e64
temp
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-01-21 16:01:44 +01:00
Wolfgang Bumiller
634239cc56
prepare for debcargo packaging
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-01-21 15:47:44 +01:00
Wolfgang Bumiller
5bd0c5620f
switch back to tokio now that it's stable and packaged
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-01-21 15:38:06 +01:00
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