Files
lincodex/runner/testdata/hostile/go/ptrace_attach.go
T

13 lines
197 B
Go

// Escape attempt: ptrace is killed by the seccomp policy (SIGSYS).
package main
import (
"fmt"
"syscall"
)
func main() {
err := syscall.PtraceAttach(1)
fmt.Println("ptrace returned", err)
}