mirror of
https://github.com/safedep/pmg.git
synced 2026-08-03 07:24:09 +02:00
13 lines
296 B
Go
13 lines
296 B
Go
//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()
|
|
}
|