commit | 8f0665b0cebe1d459783ae5b65adec03447f073b | [log] [tgz] |
---|---|---|
author | Mike Frysinger <[email protected]> | Wed Jan 17 14:26:09 2018 -0500 |
committer | Mike Frysinger <[email protected]> | Thu Jan 18 15:04:57 2018 -0500 |
tree | 81169f7f8f8298e4521d78eae0cc74385081841c | |
parent | b4c7e77340e2aa46c1ecb425d24b55dad9cebaa8 [diff] |
make the dest field with -b optional Often times with -b, you want to bind mount the source into the same location (like when creating chroots), so you have a lot of flags like: -b /var,/var -b /dev/log,/dev/log Make the destination default to the source so now these are equivalent: -b /var -b /dev/log Bug: None Test: `sudo ./minijail0 --profile minimalistic-mountns -b /dev/log /usr/bin/logger foo` works Change-Id: I4dcf22c1d58e68535c3542d10f80974561d680c5