Documentation ¶
Overview ¶
Package hostsyscall provides functions like unix.RawSyscall, but without the overhead of multiple stack frame allocations.
This is mostly relevant for platform/kvm which needs to execute some function call chains in a go:nosplit environment. Debug builds specifically make using unix.RawSyscall variants infeasible.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RawSyscall ¶
RawSyscall is a copy of runtime.Syscall6, but only uses the first three arguments.
func RawSyscall6 ¶
RawSyscall6 is a copy of runtime.Syscall6.
func RawSyscallErrno ¶
RawSyscallErrno is like RawSyscall, but only returns errno, and 0 if successful.
func RawSyscallErrno6 ¶
RawSyscallErrno6 is like RawSyscall6, but only returns errno, and 0 if successful.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.