Files
go-proot/proot_linux_mips64le.go
Matheus Sampaio Queiroga f941c61928 Update structs
Signed-off-by: Matheus Sampaio Queiroga <srherobrine20@gmail.com>

Update structs

Signed-off-by: Matheus Sampaio Queiroga <srherobrine20@gmail.com>
2025-03-27 18:31:12 -03:00

14 lines
267 B
Go

//go:build linux && mips64le
package proot
import "golang.org/x/sys/unix"
func (proot *Proot) getTrace(pid int) (*unix.PtraceRegs, error) {
var regs unix.PtraceRegs
if err := unix.PtraceGetRegs(pid, &regs); err != nil {
return nil, err
}
return &regs, nil
}