macOS V2 Sandbox: Correct ordering of seatbelt IPC.

This CL establishes the correct ordering of the IPC which transmits the
seatbelt profile to the child process. It must first map the FD into the
child process, while launching the child process, and only send the
profile once the child process is launched.

Bug: 816824,801889
Change-Id: I453e307cc8f9a7416011ecc4eb101e702b11bca0
Reviewed-on: https://chromium-review.googlesource.com/939986
Reviewed-by: Robert Sesek <rsesek@chromium.org>
Reviewed-by: Mark Mentovai <mark@chromium.org>
Reviewed-by: Charlie Reis <creis@chromium.org>
Commit-Queue: Greg Kerr <kerrnel@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#540194}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9eb9a290742a97d0eb712d9c25774cc307709e46
2 files changed
tree: 3182858a93238719d8443287d6d463dbcf5ce1a4
  1. linux/
  2. mac/
  3. win/
  4. BUILD.gn
  5. features.gni
  6. ipc.dict
  7. OWNERS
  8. sandbox_export.h