Move utility code into `sandboxed_api/util`

This change should make it less confusing where utility code comes from.
Having it in two places made sense when we were debating whether to publish
Sandbox2 separately, but not any longer.

Follow-up changes will move `sandbox2/util.h` and rename the remaining
`sandbox2/util` folder.

PiperOrigin-RevId: 351601640
Change-Id: I6256845261f610e590c25e2c59851cc51da2d778
152 files changed
tree: dc10c285997d747533375be1af6131d8ea31432a
  1. .bazelci/
  2. .github/
  3. cmake/
  4. contrib/
  5. oss-internship-2020/
  6. sandboxed_api/
  7. .bazelignore
  8. .bazelrc
  9. .clang-format
  10. .gitignore
  11. .gitmodules
  12. CMakeLists.txt
  13. CONTRIBUTING.md
  14. LICENSE
  15. README.md
  16. WORKSPACE
README.md

Sandbox

Copyright 2019-2020 Google LLC.

Bazel build status CMake build status

What is Sandboxed API?

The Sandboxed API project (SAPI) aims to make sandboxing of C/C++ libraries less burdensome: after initial setup of security policies and generation of library interfaces, an almost-identical 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 utilized libraries.

Documentation

Detailed 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.