Commit Graph

118 Commits

Author SHA1 Message Date
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
Wolfgang Bumiller
a563caf224 use tokio::main macro
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-07-13 10:27:28 +02:00
Wolfgang Bumiller
d0e7b466bf quotactl syscall numbers
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-07-12 10:39:43 +02:00
Wolfgang Bumiller
a0d68fed38 more quota stuff
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-07-12 10:36:37 +02:00
Wolfgang Bumiller
b1fbde1b92 quotaon wip
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-07-12 10:27:51 +02:00
Wolfgang Bumiller
d55a8fc671 update .gitignore
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-07-12 10:23:19 +02:00
Wolfgang Bumiller
3e69a521d8 some quotactl preparation
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-07-12 10:23:02 +02:00
Wolfgang Bumiller
7970b0ea8d some more syscall argument helpers
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-07-12 10:21:41 +02:00
Wolfgang Bumiller
9be25f820f cleanup
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-07-12 10:03:08 +02:00
Wolfgang Bumiller
f4b5a72f90 use arch based syscall translation
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-07-12 10:02:16 +02:00
Wolfgang Bumiller
942f3c7316 formatting fixup
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-07-11 14:32:13 +02:00
Wolfgang Bumiller
00c473c087 debian: compat: 11
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-07-11 13:49:25 +02:00
Wolfgang Bumiller
6ab9819ec1 remove verbose output
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-07-11 13:29:53 +02:00
Wolfgang Bumiller
42f2575678 apparmor support
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-07-11 11:33:31 +02:00
Wolfgang Bumiller
f6a483ad15 add syscall table for x86_64 and x86
Signed-off-by: Wolfgang Bumiller <w.bumiller@errno.eu>
2019-07-10 17:23:14 +02:00
Wolfgang Bumiller
641af2dd6a debian/ import
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-07-10 15:00:54 +02:00
Wolfgang Bumiller
3be1f04cb6 fill mknod whitelist
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-07-10 12:06:27 +02:00
Wolfgang Bumiller
bff40ab9c0 streamline UserCap::apply
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-07-10 11:58:13 +02:00