We're using forkpty to spawn the atos symbolizer. In some cases, login_tty (part of forkpty) can fail due to security measures (sandboxing). In this case, we should exit with a status code instead of completely crashing the spawned process. Even processing a failed CHECK() is problematic here, because we're post-fork and pre-exec where a lot of things don't work (for multithreaded processes, for OS X GUI apps, etc.).
Details
Details
- Reviewers
kcc glider dvyukov samsonov aizatsky - Commits
- rG3f6f8de2389e: [sanitizer] On OS X, exit the forked process gracefully when login_tty fails
rCRT269289: [sanitizer] On OS X, exit the forked process gracefully when login_tty fails
rL269289: [sanitizer] On OS X, exit the forked process gracefully when login_tty fails
Diff Detail
Diff Detail