Wolfgang Bumiller
4275498bbc
Revert "seq_packet: set SOCK_NONBLOCK on accept"
...
This reverts commit ff22261dde
.
This causes issues with lxc blocking on recvmsg.
2022-07-18 11:17:30 +02:00
Wolfgang Bumiller
bf111d7e15
bump version to 1.2.0-1
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-07-07 15:20:31 +02:00
Wolfgang Bumiller
ff22261dde
seq_packet: set SOCK_NONBLOCK on accept
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-07-07 15:17:10 +02:00
Wolfgang Bumiller
a747328ef3
cleanup: explicitly use Arc::clone
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-06-21 10:35:20 +02:00
Wolfgang Bumiller
53d40ceeab
rt: set worker thread count
...
use at least 2 but at most 4 worker threads
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-06-21 10:09:54 +02:00
Wolfgang Bumiller
b8cb8723bd
update to nix 0.24
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-06-01 14:35:05 +02:00
Wolfgang Bumiller
bd5301dc58
drop IoVec/Mut in favor of std IoSlice/Mut
...
These used to not be Send + Sync, but they are now.
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-06-01 14:26:13 +02:00
Wolfgang Bumiller
3715458fce
clippy fixups
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-06-01 09:52:29 +02:00
Wolfgang Bumiller
8bc22e3879
bump edition to 2021
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-06-01 09:51:23 +02:00
Wolfgang Bumiller
15c6eb2221
bump version to 1.1.1-1
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-06-01 09:46:08 +02:00
Wolfgang Bumiller
7564d55dad
make clippy happy
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-05-27 10:21:13 +02:00
Wolfgang Bumiller
9202081202
remove Todo.md
...
Just had 1 entry:
Fetching the notify fd isn't terribly useful right now, for
this optimization it's better to wait for the new 'handler'
approach once that's ready.
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-01-10 16:18:25 +01:00
Wolfgang Bumiller
dc562b1121
remove rust-toolchain file
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-01-10 16:13:33 +01:00
Wolfgang Bumiller
96bc57d5f5
rework AT_FDCWD handling
...
this one's negative, actually
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-01-07 14:37:50 +01:00
Wolfgang Bumiller
9f86697d3b
bump version to 1.1.0-1
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-01-07 14:21:16 +01:00
Wolfgang Bumiller
092824889d
accept negative file descriptors
...
since for instance mknodat(-1, ...) may be used to
explicitly prevent relative paths we need to pass those
along instead of immediately failing with EINVAL
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-01-07 14:12:49 +01:00
Wolfgang Bumiller
4032c6699f
deny unsafe_op_in_unsafe_fn
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-01-07 12:19:16 +01:00
Wolfgang Bumiller
cff598eb29
clippy fixups
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-01-07 12:17:52 +01:00
Wolfgang Bumiller
8261331958
cargo fmt
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-01-07 11:51:48 +01:00
Wolfgang Bumiller
a03af34bb5
clippy fixes
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-06-11 10:55:47 +02:00
Wolfgang Bumiller
69eff2a1b2
add 'make upload' target
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-06-10 13:08:38 +02:00
Wolfgang Bumiller
fb2ec93c4f
bump version to 1.0.0-1
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-06-10 12:05:43 +02:00
Wolfgang Bumiller
fe73c2fb92
support pure cgroupv2 environments
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-06-10 12:03:28 +02:00
Wolfgang Bumiller
b5019f1a23
fix Pipe ReadBuf usage
...
this wasn't advancing the ReadBuf state
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-06-10 12:01:55 +02:00
Thomas Lamprecht
a8a175ea0b
bump version to 0.9.2-1
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-12 21:05:23 +02:00
Thomas Lamprecht
4b8278231b
buildsys: add CARGO_BUILD_ARGS to test target to avoid full rebuild
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-12 21:03:24 +02:00
Fabian Grünbichler
7a1ab2b21e
update to tokio 1.0
...
and switch from PollEvented to AsyncFd, dropping the direct mio
dependency in turn.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-02-17 11:57:21 +01:00
Fabian Grünbichler
29219349a6
debcargo: fix maintainer directive
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2021-02-01 11:24:07 +01:00
Fabian Grünbichler
c7db073eb9
update nix dependency
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2020-12-02 13:26:51 +01:00
Wolfgang Bumiller
ae19b9487c
add a Todo file
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-08-20 09:38:59 +02:00
Wolfgang Bumiller
8150a43970
replace failure with anyhow
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-04-17 11:15:18 +02:00
Wolfgang Bumiller
cbd70f7799
bump version to 0.9.1-1
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-01-30 09:04:00 +01:00
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