Add PtraceSeize

Signed-off-by: Paulo Gomes <paulo.gomes.uk@gmail.com>
This commit is contained in:
Paulo Gomes
2019-10-06 20:23:41 +01:00
parent aed5e4c7ec
commit 8a694c4f23

View File

@@ -1495,6 +1495,8 @@ func PtraceSingleStep(pid int) (err error) { return ptrace(PTRACE_SINGLESTEP, pi
func PtraceAttach(pid int) (err error) { return ptrace(PTRACE_ATTACH, pid, 0, 0) }
func PtraceSeize(pid int) (err error) { return ptrace(PTRACE_SEIZE, pid, 0, 0) }
func PtraceDetach(pid int) (err error) { return ptrace(PTRACE_DETACH, pid, 0, 0) }
//sys reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error)