Clone this repo:
  1. 0fc0cac Merge remote-tracking branch 'aosp/upstream-main' into 'aosp/main' am: bbaabc5ab3 by A. Cody Schuffelen · 3 months ago main master
  2. bbaabc5 Merge remote-tracking branch 'aosp/upstream-main' into 'aosp/main' by A. Cody Schuffelen · 3 months ago
  3. f708270 Add `DefaultAction(TraceAllSyscalls)` variant to `PolicyBuilder` by A. Cody Schuffelen · 3 months ago
  4. 044ba1c Return ENOSYS instead of hard denying clone3 by Wiktor Garbacz · 3 months ago
  5. 29a3b8c Add AllowAccess to SAPI's default policy by Wiktor Garbacz · 3 months ago

Sandbox

Copyright 2019-2023 Google LLC

Bazel build status CMake build status

What is Sandboxed API?

The Sandboxed API project (SAPI) makes sandboxing of C/C++ libraries less burdensome: after initial setup of security policies and generation of library interfaces, a stub API is generated, transparently forwarding calls using a custom RPC layer to the real library running inside a sandboxed environment.

Additionally, each SAPI library utilizes a tightly defined security policy, in contrast to the typical sandboxed project, where security policies must cover the total syscall/resource footprint of all its libraries.

Documentation

Developer documentation is available on the Google Developers site for Sandboxed API.

There is also a Getting Started guide.

Getting Involved

If you want to contribute, please read CONTRIBUTING.md and send us pull requests. You can also report bugs or file feature requests.

If you'd like to talk to the developers or get notified about major product updates, you may want to subscribe to our mailing list or sign up with this link.