Files
pmg/sandbox/platform/platform_linux.go
T

15 lines
321 B
Go
Raw Normal View History

2026-01-13 14:52:02 +05:30
//go:build linux
// +build linux
package platform
import (
"github.com/safedep/pmg/sandbox"
)
// NewSandbox creates a platform-specific sandbox instance for Linux.
2026-01-14 17:06:12 +05:30
// Uses Bubblewrap (bwrap) for filesystem, network, and process isolation.
2026-01-13 14:52:02 +05:30
func NewSandbox() (sandbox.Sandbox, error) {
2026-01-14 17:06:12 +05:30
return newBubblewrapSandbox()
2026-01-13 14:52:02 +05:30
}