Re: [RFC PATCH v9 29/29] MAINTAINERS: Add entry for NSEXEC
From: Jarkko Sakkinen
Date: Wed Dec 02 2026 - 05:09:10 EST
On Tue, Dec 01, 2026 at 11:37:04PM +0200, Jarkko Sakkinen wrote:
> And if the patch set won't fly, I'll discard it without second thought.
>
> I can measure this and if the quantitative facts fight against what I've
> been doing, then I can at least fail with a peaceful mind :-) I also
> proactively want to prove myself wrong, and there are odds that of that
> being a legit outcome. That'd be totally fine by me.
>
> The topic is complex enough that I rather trust in measurement than
> arguments (including my own ones).
I ended up doing a trivial and non-portable wrapper called nsexec-cells,
and instead of deleting kselftest, I ported it to use Cells uAPI via
in-kernel syscalls. The commit was renamed as
"selftests/cells: Add Cells test suite"
The code for kselftest shrunk to about quarter of its old size.
I can run it either with Cells-enabled kernel or, with nsexec-enabled
kernel by issuing:
nsexec-cells tools/testing/selftests/nsexec/test_smoke.sh
nsexcel-cells traps Cells syscalls and sysfs using SECCOMP, and
executes syscalls I introduced and pre-existing syscalls, such as BPF
LSM shenanigans, which is a sweet spot complement to what I've created.
I've now peaked the source code of Cells a bit but it is not comparable
to my code.
My code is not specially awesome kernel code but I mean... Cells is just
across the board quite bad stuff. There's no other way to put it.
It's now so that I finished the job; and Mythos finished the slop.
So we'll wait for it so that we can let it win this artificially mounted
context :-) Love this reality.
Br, Jarkko