An error occurred fetching the project authors.
- 09 Oct, 2012 1 commit
-
-
Dmitriy Vyukov authored
This is a part of a bigger change that adds data race detection feature: https://golang.org/cl/6456044 The purpose of this patch is to provide coarse-grained synchronization between all Read() and Write() calls. R=rsc, bradfitz, alex.brainman CC=golang-dev https://golang.org/cl/6610064
-
- 05 Aug, 2012 1 commit
-
-
Alexey Borzenkov authored
Since NUL usually terminates strings in underlying syscalls, allowing it when converting string arguments is a security risk, especially when dealing with filenames. For example, a program might reason that filename like "/root/..\x00/" is a subdirectory or "/root/" and allow access to it, while underlying syscall will treat "\x00" as an end of that string and the actual filename will be "/root/..", which might be unexpected. Returning EINVAL when string arguments have NUL in them makes sure this attack vector is unusable. R=golang-dev, r, bradfitz, fullung, rsc, minux.ma CC=golang-dev https://golang.org/cl/6458050
-
- 13 Feb, 2012 1 commit
-
-
Russ Cox authored
Restore package os/signal, with new API: Notify replaces Incoming, allowing clients to ask for certain signals only. Also, signals go to everyone who asks, not just one client. This could plausibly move into package os now that there are no magic side effects as a result of the import. Update runtime for new API: move common Unix signal handling code into signal_unix.c. (It's so easy to do this now that we don't have to edit Makefiles!) Tested on darwin,linux 386,amd64. Fixes #1266. R=r, dsymonds, bradfitz, iant, borman CC=golang-dev https://golang.org/cl/3749041
-
- 13 Jan, 2012 1 commit
-
-
Mikio Hara authored
R=rsc, r CC=golang-dev https://golang.org/cl/5545048
-
- 17 Nov, 2011 1 commit
-
-
Joel Sing authored
Move the existing darwin/freebsd specific nametomib implementation into the respective operating system dependent files. Provide a nametomib implementation for openbsd, which operates on a sysctl MIB that has been pre-generated from the various system headers by mksysctl_openbsd.pl. R=rsc CC=golang-dev https://golang.org/cl/4935044
-
- 14 Nov, 2011 1 commit
-
-
Russ Cox authored
- syscall (not os) now defines the Errno type. - the low-level assembly functions Syscall, Syscall6, and so on return Errno, not uintptr - syscall wrappers all return error, not uintptr. R=golang-dev, mikioh.mikioh, r, alex.brainman CC=golang-dev https://golang.org/cl/5372080
-
- 08 Aug, 2011 1 commit
-
-
Joel Sing authored
The mmap system call varies across BSDs. Move mmap and munmap into the operating system dependent files. This will be needed to add syscall support for OpenBSD. R=rsc CC=golang-dev https://golang.org/cl/4822056
-
- 29 Jul, 2011 1 commit
-
-
Joel Sing authored
Not all BSDs have the same pipe() syscall implementation - move the Darwin/FreeBSD specific implementation into their respective OS syscall files. This will be needed to add OpenBSD syscall support. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4823057
-
- 14 Jul, 2011 1 commit
-
-
Robert Griesemer authored
manual changes in src/pkg/go/printer, src/cmd/gofix/signal_test.go (cd src/cmd/gofix/testdata; gofmt -w *.in *.out) (cd src/pkg/go/printer; gotest -update) gofmt -w misc src runs all tests R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4715041
-
- 14 Jun, 2011 1 commit
-
-
Jeff Hodges authored
The ptrace syscall remains gutted on darwin, but usable. This also makes the syscall addition process reproducible on darwin instead of relying on a file path in rsc's home directory. I've also removed an override of $PATH in env.bash that made tooling harder. R=rsc, dave, r CC=golang-dev https://golang.org/cl/4517147
-
- 20 May, 2011 1 commit
-
-
Brad Fitzpatrick authored
R=iant CC=golang-dev https://golang.org/cl/4553051
-
- 07 Apr, 2011 1 commit
-
-
Mikio Hara authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/4368050
-
- 17 Mar, 2011 1 commit
-
-
Ian Lance Taylor authored
Permit system calls to be designated as non-blocking, meaning that we simply call them without involving the scheduler. This change by itself is mostly performance neutral. In combination with a following change to the net package there is a performance advantage. R=rsc, dfc, r2, iant2, rsc1 CC=golang-dev https://golang.org/cl/4278055
-
- 11 Feb, 2011 1 commit
-
-
Mikio Hara authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4171043
-
- 05 Jan, 2011 1 commit
-
-
Ian Lance Taylor authored
Fixes #1377. R=rsc, adg, r CC=golang-dev https://golang.org/cl/3868041
-
- 03 Aug, 2010 1 commit
-
-
Rob Pike authored
Besides being more correct, it protects against people accidentally exchanging the permission and open mode arguments to Open. R=rsc CC=golang-dev https://golang.org/cl/1904045
-
- 26 Mar, 2010 1 commit
-
-
Giles Lean authored
In this change I'd like to combine the common code that is present in syscall_darwin.go and syscall_freebsd.go. I have three reasons for wanting to do this now: 1. reducing code duplication is nearly always good :-) 2. the duplication will get worse if I duplicate this code a third time for the NetBSD port I'm working on, which I need to do almost immediately 3. by making this change all in one lump and ignoring any commonality with the syscall_linux*.go files the diff is long but, I think, readable In future it may be possible to cherry pick functions that also apply to Linux and put them in (say) syscall_unix.go, and of course some functions may diverge in future and have to move out to OS or architecture specific files, but today I want just the low hanging fruit. Tested and passed on: Darwin (Snow Leopard, 10.6): amd64 and 386 FreeBSD (8.0-RELEASE): 386 only(*) (*) All my virtualisation software has stopped playing nice with FreeBSD for the moment, so I don't have facilities to test the amd64 port. As the OS X port is OK and the diff looks all right to my eyes I shall keep my fingers crossed. If someone with a FreeBSD/amd64 system cares to test and report I would be appreciative. 2010-03-27 update: I have replaced my virtualisation software, and have working FreeBSD/i386 and FreeBSD/amd64 virtual machines again. As I hoped (and expected -- programmers are optimists :-) the code built and passed all but the two currently known to fail tests on FreeBSD/amd64. I rechecked FreeBSD/i386 too: same results. R=rsc CC=golang-dev https://golang.org/cl/751041
-
- 25 Mar, 2010 1 commit
-
-
Christopher Wedgwood authored
R=rsc, r CC=golang-dev https://golang.org/cl/739042
-
- 16 Feb, 2010 1 commit
-
-
Giles Lean authored
R=rsc CC=golang-dev https://golang.org/cl/207071
-
- 04 Feb, 2010 1 commit
-
-
Russ Cox authored
R=r, cw CC=golang-dev https://golang.org/cl/201043
-
- 15 Dec, 2009 1 commit
-
-
Robert Griesemer authored
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 https://golang.org/cl/180049
-
- 02 Dec, 2009 1 commit
-
-
Russ Cox authored
R=dho CC=golang-dev https://golang.org/cl/163061
-
- 10 Nov, 2009 1 commit
-
-
Robert Griesemer authored
rsc's algorithm - applied gofmt -w misc src - partial CL (last chunk) R=rsc, r http://go/go-review/1024041
-
- 09 Nov, 2009 1 commit
-
-
Robert Griesemer authored
R=rsc, r http://go/go-review/1025029
-
- 06 Nov, 2009 1 commit
-
-
Robert Griesemer authored
- 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
-
- 05 Nov, 2009 1 commit
-
-
Robert Griesemer authored
(replacement for CL 1018053) R=r http://go/go-review/1017047
-
- 01 Nov, 2009 1 commit
-
-
Russ Cox authored
* 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
-
- 12 Aug, 2009 1 commit
-
-
Russ Cox authored
to whole-package compilation. R=r OCL=33070 CL=33101
-
- 15 Jul, 2009 1 commit
-
-
Austin Clements authored
R=gri APPROVED=gri DELTA=5 (5 added, 0 deleted, 0 changed) OCL=31673 CL=31673
-
- 29 Jun, 2009 1 commit
-
-
Russ Cox authored
R=r DELTA=188 (182 added, 3 deleted, 3 changed) OCL=30856 CL=30860
-
- 18 Jun, 2009 1 commit
-
-
Russ Cox authored
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
-
- 17 Jun, 2009 1 commit
-
-
Russ Cox authored
* 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
-
- 09 Jun, 2009 1 commit
-
-
Rob Pike authored
tests: all.bash passes, gobuild still works, godoc still works. R=rsc OCL=30096 CL=30102
-
- 03 Jun, 2009 1 commit
-
-
Russ Cox authored
didn't see this as a diff. TBR=r OCL=29827 CL=29831
-
- 02 Jun, 2009 1 commit
-
-
Russ Cox authored
auto-generated files and deletions are in another CL. goals for new syscall: * automate as much as possible * do not let clients do unsafe things * use simple types (int not int64) * fewer files the files are renamed from foo_amd64_linux to foo_linux_amd64, both because it reads better (all the linux are related, all the amd64 less so) and because it made it easier to replace the existing ones. R=r DELTA=2336 (2260 added, 6 deleted, 70 changed) OCL=29709 CL=29723
-