Wiktor Garbacz 5b12071ba0 Remove WaitForSanitizers from ptrace monitor & add to global forkserver
This makes should ensure global forkserver will be single threaded before forking the sandboxees as it does not go through WaitAndFork.

Waiting for sanitizers is not needed in the monitor and should reduce latency
by 1 second for all sanitizer builds. Currently it'll always wait up to 1 seconds for the process to become single-threaded, which will never happen as monitor itself is running in a separate thread.

PiperOrigin-RevId: 530878018
Change-Id: Ie9f663848502f2738721861b0ba2dc6f3cc9f1c9
2023-05-10 05:06:18 -07:00
..
2023-03-27 08:14:10 -07:00
2023-03-08 08:09:34 -08:00
2023-05-04 00:46:53 -07:00
2023-03-08 08:09:34 -08:00
2023-03-08 08:09:34 -08:00
2023-03-08 08:09:34 -08: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-03-08 08:09:34 -08:00
2023-03-08 08:09:34 -08: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-03-08 08:09:34 -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
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.