- 22 Nov, 2016 1 commit
-
-
Elliot Morrison-Reed authored
Fixes golang/go#16188 Change-Id: I396ccbf6ce14147bc03ecdf180c2657c22b477b4 Reviewed-on: https://go-review.googlesource.com/33392Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
- 10 Nov, 2016 1 commit
-
-
Alexander Menzhinsky authored
Fixes golang/go#17872 Change-Id: I4bfe7b47c36c3d2f0c08a2adeba595231e507b81 Reviewed-on: https://go-review.googlesource.com/33050Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 08 Nov, 2016 1 commit
-
-
Ian Lance Taylor authored
Update golang/go#17606. Change-Id: I922525561d81a8b7d805729028825953424f6ecc Reviewed-on: https://go-review.googlesource.com/32912 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rob Pike <r@golang.org>
-
- 23 Oct, 2016 1 commit
-
-
Alexander Neumann authored
This is a followup commit for 9eef40ad and adds the constants needed for fadvise() on Linux for ARM that were missing. Fixes golang/go#16816 Change-Id: Ib7409f48bc07511d7014cb5791a6cc117a9a471e Reviewed-on: https://go-review.googlesource.com/31641Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
- 16 Oct, 2016 1 commit
-
-
James Clarke authored
This fixes I8dc87401bb1025c2404e7304ecc4561edd67a452, which failed to include the changes for s390x and sparc64, breaking the build for them. Change-Id: I4899350580c36e4efbec9801345b5e32d624c849 Reviewed-on: https://go-review.googlesource.com/31185Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
- 12 Oct, 2016 1 commit
-
-
Hiroshi Ioka authored
* expose readlinkat, symlinkat Fixes golang/go#14459 Change-Id: I8dc87401bb1025c2404e7304ecc4561edd67a452 Reviewed-on: https://go-review.googlesource.com/30890 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
- 11 Oct, 2016 1 commit
-
-
James Clarke authored
Change-Id: Iff763334a2efbd44af68048d1de700af7d271647 Reviewed-on: https://go-review.googlesource.com/30755 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
- 06 Oct, 2016 3 commits
-
-
Brad Fitzpatrick authored
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>
-
Hiroshi Ioka authored
* expose linkat, readlinkat, symlinkat Fixes golang/go#14459 Change-Id: I44d8dd8020bc61b9c75e0566c34ca9cc56b23f9d Reviewed-on: https://go-review.googlesource.com/20129Reviewed-by: Russ Cox <rsc@golang.org>
-
Hiroshi Ioka authored
Change-Id: Ib80ad194eda478c1e6653a3fe34a20ecf785c6ca Reviewed-on: https://go-review.googlesource.com/20005 Run-TryBot: Russ Cox <rsc@golang.org> Reviewed-by: Russ Cox <rsc@golang.org>
-
- 16 Sep, 2016 1 commit
-
-
Shawn Walker-Salas authored
Fixes golang/go#17107 Change-Id: Ibc18c6595ab6482a2feacaf51b93516fbc7cb2d6 Reviewed-on: https://go-review.googlesource.com/29166 Run-TryBot: Shawn Walker-Salas <shawn.walker@oracle.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
- 07 Sep, 2016 1 commit
-
-
Brad Fitzpatrick authored
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/28585Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
- 17 Jul, 2016 1 commit
-
-
Alex Brainman authored
See issue golang/go#16368 for details. Updates golang/go#16368 Change-Id: Ic3294385a350aee41887f59cbcf5b0af7742ff3b Reviewed-on: https://go-review.googlesource.com/24952Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 12 Jul, 2016 1 commit
-
-
Alex Brainman authored
CL 24551 introduced //go:uintptrescapes comment to make syscall.Proc.Call and syscall.LazyProc.Call parameters escape. Use new comment in this package too. Updates golang/go#16035. Change-Id: I57ec3b4778195ca4a1ce9a8eec331f0f69285926 Reviewed-on: https://go-review.googlesource.com/24870Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
- 04 Jul, 2016 1 commit
-
-
Mikio Hara authored
Updates golang/go#13372. Change-Id: I623de97eb19880356148cbcb7d17759df82684aa Reviewed-on: https://go-review.googlesource.com/24751 Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
- 15 Jun, 2016 1 commit
-
-
kortschak authored
Fixes golang/go#16065. Change-Id: I97d06b7038e7c7507e765736899cfa243f45805c Reviewed-on: https://go-review.googlesource.com/24121Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
- 14 Jun, 2016 1 commit
-
-
kortschak authored
Use a shim for Poll on arm64. Fixes golang/go#16052. Change-Id: I929e7a2293561bddb9355bf65f98bc68b91905b2 Reviewed-on: https://go-review.googlesource.com/24062Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
- 11 Jun, 2016 1 commit
-
-
kortschak authored
Change-Id: I273bd852f85d204694872a1615be51dc027b97ee Reviewed-on: https://go-review.googlesource.com/23661 Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
- 10 Jun, 2016 1 commit
-
-
Jess Frazelle authored
Change-Id: I827a97ad2b43f9b33281d0da36fe4cfdf24b928f Reviewed-on: https://go-review.googlesource.com/23965Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
- 01 Jun, 2016 1 commit
-
-
kortschak authored
Change-Id: Ic7bd0c26cd4ac63861c2ed3541560919d133cd14 Reviewed-on: https://go-review.googlesource.com/23621Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
- 16 May, 2016 1 commit
-
-
Michael Munday authored
Needed for old versions of the compiler. Fixes golang/go#15697. Change-Id: I913a4baef537775f037b736252b093a87e3b1015 Reviewed-on: https://go-review.googlesource.com/23130Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 15 May, 2016 1 commit
-
-
Mikio Hara authored
Updates golang/go#13372. Change-Id: Idfd5001f4ad7bc80a4283df1c310f97612eba85c Reviewed-on: https://go-review.googlesource.com/23124 Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 13 May, 2016 1 commit
-
-
Michael Munday authored
This commit adds linux/s390x support to the unix package. It is based on the changes made to the syscall package in https://golang.org/cl/20961/. It also adds mkpost.go which is used to cleanup the API generated by cgo -godefs. The biggest departure that is made with the syscall package is the use of the -fsigned-char flag to force signed chars. We couldn't do this in the syscall package because of the need to maintain compatibility with the gccgo implementation of the syscall package (gccgo has supported s390x for a longer time than the Go toolchain). The unix package does not have this constraint. Using the -fsigned-char flag makes the API look more like the one generated on amd64 and arm64 and also more consistent with itself (the syscall package represents chars using both int8 and uint8 types, the sys package will only ever use int8). Unfortunately it also means that applications transitioning from the syscall package to the unix package will see a different API on s390x which might be confusing. I think the tradeoff is worth it though. Change-Id: I40b90c18ed787e74ba7a2ebd004bd6bd1ba6279a Reviewed-on: https://go-review.googlesource.com/23045Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
- 12 May, 2016 1 commit
-
-
Alex Brainman authored
Updates golang/go#15167 Change-Id: I58bd7e4e6ba88a2ffba11506e5ac0495de303b5b Reviewed-on: https://go-review.googlesource.com/23023Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Alex Brainman <alex.brainman@gmail.com>
-
- 11 May, 2016 1 commit
-
-
Brad Fitzpatrick authored
It was removed from Go (and Dragonfly) already. Fixes golang/go#10840 Change-Id: If7a86123f2a6120f99946dbd57a5e62a72f30af5 Reviewed-on: https://go-review.googlesource.com/23050Reviewed-by: Matthew Dempsky <mdempsky@google.com>
-
- 29 Apr, 2016 1 commit
-
-
Christy Perez authored
The epoll_event struct was not correct for ppc64* arches. This has been fixed in the syscall package by CL 22207. This patch makes the same change, in addition to adding some missing syscalls needed by fsnotify. See the following for more info: https://github.com/fsnotify/fsnotify/issues/130 https://github.com/golang/go/issues/15393 Fixes #15393 Change-Id: Iedad28274ec1d3e48787c34991a725690f3b204d Signed-off-by: Christy Perez <christy@linux.vnet.ibm.com> Reviewed-on: https://go-review.googlesource.com/22605Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
- 27 Apr, 2016 1 commit
-
-
Damien Neil authored
Change-Id: I533233a08472b686d03573bcbae664c76919b18e Reviewed-on: https://go-review.googlesource.com/22527 Run-TryBot: Damien Neil <dneil@google.com> Reviewed-by: Minux Ma <minux@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
- 15 Apr, 2016 1 commit
-
-
Riku Voipio authored
Pause is a legacy syscall not available on linux-arm64. Use ppoll with all args as 0 to emulate - this is the way musl libc does Pause when the pause syscall isn't available. With the changes in syscall_linux* and regenerating zsyscall_linux*, this calling Pause on linux-arm64 works and returns EINTR as expected. Change-Id: I88236290313f18c742d826e759e86ff260a8b383 Reviewed-on: https://go-review.googlesource.com/22014Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
- 13 Apr, 2016 1 commit
-
-
Riku Voipio authored
epoll_wait syscall doesn't exist on arm64. Implement it with by callign epoll_pwait(). According to man epoll_pwait, calling epoll_pwait with sigmask of NULL is identical to epoll_wait. Testing exposed that EpollEvent needs padding on arm64 like on arm. This changeset is to fix: https://github.com/fsnotify/fsnotify/issues/130 Testcase: go test with fsnotify ported from syscall to x/sys: https://github.com/suihkulokki/fsnotify/tree/go-sys Change-Id: I76136bf4c82c2ee597549133848f490da46dd488 Reviewed-on: https://go-review.googlesource.com/21971 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
- 09 Apr, 2016 1 commit
-
-
Alexander Neumann authored
These constants are used for fadvise() on Linux and were missing from the ztypes_linux_*.go files. Including the bluetooth headers is necessary so that cgo can resolve struct sockaddr_hci. Fixes golang/go#15114 Change-Id: I1538b5a7b9b24f910c0520d446b2fa5bd8a09013 Reviewed-on: https://go-review.googlesource.com/21753Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
- 08 Apr, 2016 3 commits
-
-
Tzu-Jung Lee authored
Change-Id: Ic2eb52d4e9f7b80992707b125c11be54d7973314 Reviewed-on: https://go-review.googlesource.com/21674Reviewed-by: Minux Ma <minux@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
-
Brad Fitzpatrick authored
Updates golang/go#15186 Change-Id: I02403cbc9b3f1c786ee8093e1480edff891ecf13 Reviewed-on: https://go-review.googlesource.com/21676Reviewed-by: Andrew Gerrand <adg@golang.org>
-
Tzu-Jung Lee authored
Tried to generate them with mkerrors.sh by including bluetooth/bluetooth.h, but it introduces way much more than necessary stuff. Change-Id: I380f66892f55dbe4cbfc76a0e3f9817f81d269b9 Reviewed-on: https://go-review.googlesource.com/21675 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 06 Apr, 2016 1 commit
-
-
Alex Brainman authored
If we want new secure DLL approach to be adopted, we should make conversion as simple as possible to explain and implement. I think that replacing syscall.NewLazyDLL(...) -> windows.NewLazySystemDLL(...) is easier than syscall.NewLazyDLL(...) -> &windows.LazyDLL{Name: ..., System: true} So I propose we introduce convenience function NewLazySystemDLL. $GOROOT/src/mksyscall_windows.go changes in the following CL. Change-Id: If3432aff301c347cb355e4e837834696191b2219 Reviewed-on: https://go-review.googlesource.com/21592Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 05 Apr, 2016 1 commit
-
-
Alex Brainman authored
Change-Id: I1a2b96f71c9f39a46827e9414e1058894fd2a5e1 Reviewed-on: https://go-review.googlesource.com/21523Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 02 Apr, 2016 2 commits
-
-
Brad Fitzpatrick authored
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/21460Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
-
Brad Fitzpatrick authored
Updates golang/go#14959 Change-Id: Ib91c359c3df919df0b30e584d38e56f79f3e3dc9 Reviewed-on: https://go-review.googlesource.com/21388Reviewed-by: Russ Cox <rsc@golang.org> Reviewed-by: Alex Brainman <alex.brainman@gmail.com> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
-
- 25 Mar, 2016 1 commit
-
-
Michael Matloob authored
This allows linux binaries to have bazel-style dependencies on x/sys/windows. Change-Id: I248fe62e045705f409e5d96842ed52d0764ae68f Reviewed-on: https://go-review.googlesource.com/21081Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 22 Mar, 2016 2 commits
-
-
Brad Fitzpatrick authored
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/21013Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
Caio Marcelo de Oliveira Filho authored
Since Linux 3.11, O_TMPFILE flag can be used in open syscall to create an unnamed file in a directory. The file occupies space in the filesystem, and can be given a name using linkat syscall. If the file is closed without being given a name, its contents are deleted. See the manpage open(2) in Linux for details. Exports O_TMPFILE for Linux in 386 and amd64 (other architectures already had it). Exports Linkat syscall and AT_SYMLINK_FOLLOW (used for giving a name to the file) for all Linux in all architectures. Fixes golang/go#7830. Change-Id: Ib82e44f405b227e227b9cbf317c2657b32e046f5 Reviewed-on: https://go-review.googlesource.com/21003Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-