refactor: Sandbox for separation of boundaries

This commit is contained in:
Abhisek Datta
2026-01-08 14:11:10 +05:30
parent aa2a6cc214
commit b92ba00cfa
17 changed files with 197 additions and 194 deletions
+12
View File
@@ -0,0 +1,12 @@
//go:build darwin
// +build darwin
package platform
import "github.com/safedep/pmg/sandbox"
// NewSandbox creates a platform-specific sandbox instance for macOS.
// Uses Seatbelt (sandbox-exec) for process isolation.
func NewSandbox() (sandbox.Sandbox, error) {
return newSeatbeltSandbox()
}