]> Cypherpunks repositories - gostls13.git/commit
syscall: Reimplement linux syscalls in terms of their *at replacements.
authorDave Cheney <dave@cheney.net>
Wed, 25 Feb 2015 03:52:17 +0000 (14:52 +1100)
committerDave Cheney <dave@cheney.net>
Thu, 26 Feb 2015 23:30:10 +0000 (23:30 +0000)
commite7a7352e527ca275a2b66cc3cafde09836345a8f
treec30ac85911e0f50f5516a2fd508fffc9127ceab8
parenta3c59779ffdc3d8280f7c32a6aa421ba56bad90d
syscall: Reimplement linux syscalls in terms of their *at replacements.

Updates #9974

This proposal tackles the body of syscalls which have been replaced,
and are now deprecated in linux. This is needed for the arm64 port as
arm64 is the first linux architecture to remove the "legacy" forms of
these syscalls.

The *AT variants were added in kernel 2.6.16, so well before our 2.6.23
cutoff (hey, it'll even work on RHEL5).

Discussion: https://groups.google.com/forum/#!topic/golang-dev/zpeFtN2z5Fc

Change-Id: I473a7c9a295d6f776fcdc75dcce06cbe9e3564ee
Reviewed-on: https://go-review.googlesource.com/5837
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/syscall/syscall_linux.go
src/syscall/syscall_linux_386.go
src/syscall/syscall_linux_amd64.go
src/syscall/syscall_linux_arm.go
src/syscall/syscall_linux_ppc64x.go
src/syscall/zsyscall_linux_386.go
src/syscall/zsyscall_linux_amd64.go
src/syscall/zsyscall_linux_arm.go
src/syscall/zsyscall_linux_ppc64.go
src/syscall/zsyscall_linux_ppc64le.go