pub fn is_bwrap_usable() -> boolExpand description
Checks whether bwrap can create user namespaces and sandboxes normally on Linux.
On environments like Ubuntu 24.04+ with kernel.apparmor_restrict_unprivileged_userns = 1,
bwrap without an AppArmor profile authorization fails when creating uid maps (Permission denied).
In this case, fall back to danger-full-access to prevent Codex from aborting on command execution.