Re: [RFC PATCH v10 01/28] userns: Factor out idmap validation and commit helpers
From: Jarkko Sakkinen
Date: Sat Dec 05 2026 - 09:13:48 EST
On Sat, Dec 05, 2026 at 04:01:58AM +0000, bot+bpf-ci@xxxxxxxxxx wrote:
> > userns: Factor out idmap validation and commit helpers
>
> TL;DR: Commit message only: it claims "no functional change", but the
> extent-limit check and the map_write() error-path cleanup were rewritten. It
> asks the author to say so and explain why they are equivalent.
This, and other commit message issues reported by Sashiko have been
addressed at
https://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git/log/?h=runfd
Other Sashiko and BPF bot issues have been addressed too, and fixup
diffs have been sent as responses to the corresponding patches.
Ucells is a Cells v3 ABI written in C:
https://git.kernel.org/pub/scm/linux/kernel/git/jarkko/ucells.git/about/?h=main
The gist:
- Ucells uses seccomp user notification to intercept Cells v3 syscalls
and handle them in a userspace supervisor.
- The supervisor uses runfd to stage each cell’s namespaces,
launch its init process, and track its exit.
- BPF programs enforce per-cell isolation rules at runfd and
other kernel security hooks.
It's much more realistic than the Python daemon I had.
BPF LSM is still relatively fresh kernel feature that already exist in
the mainline, and would really need more use cases so that we can make
it better.
I was wondering a while ago how I would practically use BPF LSM. Now it
found its use case :-) I'm glad it exists; otherwise this would not be
as conclusive as it is now.
Br, Jarkko