aboutsummaryrefslogtreecommitdiffstats
path: root/libsyscalls.h
diff options
context:
space:
mode:
authorDylan Reid <dgreid@chromium.org>2015-10-22 21:05:29 -0700
committerDylan Reid <dgreid@google.com>2015-10-29 10:00:10 -0700
commita14e08dad428aaa934687e3636a84ca7a9711de2 (patch)
treeede75448407284bc641c6889e2cd712808355010 /libsyscalls.h
parentd6aedee6f0cdc53ad11af4f297297803bf95c96f (diff)
downloadplatform_external_minijail-brillo-m7-dev.tar.gz
platform_external_minijail-brillo-m7-dev.tar.bz2
platform_external_minijail-brillo-m7-dev.zip
minijail: Allow static binaries in a bind mount to runbrillo-m7-releasebrillo-m7-mr-devbrillo-m7-dev
A previous commit placed a restriction on running static binaries and using bind mounts. Remove that restriction by checking if the binary path is in a bind mount and rebasing the path on to the bind mount source path so that the executable can be accessed from outside the chroot. This is needed so bind mounts can be specified when running a statically linked init program for Android. BUG=b/25192613 TEST=security_Minijail0, run a static init with bind mounts. Change-Id: I801909df67c1bf18d48efcfd54c11aafe4c75e54 Signed-off-by: Dylan Reid <dgreid@google.com>
Diffstat (limited to 'libsyscalls.h')
0 files changed, 0 insertions, 0 deletions