diff options
| author | Dave Cheney <dave@cheney.net> | 2015-02-25 14:52:17 +1100 |
|---|---|---|
| committer | Dave Cheney <dave@cheney.net> | 2015-02-26 23:30:10 +0000 |
| commit | e7a7352e527ca275a2b66cc3cafde09836345a8f (patch) | |
| tree | c30ac85911e0f50f5516a2fd508fffc9127ceab8 /src/syscall/syscall_linux_arm.go | |
| parent | a3c59779ffdc3d8280f7c32a6aa421ba56bad90d (diff) | |
| download | go-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_arm.go')
| -rw-r--r-- | src/syscall/syscall_linux_arm.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/syscall/syscall_linux_arm.go b/src/syscall/syscall_linux_arm.go index bd8cbd8bb2..ebbaa17eab 100644 --- a/src/syscall/syscall_linux_arm.go +++ b/src/syscall/syscall_linux_arm.go @@ -78,7 +78,6 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) { // 64-bit file system and 32-bit uid calls // (16-bit uid calls are not always supported in newer kernels) -//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 |
