summaryrefslogtreecommitdiff
path: root/src/pkg/syscall/syscall_linux.go
AgeCommit message (Collapse)AuthorFilesLines
2011-04-28Imported Upstream version 2011.04.27upstream/2011.04.27Ondřej Surý1-6/+7
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý1-30/+93
2011-02-18Imported Upstream version 2011.02.15upstream/2011.02.15Ondřej Surý1-0/+4
2011-02-14Imported Upstream version 2011-02-01.1upstream/2011-02-01.1Ondřej Surý1-3/+10
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-30/+127
2010-06-30syscall: add socketpairIvan Krasin1-0/+5
R=rsc CC=golang-dev http://codereview.appspot.com/1319042 Committer: Russ Cox <rsc@golang.org>
2010-05-27changes &x -> x[0:] for array to slice conversionRuss Cox1-3/+3
R=gri CC=golang-dev http://codereview.appspot.com/1326042
2010-05-20syscall: linux, implement BindToDeviceChristopher Wedgwood1-0/+5
R=rsc CC=adg, golang-dev, r http://codereview.appspot.com/1253043 Committer: Russ Cox <rsc@golang.org>
2010-05-19syscall: add Utimes on Darwin/FreeBSD, add Futimes everywhereRuss Cox1-2/+8
Needed for CL 1103041 and beyond. R=adg, bradfitzpatrick CC=bradfitz, golang-dev http://codereview.appspot.com/1172042
2010-05-03syscall: fix arm build (fix bugs in generator, to add O_LARGEFILE)Russ Cox1-1/+5
R=r CC=golang-dev http://codereview.appspot.com/1021043
2010-04-29syscall: force O_LARGEFILE in Linux open system callRuss Cox1-1/+5
Fixes issue 717. R=adg, PeterGo CC=golang-dev http://codereview.appspot.com/1032041
2010-04-19syscall: match linux Setsid function signature to darwinAndrew Gerrand1-1/+1
SETSID does return an errno - any reason why it has been done this way in zsyscall_linux_* ? Otherwise it should be the same as darwin. From SETSID(2) on my Linux box: ERRORS On error, -1 is returned, and errno is set. Fixes issue 730 R=rsc CC=golang-dev http://codereview.appspot.com/878047
2010-03-24syscall: Implement SetsockoptStringChristopher Wedgwood1-0/+4
R=rsc, r CC=golang-dev http://codereview.appspot.com/739042 Committer: Russ Cox <rsc@golang.org>
2009-12-151) Change default gofmt default settings forRobert Griesemer1-139/+139
parsing and printing to new syntax. Use -oldparser to parse the old syntax, use -oldprinter to print the old syntax. 2) Change default gofmt formatting settings to use tabs for indentation only and to use spaces for alignment. This will make the code alignment insensitive to an editor's tabwidth. Use -spaces=false to use tabs for alignment. 3) Manually changed src/exp/parser/parser_test.go so that it doesn't try to parse the parser's source files using the old syntax (they have new syntax now). 4) gofmt -w src misc test/bench 4th set of files. R=rsc CC=golang-dev http://codereview.appspot.com/180049
2009-11-30Minimise bitrot: bytes.Copy -> copyChristopher Wedgwood1-15/+4
(compile tested only) R=r, rsc http://codereview.appspot.com/161069 Committer: Russ Cox <rsc@golang.org>
2009-11-20gofmt -r 'α[β:len(α)] -> α[β:]' -w src/cmd src/pkgRuss Cox1-6/+6
R=r, gri CC=golang-dev http://codereview.appspot.com/156115
2009-11-09- replaced gofmt expression formatting algorithm withRobert Griesemer1-13/+13
rsc's algorithm - applied gofmt -w misc src - partial CL (last chunk) R=rsc, r http://go/go-review/1024041
2009-11-09remove semis after statements in one-statement statement listsRobert Griesemer1-55/+55
R=rsc, r http://go/go-review/1025029
2009-11-06- fine-tuning of one-line func heuristic (nodes.go)Robert Griesemer1-24/+8
- enabled for function declarations (not just function literals) - applied gofmt -w $GOROOT/src (look for instance at src/pkg/debug/elf/elf.go) R=r, rsc CC=go-dev http://go/go-review/1026006
2009-11-05gofmt-ify syscallRobert Griesemer1-33/+32
(replacement for CL 1018053) R=r http://go/go-review/1017047
2009-11-01syscall cleanup.Russ Cox1-12/+30
* rename PORT.sh -> mkall.sh (hopefully more obvious), change behavior: run commands by default. * pull more constants out of #defines automatically, instead of editing large lists by hand. * add Recvfrom, Sendto add os.O_EXCL. R=r http://go/go-review/1017009
2009-10-06- moved 3 functions from syscall_linux to _386 and _amd64 (arm lacks them)Kai Backman1-3/+0
- 64 bit OMINUS - added bunch of missing arm syscalls R=rsc APPROVED=rsc DELTA=203 (189 added, 3 deleted, 11 changed) OCL=35412 CL=35414
2009-09-15final batch for "declared and not used"Russ Cox1-1/+1
* update mksyscall.sh and rebuild syscall/z*.go * fix a few linux-only files R=r DELTA=455 (12 added, 1 deleted, 442 changed) OCL=34637 CL=34655
2009-08-12fix linux build for whole package compilationRob Pike1-8/+0
R=rsc OCL=33103 CL=33103
2009-08-12convert non-low-level non-google pkg codeRuss Cox1-4/+1
to whole-package compilation. R=r OCL=33070 CL=33101
2009-07-14Return ptrace event message when there's no error instead ofAustin Clements1-3/+1
only when there's an error. R=rsc APPROVED=rsc DELTA=3 (0 added, 2 deleted, 1 changed) OCL=31650 CL=31650
2009-07-14Syscall wrappers for ptrace and supporting wait-related flags.Austin Clements1-0/+158
R=rsc APPROVED=rsc DELTA=311 (308 added, 3 deleted, 0 changed) OCL=31569 CL=31606
2009-07-13Add accessor for SIGTRAP cause in wait statusAustin Clements1-0/+7
R=rsc APPROVED=rsc DELTA=7 (7 added, 0 deleted, 0 changed) OCL=31563 CL=31565
2009-06-29add os.HostnameRuss Cox1-2/+0
R=r DELTA=188 (182 added, 3 deleted, 3 changed) OCL=30856 CL=30860
2009-06-17add Addr() string to net.Listener interface.Russ Cox1-0/+18
use it to avoid use of fixed ports in tests. convert google/net/rpc to gotest R=r DELTA=523 (275 added, 229 deleted, 19 changed) OCL=30458 CL=30460
2009-06-17shuffle some Linux system calls around for 386Russ Cox1-1/+0
R=r DELTA=37 (17 added, 15 deleted, 5 changed) OCL=30428 CL=30444
2009-06-16386 system call fixes:Russ Cox1-22/+0
* use 64-bit file system calls (Linux, Darwin) * use 32-bit [sic] uid/gid calls (Linux) * fix sockets on Linux Darwin/386 works again. Linux/386 is better but must never have worked; there are still bugs surrounding the creation of new threads in the runtime package. R=austin DELTA=1332 (673 added, 614 deleted, 45 changed) OCL=30327 CL=30380
2009-06-09mv src/lib to src/pkgRob Pike1-0/+636
tests: all.bash passes, gobuild still works, godoc still works. R=rsc OCL=30096 CL=30102