mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
syscall: Use vsyscall for syscall.Gettimeofday and .Time on linux amd64.
Regenerate zsyscall_linux_*.go files with recent changes to mksyscall.sh. Add socketpair to syscall_linux_amd64.go; for some reason it was in the generated file but not in the source file. R=rsc, r2 CC=golang-dev https://golang.org/cl/2190044
This commit is contained in:
parent
4659f6de38
commit
7d03d0ec6b
8 changed files with 172 additions and 152 deletions
|
|
@ -593,7 +593,6 @@ func PtraceDetach(pid int) (errno int) { return ptrace(PTRACE_DETACH, pid, 0, 0)
|
|||
//sys Getrlimit(resource int, rlim *Rlimit) (errno int)
|
||||
//sys Getrusage(who int, rusage *Rusage) (errno int)
|
||||
//sys Gettid() (tid int)
|
||||
//sys Gettimeofday(tv *Timeval) (errno int)
|
||||
//sys Kill(pid int, sig int) (errno int)
|
||||
//sys Klogctl(typ int, buf []byte) (n int, errno int) = SYS_SYSLOG
|
||||
//sys Link(oldpath string, newpath string) (errno int)
|
||||
|
|
@ -624,7 +623,6 @@ func PtraceDetach(pid int) (errno int) { return ptrace(PTRACE_DETACH, pid, 0, 0)
|
|||
//sys Sysinfo(info *Sysinfo_t) (errno int)
|
||||
//sys Tee(rfd int, wfd int, len int, flags int) (n int64, errno int)
|
||||
//sys Tgkill(tgid int, tid int, sig int) (errno int)
|
||||
//sys Time(t *Time_t) (tt Time_t, errno int)
|
||||
//sys Times(tms *Tms) (ticks uintptr, errno int)
|
||||
//sys Truncate(path string, length int64) (errno int)
|
||||
//sys Umask(mask int) (oldmask int)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue