mirror of
https://github.com/oven-sh/bun
synced 2026-02-12 11:59:00 +00:00
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>