Are there any reasons as to why there is no syscall.PtraceSyscall(pid int)? PTRACE_SYSCALL, PTRACE_SINGLESTEP and PTRACE_CONT are all defined but unfortunately there is no "raw" Ptrace such that we can easily make our PtraceSyscall.
I think you might have skipped over this part:
>> The syscall package doesn't aim to wrap each and every system call out
>> there.
I don't see an inconsistency.
--
Christopher Nielsen
"They who can give up essential liberty for temporary safety, deserve
neither liberty nor safety." --Benjamin Franklin
"The tree of liberty must be refreshed from time to time with the
blood of patriots & tyrants." --Thomas Jefferson