Brad Fitzpatrick
8d1157a435
Revert "x/sys/unix: add *linkat functions on linux"
...
This reverts commit I44d8dd8020bc61b9c75e0566c34ca9cc56b23f9d.
Reason for revert: Broke the build. (Fixes #17352 )
Original change's description:
> x/sys/unix: add *linkat functions on linux
>
> * expose linkat, readlinkat, symlinkat
>
> Fixes golang/go#14459
>
> Change-Id: I44d8dd8020bc61b9c75e0566c34ca9cc56b23f9d
> Reviewed-on: https://go-review.googlesource.com/20129
> Reviewed-by: Russ Cox <rsc@golang.org >
>
Change-Id: Ic114a5e60b0caef82c21123156963b2a8232d9d4
Reviewed-on: https://go-review.googlesource.com/30491
TryBot-Result: Gobot Gobot <gobot@golang.org >
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org >
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org >
2016-10-06 02:51:42 +00:00
Brad Fitzpatrick
30de6d19a3
unix: fix TestGetfsstat the same way as CL 28550 in pkg syscall
...
Same as https://golang.org/cl/28550 but for x/sys/unix.
Updates golang/go#16937
Change-Id: Ie93df8ff1c40a7f2d98f1fb3ecf6110330bf1cbc
Reviewed-on: https://go-review.googlesource.com/28585
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com >
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org >
TryBot-Result: Gobot Gobot <gobot@golang.org >
2016-09-07 14:59:46 +00:00
Brad Fitzpatrick
806cb00533
unix: remove dragonfly/386 support
...
It was removed from Go (and Dragonfly) already.
Fixes golang/go#10840
Change-Id: If7a86123f2a6120f99946dbd57a5e62a72f30af5
Reviewed-on: https://go-review.googlesource.com/23050
Reviewed-by: Matthew Dempsky <mdempsky@google.com >
2016-05-11 18:08:12 +00:00
Brad Fitzpatrick
8fdfb00a6a
unix: skip failing test on freebsd-386
...
Updates golang/go#15186
Change-Id: I02403cbc9b3f1c786ee8093e1480edff891ecf13
Reviewed-on: https://go-review.googlesource.com/21676
Reviewed-by: Andrew Gerrand <adg@golang.org >
2016-04-08 01:25:32 +00:00
Brad Fitzpatrick
a60af9cbbc
windows: make all files in the package require windows
...
env_unset.go didn't have a the windows build tag (or filename), so it
was compiling for all operating systems and as a result had weird docs
at https://godoc.org/golang.org/x/sys/windows showing only Unsetenv.
Updates golang/gddo#188
Change-Id: I58f2c27c3d267660c97fce5a1b28da24988c62c8
Reviewed-on: https://go-review.googlesource.com/21460
Reviewed-by: Alex Brainman <alex.brainman@gmail.com >
2016-04-02 02:39:15 +00:00
Brad Fitzpatrick
3dff6e19a5
windows: add LoadLibraryEx, add LazyDLL.System
...
Updates golang/go#14959
Change-Id: Ib91c359c3df919df0b30e584d38e56f79f3e3dc9
Reviewed-on: https://go-review.googlesource.com/21388
Reviewed-by: Russ Cox <rsc@golang.org >
Reviewed-by: Alex Brainman <alex.brainman@gmail.com >
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org >
2016-04-02 00:33:28 +00:00
Brad Fitzpatrick
afce3de575
unix: make TimevalToNsec available everywhere
...
It wasn't in linux/arm.
Tested with:
$ for x in $(go tool dist list ) ; do \
export GOOS=$(echo $x | cut -d/ -f1); \
export GOARCH=$(echo $x | cut -d/ -f2); \
echo "$GOOS; $GOARCH"; go install .; done
... which all pass, except openbsd/arm which is still broken exactly
how it was broken previously.
Fixes golang/go#14643
Change-Id: Ie7ae861b581b539178de26f15ba3f4bdd0e9b785
Reviewed-on: https://go-review.googlesource.com/21013
Reviewed-by: Ian Lance Taylor <iant@golang.org >
2016-03-22 23:22:43 +00:00
Brad Fitzpatrick
46ba3e7a19
unix: re-run mksyscall on freebsd and linux after previous merge
...
The previous cherry-pick merge of fadvice from Gerrit added the
fadvise system calls, but from before the errno CL, which went in
concurrently.
Change-Id: I6f01e020bfe2930a8ea2fdbe4998ab9e2669ce14
Reviewed-on: https://go-review.googlesource.com/8199
Reviewed-by: Rob Pike <r@golang.org >
2015-03-27 17:05:09 +00:00
Brad Fitzpatrick
71c96e4240
unix: don't allocate putting common errno values in error interfaces
...
From main repo: https://go-review.googlesource.com/#/c/6701/3
Fixes golang/go#10266
Change-Id: I141fefe7f317edcea19b588b1569fa8772237f56
Reviewed-on: https://go-review.googlesource.com/8190
Reviewed-by: Rob Pike <r@golang.org >
2015-03-27 16:15:35 +00:00
Brad Fitzpatrick
c65f27ffe6
go.sys: add Unsetenv
...
LGTM=r
R=r
CC=golang-codereviews
https://golang.org/cl/153810043
2014-10-01 12:10:37 -07:00