On Mon, Nov 30, 2026 at 11:31:23AM -0800, Andy Lutomirski wrote:
> We add a new LSM hook clear_nnp.  The logic that one may only use it
> when unsharing userns goes outside LSM (because there is nothing in
> the hook that indicates that userns is being unshared, so it can't go
> in commoncap).  Apparmor implements it by only allowing unconfined
> tasks to do it (and apparmor devs are welcome to change this policy if
> it becomes useful).  selinux adds an actual new policy
> PROCESS2__CLEAR_NNP.

Sounds decent. It's fine to add the hooks later.
Send that soon if you can. That doesn't need to hold up the other stuff.

Reply via email to