commit | 42995338f146eb3ab09c9f4e5fa7f3a5d66ca985 | [log] [tgz] |
---|---|---|
author | Peter Boström <pbos@chromium.org> | Fri Nov 12 03:40:24 2021 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Nov 12 03:58:00 2021 |
tree | 70eb9a2bff0b93934fa092bb93a73dc6e004ed7c | |
parent | 033109363fdb9c51a99311732e3f05a5ca93b8d9 [diff] |
Remove most remaining unused "base/macros.h" Removes `#include "base/macros.h"` from remaining .cc, .h and .mm files that do not contain `ignore_result(` and do not trigger pre-commit or pre-upload errors. Bug: 1010217 No-Try: true Change-Id: I4cc5207b3deafa7901764d2e633bbb1ad43cfb73 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3276692 Commit-Queue: Peter Boström <pbos@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org> Owners-Override: Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/main@{#941054} NOKEYCHECK=True GitOrigin-RevId: 5666ff4f5077a7e2f72902f3a95f5d553ea0d88d
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.