Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunSandboxedChild ¶
RunSandboxedChild applies the profile from DSC_SANDBOX_PROFILE_JSON and replaces this process with the command after "--".
Types ¶
type Profile ¶
type Profile struct {
AllowReadPaths []string
AllowWritePaths []string
AllowNetwork bool
AllowExecPaths []string
}
Profile describes the filesystem and network access a sandboxed command should receive. AllowExecPaths is used by Landlock; other implementations may ignore it.
Click to show internal directories.
Click to hide internal directories.