bazelbuild/bazel

Stronger MacOS Sandbox with FSKit

Open

#29,165 创建于 2026年3月31日

在 GitHub 查看
 (4 评论) (7 反应) (0 负责人)Java (4,465 fork)batch import
P3help wantedteam-Remote-Exectype: feature request

仓库指标

Star
 (25,384 star)
PR 合并指标
 (平均合并 22天 20小时) (30 天内合并 77 个 PR)

描述

Description of the feature request:

@thesayyn has been studying the new https://developer.apple.com/documentation/FSKit API introduced in recent versions of MacOS. We believe this could allow a sandbox implementation that's both fast and isolated, in the sense that it avoids common sandbox escaping by following symlinks.

Background:

Alternatives:

  • Replace eager symlink creation with an on-demand userland filesystem
  • If cross-device hardlinks were permitted, it might help. The kernel security system might need changes.
  • MacFUSE has a FSkit implementation now, but you have to reduce secure boot.
  • bb-clientd uses an NFS approach but it's brittle (@jsharpe)

Which category does this issue belong to?

Action Spawns

贡献者指南