Re: [PATCH RFC v3 00/90] cells: a container as one kernel object

From: Askar Safin

Date: Wed Nov 25 2026 - 20:50:11 EST


Josef Bacik <josef@xxxxxxxxxxxxxx>:
> - File capabilities are ignored in a cell, and a cell can drop from its
> bounding set without CAP_SETPCAP.

This is useful thing on its own. Don't require CAP_SETPCAP if no_new_privs
is set, even outside of cells. Similarly, a lot of other useful things here
can be applied not only to cells.

> - The host runs no usermode helper for a task of a cell, so no modprobe
> and no request-key, and a core dump doesn't go to a pipe or a socket.

Again, very useful thing. Consider to add it to all non-initial
user namespaces.

> - CLONE_NEW* being EPERM in a cell is written down as a position and not
> as something that is missing. (Andrew)

Note: it seems Andy Lutomirski (CC'd) wants something opposite
( https://lore.kernel.org/all/CALCETrUD4vh_iSHV7G0bprUFU8=c+ECo701-tXcbQ3UXBWC1ig@xxxxxxxxxxxxxx/ ).

> 8. procfs, sysfs, devtmpfs and cgroupfs. There are no per-cell instances
> yet, the builder assembles those with what exists today and can get
> it wrong the same way a runtime can today. Where I want to go is each
> of the four taking the cell as a mount parameter and showing only
> what the cell holds. That's a lot of work and I wanted this out
> first, but I would like to know if anybody hates the direction.

Again: consider taking userns as a mount parameter.

--
Askar Safin