Files
bun.sh/packages
Dylan Conway 4d5ceecd0f feat(spawn): add seccomp filter flags support (LOG, SPEC_ALLOW)
Add support for passing flags to seccomp via an object format:

```js
Bun.spawn({
  cmd: ["program"],
  sandbox: {
    seccomp: {
      filter: bpfFilter,
      flags: ["LOG", "SPEC_ALLOW"]
    }
  }
});
```

- LOG: log filter actions to audit log
- SPEC_ALLOW: disable Spectre mitigations for performance

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 04:36:49 +00:00
..