Skip to content

Files

Latest commit

enh-googleChromium LUCI CQ
and
Jun 27, 2025
c40eac2 · Jun 27, 2025

History

History
This branch is 7153 commits behind chromium/chromium:main.

sandbox

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jun 27, 2025
Jun 24, 2025
Jun 26, 2025
Jun 4, 2025
Apr 17, 2025
Feb 3, 2024
Jul 8, 2020
Sep 28, 2021
Feb 12, 2024
Jul 1, 2024
Sep 15, 2022
Nov 18, 2022
Apr 17, 2025
May 29, 2024
May 6, 2025

Sandbox Library

This directory contains platform-specific sandboxing libraries. Sandboxing is a technique that can improve the security of an application by separating untrustworthy code (or code that handles untrustworthy data) and restricting its privileges and capabilities.

Each platform relies on the operating system's process primitive to isolate code into distinct security principals, and platform-specific technologies are used to implement the privilege reduction. At a high-level:

  • mac/ uses the Seatbelt sandbox. See the detailed design for more.
  • linux/ uses namespaces and Seccomp-BPF. See the detailed design for more.
  • win/ uses a combination of restricted tokens, distinct job objects, alternate desktops, and integrity levels. See the detailed design for more.

Built on top of the low-level sandboxing library is the //sandbox/policy component, which provides concrete policies and helper utilities for sandboxing specific Chromium processes and services. The core sandbox library cannot depend on the policy component.