]> git.proxmox.com Git - pve-lxc-syscalld.git/log
pve-lxc-syscalld.git
4 years agomove epoll module to io submodule
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>
4 years agoblocking fixup, and actually recvmsg on recvmsg
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>
4 years agoswitch it all over to epoll
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>
4 years agoseq_packet, iovec
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>
4 years agoset PolledFd to nonblocking
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>
4 years agouse nix for set_nonblocking impl
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>
4 years agopipe implementation
Wolfgang Bumiller [Wed, 30 Oct 2019 13:22:41 +0000 (14:22 +0100)]
pipe implementation

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 years agostuff
Wolfgang Bumiller [Wed, 30 Oct 2019 13:14:51 +0000 (14:14 +0100)]
stuff

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 years agouse default reactor
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>
4 years agodefault reactor
Wolfgang Bumiller [Wed, 30 Oct 2019 13:07:28 +0000 (14:07 +0100)]
default reactor

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 years agostuff
Wolfgang Bumiller [Wed, 30 Oct 2019 12:42:29 +0000 (13:42 +0100)]
stuff

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 years agoedge triggering is vital for us
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>
4 years agoremove unused stuff
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>
4 years agohandle dropped fds
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>
4 years agor/w pollfd
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>
4 years agostuff
Wolfgang Bumiller [Wed, 30 Oct 2019 11:28:18 +0000 (12:28 +0100)]
stuff

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 years agoc_call -> c_result for consistency
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>
4 years agoreactor stuff
Wolfgang Bumiller [Wed, 30 Oct 2019 10:16:10 +0000 (11:16 +0100)]
reactor stuff

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 years agotodo
Wolfgang Bumiller [Tue, 29 Oct 2019 13:58:28 +0000 (14:58 +0100)]
todo

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 years agofoo
Wolfgang Bumiller [Tue, 29 Oct 2019 13:57:56 +0000 (14:57 +0100)]
foo

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 years agoworking on stuff
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>
4 years agoworking on epoll
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>
4 years agospawn all the threads...
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>
4 years agoclippy
Wolfgang Bumiller [Fri, 25 Oct 2019 11:13:14 +0000 (13:13 +0200)]
clippy

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 years agoclippy
Wolfgang Bumiller [Fri, 25 Oct 2019 11:12:13 +0000 (13:12 +0200)]
clippy

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 years agocustom executor
Wolfgang Bumiller [Fri, 25 Oct 2019 10:16:21 +0000 (12:16 +0200)]
custom executor

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 years agofoo
Wolfgang Bumiller [Thu, 24 Oct 2019 16:56:32 +0000 (18:56 +0200)]
foo

Signed-off-by: Wolfgang Bumiller <w.bumiller@errno.eu>
4 years agofoo
Wolfgang Bumiller [Thu, 24 Oct 2019 13:39:24 +0000 (15:39 +0200)]
foo

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 years agomore
Wolfgang Bumiller [Thu, 24 Oct 2019 13:36:18 +0000 (15:36 +0200)]
more

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 years agoworking on the executor
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>
4 years agostarted working on a replacement executor
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>
4 years agodrop unused errno crate
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>
4 years agodisable failure_derive
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>
4 years agouse the futures-executor crate directly
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>
4 years agorefactor 'pidfd.rs' into a process module
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>
4 years agouse c_str macro
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>
4 years agointroduce c_str macro
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>
4 years agofoo
Wolfgang Bumiller [Fri, 18 Oct 2019 08:36:01 +0000 (10:36 +0200)]
foo

Signed-off-by: Wolfgang Bumiller <w.bumiller@errno.eu>
4 years agofds
Wolfgang Bumiller [Fri, 18 Oct 2019 08:34:39 +0000 (10:34 +0200)]
fds

