aboutsummaryrefslogtreecommitdiff
path: root/src/syscall/syscall_linux_amd64.go
diff options
context:
space:
mode:
authorDave Cheney <dave@cheney.net>2015-02-25 14:52:17 +1100
committerDave Cheney <dave@cheney.net>2015-02-26 23:30:10 +0000
commite7a7352e527ca275a2b66cc3cafde09836345a8f (patch)
treec30ac85911e0f50f5516a2fd508fffc9127ceab8 /src/syscall/syscall_linux_amd64.go
parenta3c59779ffdc3d8280f7c32a6aa421ba56bad90d (diff)
downloadgo-e7a7352e527ca275a2b66cc3cafde09836345a8f.tar.xz
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>
Diffstat (limited to 'src/syscall/syscall_linux_amd64.go')
-rw-r--r--src/syscall/syscall_linux_amd64.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/syscall/syscall_linux_amd64.go b/src/syscall/syscall_linux_amd64.go
index ecc41ed21e..8d0777c713 100644
--- a/src/syscall/syscall_linux_amd64.go
+++ b/src/syscall/syscall_linux_amd64.go
@@ -4,7 +4,6 @@
package syscall
-//sys Chown(path string, uid int, gid int) (err error)
//sysnb Dup2(oldfd int, newfd int) (err error)
//sys Fchown(fd int, uid int, gid int) (err error)
//sys Fstat(fd int, stat *Stat_t) (err error)