commit | 2ad6cdee8f538ccc72beec0ea8bc2e1dd5f6eb0d | [log] [tgz] |
---|---|---|
author | Dale Curtis <dalecurtis@chromium.org> | Tue Mar 01 00:02:58 2022 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Mar 01 00:23:12 2022 |
tree | ea5fef957d7642ad39a69159a7a2862f06f7c9b6 | |
parent | 8541c3754a163807cc303ac510da05bec54951ef [diff] |
Implement xHE-AAC decoding via AudioToolbox on macOS 10.15+ This uses the macOS AudioConverter interface to decode xHE-AAC streams into planar floating point. Overall the interface is very similar to our own media::AudioConverter, but works with encoded data! This adds a couple of exceptions to the GPU sandbox in order to facilitate audio decoding. Bug: 1289825 Change-Id: If9335f881992b8e651184a88635a30acf2625901 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3258346 Reviewed-by: Eugene Zemtsov <eugene@chromium.org> Reviewed-by: Robert Sesek <rsesek@chromium.org> Commit-Queue: Dale Curtis <dalecurtis@chromium.org> Cr-Commit-Position: refs/heads/main@{#976010} NOKEYCHECK=True GitOrigin-RevId: 0485d783792e8efbfed4e56da9ec1a81087d0c5e
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.