]> Cypherpunks repositories - gostls13.git/commit
syscall: add PtraceSyscall(pid int, signal int)
authorDave Cheney <dave@cheney.net>
Fri, 31 Aug 2012 23:17:14 +0000 (09:17 +1000)
committerDave Cheney <dave@cheney.net>
Fri, 31 Aug 2012 23:17:14 +0000 (09:17 +1000)
commitdd79b330c9115a62a482c655edb7911c8121744c
treef36d23480be384b6d250d7b7dc2c47c3ef7c8ca3
parentde7b8c50077ca0bfdcd59de488453df983f92ab3
syscall: add PtraceSyscall(pid int, signal int)

Fixes #3525.

PTRACE_SYSCALL behaves like PTRACE_CONT and can deliver
a signal to the process. Ideally PtraceSingleStep should
support the signal argument, but its interface is frozen
by Go1.

R=golang-dev, r, rsc
CC=golang-dev
https://golang.org/cl/6353051
src/pkg/syscall/syscall_linux.go