summaryrefslogtreecommitdiff
path: root/src/pkg/syscall
AgeCommit message (Collapse)AuthorFilesLines
2009-12-13syscall: fix error return bug for 64-bit return on 32-bit platformChristopher Wedgwood5-29/+35
R=dho, rsc CC=r http://codereview.appspot.com/176058 Committer: Russ Cox <rsc@golang.org>
2009-12-10added SHUT_RD, SHOT_WR and xSHUT_RDWR to fix net compilation errorKai Backman1-0/+3
R=rsc http://codereview.appspot.com/165044
2009-12-04Fix syscall.Statfs and syscall.Fstatfs for 386 GNU/Linux.Ian Lance Taylor2-14/+12
For 386 we use the [f]statfs64 system call, which takes three parameters: the filename, the size of the statfs64 structure, and a pointer to the structure itself. R=rsc http://codereview.appspot.com/166073
2009-12-04Add syscall.Rename for NaCl. Fixes NaCl build.Ian Lance Taylor1-0/+4
R=rsc http://codereview.appspot.com/165062
2009-12-04make Native Client support build again,Russ Cox3-2/+15
add README explaining how to try the web demos. Fixes issue 339. R=r CC=barry.d.silverman, bss, vadim http://codereview.appspot.com/165057
2009-12-02Add Shutdown to 32-bit GNU/Linux build.Ian Lance Taylor1-0/+5
Submitting as a TBR to fix the build. R=dho, rsc http://codereview.appspot.com/164078 Committer: Russ Cox <rsc@golang.org>
2009-12-01Add syscall.Shutdown to FreeBSD i386/amd64Devon H. O'Dell5-154/+173
Necessary for 163052 R=rsc CC=golang-dev http://codereview.appspot.com/164068 Committer: Russ Cox <rsc@golang.org>
2009-12-01syscall: add Shutdown on OS X, add more constants in mkerror.shRuss Cox8-411/+526
R=dho CC=golang-dev http://codereview.appspot.com/163061
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-23go: makes it build for the case $GOROOT has whitespacesSergio Luis O. B. Correia1-2/+2
the bash scripts and makefiles for building go didn't take into account the fact $GOROOT / $GOBIN could both be directories containing whitespaces, and was not possible to build it in such a situation. this commit adjusts the various makefiles/scripts to make it aware of that possibility, and now it builds successfully when using a path with whitespaces as well. Fixes issue 115. R=rsc, dsymonds1 http://codereview.appspot.com/157067 Committer: Russ Cox <rsc@golang.org>
2009-11-20gofmt -r 'α[β:len(α)] -> α[β:]' -w src/cmd src/pkgRuss Cox2-7/+7
R=r, gri CC=golang-dev http://codereview.appspot.com/156115
2009-11-17FreeBSD/i386 workDevon H. O'Dell7-0/+1950
This patchset gets Go to pretty much the same state that FreeBSD/amd64 is in. R=rsc http://codereview.appspot.com/157055 Committer: Russ Cox <rsc@golang.org>
2009-11-17syscall: use correct pointer in recvfrom/sendto.Russ Cox1-2/+2
linux/386 stack trace: use 32-bit hex. Fixes issue 159. R=r http://codereview.appspot.com/154178
2009-11-17FreeBSD-specific porting work.Devon H. O'Dell9-0/+2892
cgo/libmach remain unimplemented. However, compilers, runtime, and packages are 100%. I still need to go through and implement missing syscalls (at least make sure they're all listed), but for all shipped functionality, this is done. Ship! ;) R=rsc, VenkateshSrinivas http://codereview.appspot.com/152142 Committer: Russ Cox <rsc@golang.org>
2009-11-14Build changes to support work on the BSDs.Devon H. O'Dell2-2/+11
This does still contain some FreeBSD-specific bits, but it's a pain to do partial diffs. R=rsc http://codereview.appspot.com/152138 Committer: Russ Cox <rsc@golang.org>
2009-11-09- replaced gofmt expression formatting algorithm withRobert Griesemer10-48/+48
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 Griesemer13-211/+211
R=rsc, r http://go/go-review/1025029
2009-11-06- fine-tuning of one-line func heuristic (nodes.go)Robert Griesemer14-203/+70
- 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 Griesemer16-178/+168
(replacement for CL 1018053) R=r http://go/go-review/1017047
2009-11-04fixing (badly) linux_arm syscall.Kai Backman4-23/+47
R=rsc http://go/go-review/1017037
2009-11-01syscall cleanup.Russ Cox24-1412/+2489
* 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-25proper syscall convention for armKai Backman2-9/+4
R=rsc http://go/go-review/1015009
2009-10-23all of pkg now compiles, fixes a few more testsKai Backman1-0/+6
go/test: passes 90% (313/345) R=rsc APPROVED=rsc DELTA=90 (83 added, 3 deleted, 4 changed) OCL=36011 CL=36023
2009-10-15rename sys functions to runtime,Russ Cox6-41/+41
because they are in package runtime. another step to enforcing package boundaries. R=r DELTA=732 (114 added, 93 deleted, 525 changed) OCL=35811 CL=35824
2009-10-08dupok, gcc compile fix, sync and syscall asm fixKai Backman1-3/+6
R=rsc APPROVED=rsc DELTA=27 (18 added, 0 deleted, 9 changed) OCL=35503 CL=35505
2009-10-06apply gofmt to auto-generated syscall filesRuss Cox25-3916/+3993
R=gri DELTA=4023 (104 added, 27 deleted, 3892 changed) OCL=35416 CL=35418
2009-10-06- moved 3 functions from syscall_linux to _386 and _amd64 (arm lacks them)Kai Backman5-3/+170
- 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-10-01some progress on arm linux syscall interface. ztypes_linux_armKai Backman7-633/+528
still has problems with godefs. R=rsc APPROVED=rsc DELTA=801 (134 added, 235 deleted, 432 changed) OCL=35189 CL=35211
2009-09-29nacl system call updatesRuss Cox6-23/+216
R=r DELTA=236 (211 added, 18 deleted, 7 changed) OCL=35084 CL=35131
2009-09-22nacl - run tests under emulator.Russ Cox2-2/+3
special all-nacl.bash and test/run-nacl that run just the tests known to work under nacl. the rest requires closures. fix another bug or two in syscall. R=r DELTA=420 (410 added, 8 deleted, 2 changed) OCL=34882 CL=34907
2009-09-22nacl syscall: write return values to correct stack locationRuss Cox1-18/+18
R=r DELTA=18 (0 added, 0 deleted, 18 changed) OCL=34894 CL=34894
2009-09-22nacl syscall package - machine generated filesRuss Cox5-0/+515
R=r DELTA=515 (515 added, 0 deleted, 0 changed) OCL=34881 CL=34891
2009-09-22nacl syscall package.Russ Cox7-0/+658
similar tweaks to make debug/proc, net, os build. R=r DELTA=861 (855 added, 4 deleted, 2 changed) OCL=34877 CL=34890
2009-09-17unused importsRuss Cox1-2/+0
R=r OCL=34731 CL=34731
2009-09-15final batch for "declared and not used"Russ Cox6-425/+437
* 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-09-15more "declared and not used".Russ Cox1-11/+11
the last round omitted := range and only checked 1 out of N vars in a multi-var := R=r OCL=34624 CL=34638
2009-09-14fix "declared and not used" errors in non-test code.Russ Cox1-4/+2
R=r DELTA=112 (6 added, 57 deleted, 49 changed) OCL=34610 CL=34610
2009-09-03fix linux 386 buildRuss Cox3-6/+21
R=austin DELTA=140 (128 added, 0 deleted, 12 changed) OCL=34344 CL=34347
2009-08-2864 bit lsh, sub, and/or/eor. some placeholder files in syscall and os.Kai Backman2-14/+18
R=rsc APPROVED=rsc DELTA=204 (139 added, 0 deleted, 65 changed) OCL=34009 CL=34025
2009-08-24avoid duplicate field names, so that bug132 can be fixedRuss Cox14-56/+39
also fix echo bug that just surfaced in mkerrors.sh R=r DELTA=67 (11 added, 19 deleted, 37 changed) OCL=33743 CL=33757
2009-08-18pkg/sort compiling and some progress on syscall. mostlyKai Backman5-0/+1855
re-enabling and massaging code. R=rsc APPROVED=rsc DELTA=2496 (1880 added, 330 deleted, 286 changed) OCL=33487 CL=33504
2009-08-13change the names to have .sh suffixes.Rob Pike17-33/+32
also fix the comments in the generated files. R=rsc DELTA=949 (470 added, 465 deleted, 14 changed) OCL=33197 CL=33201
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 Cox14-129/+23
to whole-package compilation. R=r OCL=33070 CL=33101
2009-07-15Add a dummy WaitStatus.TrapCause for Darwin to unbreak the build.Austin Clements1-0/+5
R=gri APPROVED=gri DELTA=5 (5 added, 0 deleted, 0 changed) OCL=31673 CL=31673
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-14darwin ptrace constantsRuss Cox3-5/+37
R=austin DELTA=42 (37 added, 5 deleted, 0 changed) OCL=31618 CL=31633
2009-07-14Support ptracing of fork'd children.Austin Clements1-4/+25
R=rsc APPROVED=rsc DELTA=26 (22 added, 1 deleted, 3 changed) OCL=31613 CL=31629
2009-07-14Zero unused syscall arguments.Austin Clements2-0/+12
R=rsc APPROVED=rsc DELTA=12 (12 added, 0 deleted, 0 changed) OCL=31619 CL=31621
2009-07-14Regenerate Linux 386 syscall bindings to add ptrace.Austin Clements2-2/+80
R=rsc APPROVED=rsc DELTA=82 (80 added, 2 deleted, 0 changed) OCL=31610 CL=31612