[PATCH] contrib/apparmor: add missing setfcap capability
Since Linux 5.12, writing a mapping from UID 0 to /proc/self/uid_map
requires CAP_SETFCAP. isolation.c already retains this capability for
the case where pasta spawns a child from a non-init user namespace,
but the AppArmor profile doesn't grant it, so the write is denied
whenever the profile is enforced.
Add setfcap to the AppArmor abstraction to match what isolation.c
expects.
Link: https://bugs.passt.top/show_bug.cgi?id=172
Signed-off-by: Sevinj Aghayeva
participants (1)
-
Sevinj Aghayeva