feat: Add Sandbox Inspection and Debugging Commands (#261)

* feat: add sandbox DX commands

* fix: Linter errors

* fix: Sandbox deny log parsing

* fix: Sandbox docs

* refactor: Maintain SSOT across pkg dependencies

* fix: Linter errors
This commit is contained in:
Abhisek Datta
2026-05-19 14:40:54 +05:30
committed by GitHub
parent 46cc70db53
commit b8588e3df4
97 changed files with 8796 additions and 478 deletions
+18
View File
@@ -0,0 +1,18 @@
//go:build !darwin && !linux
// +build !darwin,!linux
package platform
import "github.com/safedep/pmg/sandbox"
func renderSeatbelt(p *sandbox.SandboxPolicy) ([]byte, error) {
return nil, driverUnavailable(sandbox.DriverSeatbelt)
}
func renderBubblewrap(p *sandbox.SandboxPolicy) ([]byte, error) {
return nil, driverUnavailable(sandbox.DriverBubblewrap)
}
func renderLandlock(p *sandbox.SandboxPolicy) ([]byte, error) {
return nil, driverUnavailable(sandbox.DriverLandlock)
}