commit | 81e2397c51787ed8682b08e9c732f53cc668401f | [log] [tgz] |
---|---|---|
author | Dylan Reid <dgreid@chromium.org> | Wed May 18 14:06:35 2016 -0700 |
committer | Dylan Reid <dgreid@google.com> | Thu Jun 30 11:37:14 2016 -0700 |
tree | 9fb96f5c76364f85a221b3ae61c6dfc34d784b38 | |
parent | 50211aee7cd46a998dee0cdf417a1537af1bcf64 [diff] |
Allow mount data to be specified Add an API, minijail_mount_with_data, that allows the mount data string to be set. This is needed for some mounts when entering a user namespace and specifying uid=, gid=, or similar mount options. BUG=b/27273730 TEST=mount proc with hidepid=2 check mount output to confirm security_Minijail0 test case added. Change-Id: Ieb48cc10ad4f6ed9968a89189392eb3cfb13af39 Signed-off-by: Dylan Reid <dgreid@chromium.org>