New issue
Advanced search Search tips

Issue 895892 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Feature



Sign in to add a comment

minijail: Allow to skip non-existing bind-mount sources

Project Member Reported by emaxx@chromium.org, Oct 16

Issue description

Currently, when a non-existing source path is passed via the "-b" option, the minijail0 will immediately exit with code 254.
This is fragile in situations when we don't know for sure whether the source directory is present or not, but our sandboxed program is able to gracefully survive the missing directory.

The request is to add a parameter that allows the "-b" option to ignore invalid paths.
 
i'm not sure about this.  usually for people who want this, they write a small shell script to do the [ -d ] checks and then add the optional -b flags as they think is OK.  we tend to prefer code to fail explicitly rather than warn & keep running.

Sign in to add a comment