nix
nix copied to clipboard
ptrace: implement getsyscallinfo
Implement sys::ptrace::getsyscallinfo
via ptrace(PTRACE_GET_SYSCALL_INFO, ...)
, which is available since Linux 5.3.
I really hope this gets into upstream very soon. I will try to do a review on this tomorrow.
Working on upstreaming __ptrace_syscall_info
and other syscallinfo-related definitions into Rust libc musl first.
@mbyzhang any progress on this?
Just submitted a pull request to reorgnize ptrace definitions in Rust libc crate. Waiting for the merge.