]>
git.proxmox.com Git - pve-lxc-syscalld.git/log
Wolfgang Bumiller [Tue, 21 Jan 2020 15:02:34 +0000 (16:02 +0100)]
build fixup
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Tue, 21 Jan 2020 14:51:42 +0000 (15:51 +0100)]
temp
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Tue, 21 Jan 2020 14:47:44 +0000 (15:47 +0100)]
prepare for debcargo packaging
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Tue, 21 Jan 2020 10:12:50 +0000 (11:12 +0100)]
switch back to tokio now that it's stable and packaged
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Fri, 10 Jan 2020 14:52:17 +0000 (15:52 +0100)]
also use pidfd_open for explicit pids
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Fri, 10 Jan 2020 14:51:22 +0000 (15:51 +0100)]
use pidfd_open
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Fri, 27 Dec 2019 10:47:02 +0000 (11:47 +0100)]
bumps
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Thu, 31 Oct 2019 10:48:12 +0000 (11:48 +0100)]
rename process::fd to process:pid_fd
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Thu, 31 Oct 2019 10:47:30 +0000 (11:47 +0100)]
move iovec to io submodule
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Thu, 31 Oct 2019 10:46:22 +0000 (11:46 +0100)]
move epoll module to io submodule
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Thu, 31 Oct 2019 08:18:08 +0000 (09:18 +0100)]
blocking fixup, and actually recvmsg on recvmsg
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Thu, 31 Oct 2019 08:05:25 +0000 (09:05 +0100)]
switch it all over to epoll
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Wed, 30 Oct 2019 13:51:51 +0000 (14:51 +0100)]
seq_packet, iovec
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Wed, 30 Oct 2019 13:25:21 +0000 (14:25 +0100)]
set PolledFd to nonblocking
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Wed, 30 Oct 2019 13:24:24 +0000 (14:24 +0100)]
use nix for set_nonblocking impl
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Wed, 30 Oct 2019 13:22:41 +0000 (14:22 +0100)]
pipe implementation
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Wed, 30 Oct 2019 13:14:51 +0000 (14:14 +0100)]
stuff
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Wed, 30 Oct 2019 13:08:46 +0000 (14:08 +0100)]
use default reactor
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Wed, 30 Oct 2019 13:07:28 +0000 (14:07 +0100)]
default reactor
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Wed, 30 Oct 2019 12:42:29 +0000 (13:42 +0100)]
stuff
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Wed, 30 Oct 2019 11:35:33 +0000 (12:35 +0100)]
edge triggering is vital for us
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Wed, 30 Oct 2019 11:34:54 +0000 (12:34 +0100)]
remove unused stuff
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Wed, 30 Oct 2019 11:34:27 +0000 (12:34 +0100)]
handle dropped fds
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Wed, 30 Oct 2019 11:29:28 +0000 (12:29 +0100)]
r/w pollfd
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Wed, 30 Oct 2019 11:28:18 +0000 (12:28 +0100)]
stuff
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Wed, 30 Oct 2019 10:16:53 +0000 (11:16 +0100)]
c_call -> c_result for consistency
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Wed, 30 Oct 2019 10:16:10 +0000 (11:16 +0100)]
reactor stuff
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Tue, 29 Oct 2019 13:58:28 +0000 (14:58 +0100)]
todo
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Tue, 29 Oct 2019 13:57:56 +0000 (14:57 +0100)]
foo
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Tue, 29 Oct 2019 13:57:46 +0000 (14:57 +0100)]
working on stuff
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Tue, 29 Oct 2019 13:49:59 +0000 (14:49 +0100)]
working on epoll
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Fri, 25 Oct 2019 11:15:34 +0000 (13:15 +0200)]
spawn all the threads...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Fri, 25 Oct 2019 11:13:14 +0000 (13:13 +0200)]
clippy
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Fri, 25 Oct 2019 11:12:13 +0000 (13:12 +0200)]
clippy
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Fri, 25 Oct 2019 10:16:21 +0000 (12:16 +0200)]
custom executor
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Thu, 24 Oct 2019 16:56:32 +0000 (18:56 +0200)]
foo
Signed-off-by: Wolfgang Bumiller <w.bumiller@errno.eu>
Wolfgang Bumiller [Thu, 24 Oct 2019 13:39:24 +0000 (15:39 +0200)]
foo
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Thu, 24 Oct 2019 13:36:18 +0000 (15:36 +0200)]
more
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Thu, 24 Oct 2019 13:14:44 +0000 (15:14 +0200)]
working on the executor
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Thu, 24 Oct 2019 12:42:04 +0000 (14:42 +0200)]
started working on a replacement executor
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Thu, 24 Oct 2019 10:53:04 +0000 (12:53 +0200)]
drop unused errno crate
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Thu, 24 Oct 2019 10:51:48 +0000 (12:51 +0200)]
disable failure_derive
drops another 12 unused dependencies
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Thu, 24 Oct 2019 10:48:33 +0000 (12:48 +0200)]
use the futures-executor crate directly
drops 7 more unused dependencies
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Mon, 21 Oct 2019 12:04:50 +0000 (14:04 +0200)]
refactor 'pidfd.rs' into a process module
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Mon, 21 Oct 2019 11:47:21 +0000 (13:47 +0200)]
use c_str macro
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Mon, 21 Oct 2019 11:45:05 +0000 (13:45 +0200)]
introduce c_str macro
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Fri, 18 Oct 2019 08:36:01 +0000 (10:36 +0200)]
foo
Signed-off-by: Wolfgang Bumiller <w.bumiller@errno.eu>
Wolfgang Bumiller [Fri, 18 Oct 2019 08:34:39 +0000 (10:34 +0200)]
fds
Signed-off-by: Wolfgang Bumiller <w.bumiller@errno.eu>
Wolfgang Bumiller [Thu, 17 Oct 2019 13:13:08 +0000 (15:13 +0200)]
macros are namespaced differently now
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Thu, 17 Oct 2019 10:30:02 +0000 (12:30 +0200)]
switch to io_uring
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Fri, 4 Oct 2019 10:39:01 +0000 (12:39 +0200)]
work around a compiler bug
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Wed, 2 Oct 2019 10:16:51 +0000 (12:16 +0200)]
bump from git to alpha versions
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Thu, 5 Sep 2019 08:42:58 +0000 (10:42 +0200)]
remove async_await feature gate
rust 1.39 is a hard requirement
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Wed, 4 Sep 2019 07:46:54 +0000 (09:46 +0200)]
clippy: fix potential unaligned pointer access
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Wed, 4 Sep 2019 07:46:31 +0000 (09:46 +0200)]
clippy
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Tue, 3 Sep 2019 10:49:11 +0000 (12:49 +0200)]
clippy
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Tue, 3 Sep 2019 10:45:38 +0000 (12:45 +0200)]
clippy
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Tue, 3 Sep 2019 10:45:29 +0000 (12:45 +0200)]
clippy
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Tue, 3 Sep 2019 10:42:30 +0000 (12:42 +0200)]
rustfmt
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Tue, 3 Sep 2019 10:42:22 +0000 (12:42 +0200)]
buildsys: run clippy in 'make test'
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Tue, 3 Sep 2019 10:42:11 +0000 (12:42 +0200)]
buildsys: add 'make test'
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Wed, 17 Jul 2019 08:31:56 +0000 (10:31 +0200)]
Add a note
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Wed, 17 Jul 2019 08:25:04 +0000 (10:25 +0200)]
comment update
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Wed, 17 Jul 2019 08:23:42 +0000 (10:23 +0200)]
implement remaining quotactl calls
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Tue, 16 Jul 2019 08:43:42 +0000 (10:43 +0200)]
in quotaon, addr is a string parameter
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Mon, 15 Jul 2019 14:19:39 +0000 (16:19 +0200)]
more quota code
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Mon, 15 Jul 2019 08:28:58 +0000 (10:28 +0200)]
KEEP_CAPS: switch to secure bits
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Mon, 15 Jul 2019 07:05:58 +0000 (09:05 +0200)]
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>
Wolfgang Bumiller [Mon, 15 Jul 2019 06:57:31 +0000 (08:57 +0200)]
cleanup
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Sat, 13 Jul 2019 08:27:28 +0000 (10:27 +0200)]
use tokio::main macro
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Fri, 12 Jul 2019 08:39:43 +0000 (10:39 +0200)]
quotactl syscall numbers
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Fri, 12 Jul 2019 08:36:37 +0000 (10:36 +0200)]
more quota stuff
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Fri, 12 Jul 2019 08:27:51 +0000 (10:27 +0200)]
quotaon wip
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Fri, 12 Jul 2019 08:23:19 +0000 (10:23 +0200)]
update .gitignore
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Fri, 12 Jul 2019 08:23:02 +0000 (10:23 +0200)]
some quotactl preparation
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Fri, 12 Jul 2019 08:21:41 +0000 (10:21 +0200)]
some more syscall argument helpers
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Fri, 12 Jul 2019 08:03:08 +0000 (10:03 +0200)]
cleanup
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Fri, 12 Jul 2019 08:02:16 +0000 (10:02 +0200)]
use arch based syscall translation
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Thu, 11 Jul 2019 12:32:13 +0000 (14:32 +0200)]
formatting fixup
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Thu, 11 Jul 2019 11:49:25 +0000 (13:49 +0200)]
debian: compat: 11
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Thu, 11 Jul 2019 11:29:53 +0000 (13:29 +0200)]
remove verbose output
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Thu, 11 Jul 2019 09:09:27 +0000 (11:09 +0200)]
apparmor support
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Wed, 10 Jul 2019 15:23:14 +0000 (17:23 +0200)]
add syscall table for x86_64 and x86
Signed-off-by: Wolfgang Bumiller <w.bumiller@errno.eu>
Wolfgang Bumiller [Wed, 10 Jul 2019 12:43:49 +0000 (14:43 +0200)]
debian/ import
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Wed, 10 Jul 2019 10:06:27 +0000 (12:06 +0200)]
fill mknod whitelist
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Wed, 10 Jul 2019 09:58:13 +0000 (11:58 +0200)]
streamline UserCap::apply
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Wed, 10 Jul 2019 09:37:22 +0000 (11:37 +0200)]
more comments
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Wed, 10 Jul 2019 09:35:58 +0000 (11:35 +0200)]
handle capabilities and permission checks for mknod
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Tue, 9 Jul 2019 14:14:15 +0000 (16:14 +0200)]
WIP
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Tue, 9 Jul 2019 12:56:51 +0000 (14:56 +0200)]
Some CStr related changes
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Tue, 9 Jul 2019 12:34:10 +0000 (14:34 +0200)]
working on forking
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Tue, 9 Jul 2019 11:56:36 +0000 (13:56 +0200)]
working on argument passing
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Tue, 9 Jul 2019 11:32:18 +0000 (13:32 +0200)]
cleanup
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Tue, 9 Jul 2019 10:53:04 +0000 (12:53 +0200)]
working on receiving data for the syscalls
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Tue, 9 Jul 2019 09:40:08 +0000 (11:40 +0200)]
receive fds in the proxy message buffer
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Mon, 8 Jul 2019 20:05:28 +0000 (22:05 +0200)]
handle send/recv in proxy msg impl
it also handles what parts to send etc. so this makes more
sense
Signed-off-by: Wolfgang Bumiller <wry.git@bumiller.com>
Wolfgang Bumiller [Sun, 7 Jul 2019 16:29:18 +0000 (18:29 +0200)]
Whole bunch of async code and preparation to fork.
The GenericStream should not be necessary once tokio-fs is
updated to futures@0.3
tools.rs needs to be split up...
Signed-off-by: Wolfgang Bumiller <wry.git@bumiller.com>
Wolfgang Bumiller [Sun, 7 Jul 2019 16:24:52 +0000 (18:24 +0200)]
query seccomp sizes only once
Signed-off-by: Wolfgang Bumiller <w.bumiller@errno.eu>
Wolfgang Bumiller [Sun, 7 Jul 2019 16:24:25 +0000 (18:24 +0200)]
use Arc<> for clients
so we can handle multipl requests by the same client in
parallel futures
Signed-off-by: Wolfgang Bumiller <w.bumiller@errno.eu>
Wolfgang Bumiller [Sun, 7 Jul 2019 15:28:42 +0000 (17:28 +0200)]
let SeqPacketSocket methods take immutable self
since we can share the socket across threads and still get
full packets sent and received as a whole
Signed-off-by: Wolfgang Bumiller <w.bumiller@errno.eu>