go/src
Tobias Klauser eee1cfb0b2 syscall: correct argument order for SyncFileRange syscall on linux/ppc64{,le}
On linux/ppc64{,le} the SYS_SYNC_FILE_RANGE2 syscall is used to
implement SyncFileRange. This syscall has a different argument order
than SYS_SYNC_FILE_RANGE. Apart from that the implementations of both
syscalls are the same, so use a simple wrapper to invoke the syscall
with the correct argument order.

For context see:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=edd5cd4a9424f22b0fa08bef5e299d41befd5622

Updates #27485

Change-Id: Ib94fb98376bf6c879df6f1b68c3bdd11ebcb5a44
Reviewed-on: https://go-review.googlesource.com/133195
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-09-05 10:03:43 +00:00
..
archive archive/tar: remore redundant parens in type expressions 2018-08-21 01:47:17 +00:00
bufio bufio: avoid rescanning buffer multiple times in ReadSlice 2018-08-22 17:06:28 +00:00
builtin
bytes bytes: add example for Buffer.Len 2018-08-30 19:10:14 +00:00
cmd cmd/compile: make math/bits.RotateLeft{32,64} intrinsics on s390x 2018-09-05 08:29:02 +00:00
compress
container container/heap: clarify that Remove returns the removed element 2018-08-20 18:05:11 +00:00
context context: don't talk about tools that don't exist 2018-08-22 22:11:24 +00:00
crypto crypto/x509: revert change of article in SystemCertPool docs 2018-09-01 15:43:42 +00:00
database/sql database/sql: fix Rows.Columns() documentation 2018-09-03 16:28:42 +00:00
debug debug/pe: support windows/arm 2018-08-20 18:12:47 +00:00
encoding encoding/binary: simplify Read and Write 2018-09-04 14:52:30 +00:00
errors
expvar
flag
fmt fmt: add example for Fscanln 2018-08-31 19:05:37 +00:00
go go/types: correct misspelling in function doc 2018-09-04 00:01:08 +00:00
hash hash/crc64: lazily initialize slice8Tables 2018-08-21 04:50:21 +00:00
html html/template: add an example for the Delims method 2018-08-30 19:36:15 +00:00
image
index/suffixarray
internal internal/poll: advance file position in windows sendfile 2018-08-31 09:16:02 +00:00
io ghchinoy: add example for ioutil.WriteFile 2018-08-30 18:38:34 +00:00
log
math math: add Round and RoundToEven examples 2018-08-28 05:22:41 +00:00
mime
net net: use splice(2) on Linux when reading from UnixConn, rework splice tests 2018-09-05 09:26:47 +00:00
os os/exec: document how to do special args quoting on Windows 2018-09-01 04:45:46 +00:00
path path/filepath: fix Join with Windows drive letter 2018-08-26 04:23:19 +00:00
plugin plugin: remove unused func 2018-08-22 16:29:03 +00:00
reflect reflect: use a bigger object when we need a finalizer to run 2018-08-24 22:17:54 +00:00
regexp regexp/syntax: don't do both linear and binary sesarch in MatchRunePos 2018-08-22 17:11:57 +00:00
runtime runtime/trace: fix syntax errors in NewTask doc example 2018-09-03 07:14:25 +00:00
sort
strconv strconv: add example for IsGraphic 2018-09-03 05:45:52 +00:00
strings strings: simplify Join using Builder 2018-09-02 20:08:07 +00:00
sync cmd/vet,sync: check lock values more precisely 2018-07-14 06:48:21 +00:00
syscall syscall: correct argument order for SyncFileRange syscall on linux/ppc64{,le} 2018-09-05 10:03:43 +00:00
testing testing: exit with error if testing.Short is called before flag.Parse 2018-08-20 21:51:11 +00:00
text text/template: fix newline counting in raw strings 2018-08-29 20:36:09 +00:00
time time: add example for LoadLocation 2018-08-30 19:38:38 +00:00
unicode
unsafe
vendor/golang_org/x vendor: update golang.org/x/net/http2/hpack 2018-08-01 20:05:31 +00:00
Make.dist
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
cmp.bash
iostest.bash
make.bash cmd/go: add $GOFLAGS environment variable 2018-08-01 00:35:21 +00:00
make.bat src/make.bat: add missing go.exe extension 2018-08-25 22:42:46 +00:00
make.rc cmd/go: add $GOFLAGS environment variable 2018-08-01 00:35:21 +00:00
naclmake.bash all: use consistent shebang line across all shell scripts 2018-08-22 16:41:11 +00:00
nacltest.bash all: use consistent shebang line across all shell scripts 2018-08-22 16:41:11 +00:00
race.bash runtime/cgo: Add initial NetBSD Thread Sanitizer support 2018-07-10 23:14:31 +00:00
race.bat cmd/dist: fix compilation on windows 2018-08-25 22:39:17 +00:00
run.bash cmd/go: add $GOFLAGS environment variable 2018-08-01 00:35:21 +00:00
run.bat cmd/go: add $GOFLAGS environment variable 2018-08-01 00:35:21 +00:00
run.rc cmd/go: add $GOFLAGS environment variable 2018-08-01 00:35:21 +00:00