Wiktor Garbacz c14312c3a2 Kill on each iteration of graceful exit loop
I believe it's possible for the `main_pid` to disappear between `kill` and `sigtimedwait` by means of an `exec` from a multithreaded process (`PTRACE_EVENT_EXIT` happens after the `exec`ing thread changes its tid to main_pid)

PiperOrigin-RevId: 555137959
Change-Id: Id22908fb31497c0906e4f4fda66400fbf9ac9efb
2023-08-09 06:00:19 -07:00
..
2023-07-21 01:53:54 -07:00
2023-05-04 00:46:53 -07:00
2023-07-21 01:53:54 -07:00
2023-03-08 08:09:34 -08:00
2023-03-08 08:09:34 -08:00
2023-08-03 05:42:29 -07:00
2023-03-08 08:09:34 -08:00
2023-03-08 08:09:34 -08:00
2023-01-23 01:42:28 -08:00
2022-01-28 01:39:09 -08:00
2023-08-03 05:42:29 -07:00
2023-03-08 08:09:34 -08:00
2023-08-07 06:48:11 -07:00
2023-03-15 03:29:56 -07:00
2023-03-08 08:09:34 -08:00
2022-01-28 01:39:09 -08:00
2023-02-16 06:07:15 -08:00
2022-12-22 05:00:48 -08:00
2023-03-08 08:09:34 -08:00
2022-01-28 01:39:09 -08:00
2023-03-14 00:04:14 -07:00
2023-03-28 05:50:43 -07:00

Sandbox2

Sandbox2 is a C++ security sandbox for Linux which can be used to run untrusted programs or portions of programs in confined environments. The idea is that the runtime environment is so restricted that security bugs such as buffer overflows in the protected region cause no harm.

Documentation

Detailed developer documentation is available on the Google Developers site for Sandboxed API under Sandbox2.

There is also a Getting Started guide for Sandbox2.