Commit Graph

135 Commits

Author SHA1 Message Date
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
Wolfgang Bumiller
baedb4ca94 clippy
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-09-04 09:46:31 +02:00
Wolfgang Bumiller
9486338a3a clippy
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-09-03 12:49:11 +02:00
Wolfgang Bumiller
f3cae2a791 clippy
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-09-03 12:45:38 +02:00
Wolfgang Bumiller
bd05b9574a clippy
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-09-03 12:45:29 +02:00
Wolfgang Bumiller
e935a00007 rustfmt
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-09-03 12:42:30 +02:00
Wolfgang Bumiller
2f7071e030 buildsys: run clippy in 'make test'
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-09-03 12:42:22 +02:00
Wolfgang Bumiller
2bf7e1885e buildsys: add 'make test'
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-09-03 12:42:11 +02:00
Wolfgang Bumiller
1690a67e9f Add a note
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-07-17 10:31:56 +02:00
Wolfgang Bumiller
0529496ddb comment update
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-07-17 10:25:04 +02:00
Wolfgang Bumiller
1349eed497 implement remaining quotactl calls
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-07-17 10:23:42 +02:00
Wolfgang Bumiller
e5bf0d135a in quotaon, addr is a string parameter
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-07-16 10:43:42 +02:00
Wolfgang Bumiller
7470f14b85 more quota code
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-07-15 16:19:39 +02:00
Wolfgang Bumiller
6651043d52 KEEP_CAPS: switch to secure bits
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-07-15 10:28:58 +02:00
Wolfgang Bumiller
738dbfbe69 set SECBIT_KEEP_CAPS
That's the one we actually want instead of PR_SET_KEEPCAPS

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-07-15 09:05:59 +02:00
Wolfgang Bumiller
7ca1a14c8c cleanup
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-07-15 08:57:50 +02:00