umoci icon indicating copy to clipboard operation
umoci copied to clipboard

auto-apply AppArmor profiles

Open cyphar opened this issue 4 years ago • 2 comments

It would be interesting to see if we can auto-apply AppArmor profiles if we are running as a privileged user (after all, we are only ever going to be modifying files inside the unpack directory and there are a whole host of rights we aren't going to be using).

cyphar avatar Mar 29 '21 12:03 cyphar

(Though at this point there is a valid question of "why not just chroot at that point".) Maybe we should be applying security hardenings like that if possible, and if not then we fall back to the current approach (trust that our path sanitisation is safe).

cyphar avatar Apr 05 '21 11:04 cyphar