Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NSTypeItoa = map[int]string{ unix.CLONE_NEWCGROUP: "cgroup", unix.CLONE_NEWIPC: "ipc", unix.CLONE_NEWNS: "mnt", unix.CLONE_NEWNET: "net", unix.CLONE_NEWPID: "pid", unix.CLONE_NEWUSER: "user", unix.CLONE_NEWUTS: "uts", unix.CLONE_NEWTIME: "time", }
Functions ¶
func InitEntry ¶
func InitEntry(lang, id, mntPath string, outLimit, mem, time uint32, cases []*pb_sb.Case) ( *pb_sb.CollectOutput, error)
Entry function is the intro of sandbox program.
func LaunchEntry ¶
func LaunchEntry() (err error)
LaunchEntry is the entry of executing compiled program.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.