Signed-off-by: Wolfgang Bumiller <w.bumiller@errno.eu>
4 years agomacros are namespaced differently now
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>
4 years agoswitch to io_uring
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>
4 years agowork around a compiler bug
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>
4 years agobump from git to alpha versions
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>
5 years agoremove async_await feature gate
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>
5 years agoclippy: fix potential unaligned pointer access
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>
5 years agoclippy
Wolfgang Bumiller [Wed, 4 Sep 2019 07:46:31 +0000 (09:46 +0200)]
clippy

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agoclippy
Wolfgang Bumiller [Tue, 3 Sep 2019 10:49:11 +0000 (12:49 +0200)]
clippy

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agoclippy
Wolfgang Bumiller [Tue, 3 Sep 2019 10:45:38 +0000 (12:45 +0200)]
clippy

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agoclippy
Wolfgang Bumiller [Tue, 3 Sep 2019 10:45:29 +0000 (12:45 +0200)]
clippy

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agorustfmt
Wolfgang Bumiller [Tue, 3 Sep 2019 10:42:30 +0000 (12:42 +0200)]
rustfmt

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agobuildsys: run clippy in 'make test'
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>
5 years agobuildsys: add 'make test'
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>
5 years agoAdd a note
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>
5 years agocomment update
Wolfgang Bumiller [Wed, 17 Jul 2019 08:25:04 +0000 (10:25 +0200)]
comment update

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agoimplement remaining quotactl calls
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>
5 years agoin quotaon, addr is a string parameter
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>
5 years agomore quota code
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>
5 years agoKEEP_CAPS: switch to secure bits
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>
5 years agoset SECBIT_KEEP_CAPS
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>
5 years agocleanup
Wolfgang Bumiller [Mon, 15 Jul 2019 06:57:31 +0000 (08:57 +0200)]
cleanup

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agouse tokio::main macro
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>
5 years agoquotactl syscall numbers
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>
5 years agomore quota stuff
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>
5 years agoquotaon wip
Wolfgang Bumiller [Fri, 12 Jul 2019 08:27:51 +0000 (10:27 +0200)]
quotaon wip

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agoupdate .gitignore
Wolfgang Bumiller [Fri, 12 Jul 2019 08:23:19 +0000 (10:23 +0200)]
update .gitignore

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agosome quotactl preparation
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>
5 years agosome more syscall argument helpers
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>
5 years agocleanup
Wolfgang Bumiller [Fri, 12 Jul 2019 08:03:08 +0000 (10:03 +0200)]
cleanup

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agouse arch based syscall translation
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>
5 years agoformatting fixup
Wolfgang Bumiller [Thu, 11 Jul 2019 12:32:13 +0000 (14:32 +0200)]
formatting fixup

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agodebian: compat: 11
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>
5 years agoremove verbose output
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>
5 years agoapparmor support
Wolfgang Bumiller [Thu, 11 Jul 2019 09:09:27 +0000 (11:09 +0200)]
apparmor support

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agoadd syscall table for x86_64 and x86
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>
5 years agodebian/ import
Wolfgang Bumiller [Wed, 10 Jul 2019 12:43:49 +0000 (14:43 +0200)]
debian/ import

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agofill mknod whitelist
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>
5 years agostreamline UserCap::apply
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>
5 years agomore comments
Wolfgang Bumiller [Wed, 10 Jul 2019 09:37:22 +0000 (11:37 +0200)]
more comments

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agohandle capabilities and permission checks for mknod
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>
5 years agoWIP
Wolfgang Bumiller [Tue, 9 Jul 2019 14:14:15 +0000 (16:14 +0200)]
WIP

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agoSome CStr related changes
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>
5 years agoworking on forking
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>
5 years agoworking on argument passing
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>
5 years agocleanup
Wolfgang Bumiller [Tue, 9 Jul 2019 11:32:18 +0000 (13:32 +0200)]
cleanup

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agoworking on receiving data for the syscalls
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>
5 years agoreceive fds in the proxy message buffer
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>
5 years agohandle send/recv in proxy msg impl
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>
5 years agoWhole bunch of async code and preparation to fork.
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>
5 years agoquery seccomp sizes only once
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>
5 years agouse Arc<> for clients
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>
5 years agolet SeqPacketSocket methods take immutable self
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>
5 years agoswitch to vectored I/O
Wolfgang Bumiller [Sun, 7 Jul 2019 11:19:16 +0000 (13:19 +0200)]
switch to vectored I/O

Signed-off-by: Wolfgang Bumiller <w.bumiller@errno.eu>
5 years agoformatting fixup
Wolfgang Bumiller [Fri, 5 Jul 2019 14:14:44 +0000 (16:14 +0200)]
formatting fixup

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agoCargo.toml: we don't need the compat layer...
Wolfgang Bumiller [Fri, 5 Jul 2019 14:11:07 +0000 (16:11 +0200)]
Cargo.toml: we don't need the compat layer...

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agoimport
Wolfgang Bumiller [Tue, 2 Jul 2019 12:07:45 +0000 (14:07 +0200)]
import

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>