Add minijail_run_pid() to return the pid of the jailed child process.

This is needed when sandboxing processes whose pid's are needed
by the parent process (starting with dhcpcd and shill).

BUG=None
TEST=security_Minijail0 still works.

Change-Id: I3e6c5b19b9c7e70aea8230e6c1395097fb697b4f
Reviewed-on: https://gerrit.chromium.org/gerrit/20413
Tested-by: Jorge Lucangeli Obes <jorgelo@chromium.org>
Reviewed-by: Jorge Lucangeli Obes <jorgelo@chromium.org>
Commit-Ready: Jorge Lucangeli Obes <jorgelo@chromium.org>
2 files changed