mirror of
https://github.com/safedep/pmg.git
synced 2026-08-03 07:24:09 +02:00
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:
@@ -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)
|
||||
}
|
||||
Reference in New Issue
Block a user