commit | bcc9e1981344e2393d2257674b0c0c63d2c92005 | [log] [tgz] |
---|---|---|
author | Patrick Monette <pmonette@chromium.org> | Fri Oct 08 20:27:23 2021 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Oct 08 20:40:12 2021 |
tree | 8cbc532f2cbfdb018e869f0702d2d19b7ad92bb7 | |
parent | c6f1aef455213998a12e90454cd6f486b534e1d7 [diff] |
Replace task-related headers to their equivalent in base/task/ This CL was generated by using tools/git/move_source_file.py to change the includes for those files: base/bind_post_task.h base/deferred_sequenced_task_runner.h base/post_task_and_reply_with_result_internal.h base/sequenced_task_runner.h base/sequenced_task_runner_helpers.h base/single_thread_task_runner.h base/task_runner.h base/task_runner_util.h base/updateable_sequenced_task_runner.h Then formatted using "git cl format". DEPS files were fixed with a simple search and replace script. Bug: 1255932 Change-Id: I0d9b5ddd9260fde5e4581e6c6e0080bdb0ed2c44 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3209175 Reviewed-by: Gabriel Charette <gab@chromium.org> Owners-Override: Gabriel Charette <gab@chromium.org> Commit-Queue: Gabriel Charette <gab@chromium.org> Cr-Commit-Position: refs/heads/main@{#929867} NOKEYCHECK=True GitOrigin-RevId: 3d7d70920a92c08f6a16597f9f44bb28ac98d9a4
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.