13 lines
197 B
Go
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)
|
|
}
|