On Sat, Dec 05, 2026 at 06:56:49PM +0200, Jarkko Sakkinen wrote: > On Sat, Dec 05, 2026 at 05:26:05AM +0200, Jarkko Sakkinen wrote: > > v10: > > - Reduced to *SINGLE* new syscall. > > - Rename nsexec_open() to runfd() and update the related interface names. > > - Replace userns_set_idmap() with the NS_SET_IDMAP ioctl on the user > > namespace descriptor. > > - Drop the in-tree nsexec selftests and package the standalone ucells > > runner in the Buildroot runfd image. > > - Include the runfd kernel-doc in the userspace API manual and register > > the ioctl range in a separate patch. > > LSM pollution is the next potential target of redundancy now that > syscall pollution has been fully addressed. > > At least these are low-hanging fruit: > > 1. security_runfd_free() is redundant against namespace_free(). > 2. security_runfd_share() should be replaced a shared hook with > Landlock, which already contains an equal hook. > > I'll address this and then I don't know i.e., need to see first > how LSM surface appears after these updates. > > My goal is to squeeze this patch set around 2000 LOC but not > sure if that is possible :-) A realistic bet would be something > like 2300 LOC of added complexity but let's see how this goes.
A patch set could not get much more legal-safe core feature patch set than this. It has back-trackable source of origin starting from 2017, and has been ever only hosted by git.kernel.org. I believe it all started from the input of a Netflix engineer at LPC 2016 that I also had a hallway discussion with. He complained about having to spawn VM per stream. Soon after David's patches appeared. And Netflix has switched to FreeBSD Jails since. I would bet that David met the sam guy. The progress has been moved slowly but steadily with multi-annual pauses now a full decade cycle as LPC 2016 was at late November. This is why a legit and backtrackable re-use is so awesome. No matter what you start with, you're always on path from "more broken" to "less broken". Br, Jarkko
