- 31 Mar, 2015 1 commit
-
-
Shenghou Ma authored
Because ARM ABI requires 64-bit argument to be passed in even register pairs, to avoid wasting one register between fd and advise in the usual fadvise64 syscall signature, linux/arm has its own variation that reorders the argument so that the arguments fit in six registers. While we're at it, also fix build for linux/386. Fixes golang/go#10294. Change-Id: I322e2226619c5aa9c096a1d5cb7ae1e94fd4a5a1 Signed-off-by: Shenghou Ma <minux@golang.org> Reviewed-on: https://go-review.googlesource.com/8282Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 27 Mar, 2015 3 commits
-
-
Brad Fitzpatrick authored
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/8199Reviewed-by: Rob Pike <r@golang.org>
-
Eric authored
Support includes 386, amd64, and arm for both Linux and FreeBSD. FreeBSD changes courtesy Dave Chapeskie <dchapeskie@gmail.com> Change-Id: I89dc18533d7178e74ae6c442a2e6272c9bd9692c Reviewed-on: https://go-review.googlesource.com/8055Reviewed-by: Rob Pike <r@golang.org>
-
Brad Fitzpatrick authored
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/8190Reviewed-by: Rob Pike <r@golang.org>
-
- 26 Mar, 2015 1 commit
-
-
Ian Lance Taylor authored
This avoids hanging when a Go program uses a FUSE filesystem and the dup system call has to close a file descriptor. When dup uses RawSyscall then the goroutine calling dup will occupy a scheduler slot (a p structure) during the call, and may block waiting for some other goroutine to respond to the close call on the FUSE filesystem. Changing to Syscall avoids the problem. This makes Dup a tiny bit slower but is quite unlikely to make a difference for any real programs. Update golang/go#10202. Change-Id: I590c5c9a04e0a1281a85dc553c7592fa83949ac7 Reviewed-on: https://go-review.googlesource.com/8056Reviewed-by: Rob Pike <r@golang.org>
-
- 24 Mar, 2015 1 commit
-
-
Shenghou Ma authored
Some Linux architectures (e.g. arm64) don't have the getpgrp syscall, use getpgid(0) to emulate it. Update golang/go#10150. This brings CL 8022 that has been applied to the syscall package to x/sys. Change-Id: I24c6d7e8b5b2f075ca4e68b142b2e03ab8a43342 Signed-off-by: Shenghou Ma <minux@golang.org> Reviewed-on: https://go-review.googlesource.com/8023Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 23 Mar, 2015 1 commit
-
-
Dirk Gadsden authored
For golang/go#9923 Change-Id: I7562d32f1bfcc35fe86d2e5fff26845737fd9ecb Reviewed-on: https://go-review.googlesource.com/7917Reviewed-by: Rob Pike <r@golang.org>
-
- 20 Mar, 2015 2 commits
-
-
Tim Hockin authored
POSIX defines [FRWX]_OK flags as the second arg to access() (Access() here). Only F_OK was defined heretofore. This adds the missing [RWX]_OK constants. Fixes golang/go#6262 Change-Id: Ie96273db19aa21af92c46affea9509afe0efe63f Reviewed-on: https://go-review.googlesource.com/7852Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Mikio Hara authored
Those libraries, routing message parsers, netlink message parsers, berkeley packat filter are linux packet filter, are subsets and just for the net package of standard library. It would be better keeping, extending them at the net sub repository instead of here. Updates golang/go#10150. Change-Id: I1ca437bea2e2be7f7f8f6496d4db291629f49136 Reviewed-on: https://go-review.googlesource.com/7581Reviewed-by: Russ Cox <rsc@golang.org> Reviewed-by: Rob Pike <r@golang.org>
-
- 18 Mar, 2015 1 commit
-
-
Josh Bleecher Snyder authored
See golang.org/cl/4131 for context. Change-Id: If2ba20a1adf9b40435628753ff7ca77577838813 Reviewed-on: https://go-review.googlesource.com/7760Reviewed-by: David Crawshaw <crawshaw@golang.org>
-
- 15 Mar, 2015 1 commit
-
-
Alex Brainman authored
Also remove some empty source files while we are at it. Change-Id: Ia3a35b274a0428196aee63ee2daacc533285d0ea Reviewed-on: https://go-review.googlesource.com/2530Reviewed-by: Rob Pike <r@golang.org>
-
- 14 Mar, 2015 1 commit
-
-
Mikio Hara authored
Updates golang/go#10068. Change-Id: Ide71d7dfd2ad95387c1914b89bc743cbcda7d1de Reviewed-on: https://go-review.googlesource.com/7582Reviewed-by: Rob Pike <r@golang.org>
-
- 04 Mar, 2015 1 commit
-
-
Carlos Castillo authored
Provides access to the GetComputerNameEx syscall. This mirrors the change golang.org/cl/5852 in the standard library, but provides public access to all name types provided by windows. Change-Id: I5fbad5abe721de70e9d2b5dda2fafb7a9c419220 Reviewed-on: https://go-review.googlesource.com/6320Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
-
- 02 Mar, 2015 1 commit
-
-
William Orr authored
Fixes golang/go#9705 Change-Id: Ie236633e0e6912de1fbf1274fa5cb3ada6ce3055 Reviewed-on: https://go-review.googlesource.com/6370Reviewed-by: Minux Ma <minux@golang.org>
-
- 20 Feb, 2015 1 commit
-
-
Andrew Gerrand authored
Change-Id: I54489b2beda898103e622316d3095b54393039d6 Reviewed-on: https://go-review.googlesource.com/5414Reviewed-by: Minux Ma <minux@golang.org>
-
- 06 Jan, 2015 1 commit
-
-
William Orr authored
Change-Id: I01c5dd902bbc349b860600ec2b3d556e2dc406c9 Reviewed-on: https://go-review.googlesource.com/1921Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
- 23 Dec, 2014 1 commit
-
-
Alex Brainman authored
Fixes #9281 Change-Id: Ia4bb2e9af9f660f42202bb1d07920578cd0f9c3e Reviewed-on: https://go-review.googlesource.com/2076Reviewed-by: Minux Ma <minux@golang.org>
-
- 22 Dec, 2014 1 commit
-
-
William Orr authored
Change-Id: Ibc189f7e27ccdde94fd7da25a155636ee6bd6b25 Reviewed-on: https://go-review.googlesource.com/1920Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 09 Dec, 2014 1 commit
-
-
David Symonds authored
Change-Id: I0ebbb4f2da41bea7871f893332f2e4847b1bfefa Reviewed-on: https://go-review.googlesource.com/1241Reviewed-by: Andrew Gerrand <adg@golang.org>
-
- 07 Dec, 2014 2 commits
-
-
David Symonds authored
-
David Symonds authored
-
- 10 Nov, 2014 1 commit
-
-
Dave Cheney authored
Fixes build breakage due to missing syscall import. LGTM=adg, r R=r, adg CC=golang-codereviews https://golang.org/cl/162650044
-
- 09 Nov, 2014 1 commit
-
-
Andrew Gerrand authored
LGTM=bradfitz, rsc R=rsc, bradfitz CC=golang-codereviews https://golang.org/cl/171050043
-
- 06 Nov, 2014 1 commit
-
-
Alex Brainman authored
It was part of recently submitted CL 149510043. LGTM=r R=golang-codereviews, r CC=golang-codereviews https://golang.org/cl/155320044
-
- 08 Oct, 2014 1 commit
-
-
William Orr authored
Add wrappers that provide Linux-y behavior around the FreeBSD extattr(2) functions. This allows certain packages, like the fuse package to run under FreeBSD. LGTM=iant R=golang-codereviews, iant CC=golang-codereviews https://golang.org/cl/147850043
-
- 06 Oct, 2014 1 commit
-
-
Ian Lance Taylor authored
Import syscall so that Kill can refer to syscall.Signal. Drop termios constants from types_linux.go--all other systems get them from mkerrors.sh. Fixes golang/go#8865. LGTM=r R=r CC=golang-codereviews https://golang.org/cl/152980044
-
- 05 Oct, 2014 1 commit
-
-
Alex Brainman authored
apply latest changes made to syscall/mksyscall_windows.go LGTM=r R=golang-codereviews, r CC=golang-codereviews https://golang.org/cl/152200043
-
- 01 Oct, 2014 1 commit
-
-
Brad Fitzpatrick authored
LGTM=r R=r CC=golang-codereviews https://golang.org/cl/153810043
-
- 16 Sep, 2014 3 commits
-
-
Rob Pike authored
LGTM=iant R=golang-codereviews, iant CC=golang-codereviews https://golang.org/cl/144980043
-
Rob Pike authored
Dropped (or not moved) for some unknown reason. Restore them. LGTM=rsc R=rsc CC=golang-codereviews https://golang.org/cl/140680044
-
Rob Pike authored
That CL worked around a bug present in the OS X Yosemite Public Beta versions 1 and 2. Beta 3 (released today) has fixed the bug. LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/144010043
-
- 09 Sep, 2014 2 commits
-
-
Rob Pike authored
LGTM=0intro R=rsc, 0intro CC=golang-codereviews https://golang.org/cl/141870043
-
Rob Pike authored
LGTM=rsc, aram, 0intro R=rsc, aram, 0intro CC=golang-codereviews https://golang.org/cl/138280043
-
- 25 Aug, 2014 1 commit
-
-
David du Colombier authored
LGTM=bradfitz, r R=r, bradfitz CC=golang-codereviews https://golang.org/cl/126090044
-
- 22 Aug, 2014 1 commit
-
-
Rob Pike authored
These are being deleted from go.sys because in general they can only be implemented in close coordination with the runtime. LGTM=0intro R=golang-codereviews, 0intro CC=golang-codereviews https://golang.org/cl/132810043
-
- 21 Aug, 2014 2 commits
-
-
Rob Pike authored
These are being deleted from go.sys because in general they can only be implemented in close coordination with the runtime. LGTM=dave R=rsc, dave, josharian CC=golang-codereviews https://golang.org/cl/129500043
-
Rob Pike authored
These are being deleted from go.sys because in general they can only be implemented in close coordination with the runtime. LGTM=alex.brainman R=alex.brainman CC=golang-codereviews https://golang.org/cl/132010043
-
- 20 Aug, 2014 1 commit
-
-
Alex Brainman authored
71db3dc120af os: make SameFile handle paths like c:a.txt properly ff34a3e84dc0 net: fix CNAME resolving on Windows LGTM=r R=golang-codereviews, r CC=golang-codereviews https://golang.org/cl/130250043
-
- 19 Aug, 2014 1 commit
-
-
Alex Brainman authored
Also zsyscall_windows_386.go and zsyscall_windows_amd64.go have same contents, so merge them into single file. LGTM=r R=r CC=golang-codereviews https://golang.org/cl/124430043
-
- 15 Aug, 2014 1 commit
-
-
Rob Pike authored
If we use a local type, it won't compare properly with errors from the rest of the standard library. Errors are the one type from syscall that propagates through the system, so it's important to have only one type for them. Ditto for syscall.Signal. LGTM=dave R=rsc, dave CC=golang-codereviews https://golang.org/cl/123490043
-