Re: [RFC PATCH v7 00/26] userland: Userland containers

From: Jarkko Sakkinen

Date: Mon Nov 23 2026 - 08:26:29 EST


On Mon, Nov 23, 2026 at 03:17:28AM +0200, Jarkko Sakkinen wrote:
> > > The way you're spamming people you're only reducing chances of anything going in.
> >
> > I personally think that "getting in" should not be a goal in the first
> > place. I care more about that whaever gets in has a high bar of
> > quality enough. It can be something different than this but
> > when I read the LWN article about Cells I was alarmed enough
> > so that I had to do this and prove my point.
>
> For completeness: I'll consider this final RFC.

Random throws that would not be this but something else (but could be
derived from this basis):

1. It is possible to use file a instead of syscall for container
creation. This allows to split the framework in two pieces:
the core piece and the driver piece.
2. It would be possible to create Linux Container Module framework i.e.
LCMs. I'm underlining the technical side here, not sure if this makes
sense or not.

Both alt's can be quantatively proven given the existence of this patch
set.

Kernel LOC growth when kselftest is taken into account:

1. v1: 1211 LOC
2. v7: 2149 LOC

It's not exceptional growth, as for a compact implementation like this
that easily comes up from e.g., LSM hooks that were later included.

Further the number of patches has only grown because I wanted to more
accurately slice everything up until they are exactly in logical chunks.

For later issues, I've fixed those that are known ATM to but hold on for
sending any further patch set versions:

https://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git/log/?h=vault

I also think that v7 made most of sense for the reason because I
realized that the cover letter would better have enumrated all syscall
extensions in addition to new syscalls. It was the primary season
for v7.

If this was skijumping, I would get worse style points, and will
improve on that for sure, but as a feature this does fly further
distance.

Br, Jarkko