aboutsummaryrefslogtreecommitdiff
path: root/src/syscall/syscall_linux_386.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_386.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_386.go')
-rw-r--r--src/syscall/syscall_linux_386.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/syscall/syscall_linux_386.go b/src/syscall/syscall_linux_386.go
index 8f94ff402a..0dcc6be2e9 100644
--- a/src/syscall/syscall_linux_386.go
+++ b/src/syscall/syscall_linux_386.go
@@ -56,7 +56,6 @@ func Pipe2(p []int, flags int) (err error) {
// 64-bit file system and 32-bit uid calls
// (386 default is 32-bit file system and 16-bit uid).
-//sys Chown(path string, uid int, gid int) (err error) = SYS_CHOWN32
//sysnb Dup2(oldfd int, newfd int) (err error)
//sys Fchown(fd int, uid int, gid int) (err error) = SYS_FCHOWN32
//sys Fstat(fd int, stat *Stat_t) (err error) = SYS_FSTAT64