Make run/run_remap more generic am: f16b78b423 am: 4f4c093869

Original change: https://android-review.googlesource.com/c/platform/external/minijail/+/1675960

Change-Id: I5f59f33d407e340d31c8a00d2c3c41fb514ad986