Russ Cox
acd858eee0
syscall: correct WSTOPPED on OS X
...
Have to set #defines correctly to get correct value.
Otherwise get a mask for use in implementing WIFSTOPPED(status).
Changed WSTOPPED definition in os because on
OS X WSTOPPED and WUNTRACED have different values
even though they seem to mean the same thing.
Fixes #1374 .
R=r, r2
CC=golang-dev
https://golang.org/cl/4063042
2011-01-18 14:02:41 -05:00
Mikio Hara
6555cfc6c6
syscall: add network interface constants for linux/386, linux/amd64
...
R=rsc
CC=golang-dev
https://golang.org/cl/3266042
2010-12-09 13:55:59 -05:00
Albert Strasheim
cf6c212197
syscall, net: Add Recvmsg and Sendmsg on Linux.
...
Working on issue 1101.
R=rsc
CC=golang-dev
https://golang.org/cl/2331044
2010-12-07 13:40:14 -05:00
Albert Strasheim
6442f38a91
syscall: SIO constants for Linux
...
R=rsc
CC=golang-dev
https://golang.org/cl/2303043
2010-11-01 16:42:33 -04:00
Mikio Hara
b390c4b9d6
syscall: add sockaddr_ll support for linux/386, linux/amd64
...
R=rsc, albert.strasheim
CC=golang-dev
https://golang.org/cl/2356042
2010-10-12 09:48:56 -04:00
Balazs Lecz
4bfcfcf89f
syscall: add inotify on Linux
...
R=rsc
CC=golang-dev
https://golang.org/cl/2241045
2010-09-27 11:44:26 -04:00
Russ Cox
9a96fb3a29
mkall.sh, mkerrors.sh: work more broadly
...
work on FreeBSD even without /usr/src/sys.
work on systems where gcc -static is broken.
TBR so I can test my semi-automated z builder.
TBR=adg
CC=golang-dev
https://golang.org/cl/2215046
2010-09-24 13:37:02 -04:00
Kai Backman
534dbc738f
arm: fix build, regenerate syscall files
...
R=r
CC=golang-dev
https://golang.org/cl/1952046
2010-08-23 13:25:14 +03:00
Russ Cox
23bf408d41
syscall: fix arm build (fix bugs in generator, to add O_LARGEFILE)
...
R=r
CC=golang-dev
https://golang.org/cl/1021043
2010-05-03 11:11:01 -07:00
Russ Cox
7906e31167
syscall: force O_LARGEFILE in Linux open system call
...
Fixes #717 .
R=adg, PeterGo
CC=golang-dev
https://golang.org/cl/1032041
2010-04-29 23:34:06 -07:00
Russ Cox
8fbe8bee6c
syscall: add IPV6 constants
...
R=r
CC=golang-dev
https://golang.org/cl/848041
2010-03-30 14:32:59 -07:00
Russ Cox
0b126c1be4
syscall: add Shutdown on OS X, add more constants in mkerror.sh
...
R=dho
CC=golang-dev
https://golang.org/cl/163061
2009-12-01 16:53:43 -08:00
Devon H. O'Dell
553be8427e
Build changes to support work on the BSDs.
...
This does still contain some FreeBSD-specific bits, but
it's a pain to do partial diffs.
R=rsc
https://golang.org/cl/152138
2009-11-14 15:29:09 -08:00
Russ Cox
fd1add2768
syscall cleanup.
...
* 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-11-01 11:13:27 -08:00
Kai Backman
e5c884f7db
some progress on arm linux syscall interface. ztypes_linux_arm
...
still has problems with godefs.
R=rsc
APPROVED=rsc
DELTA=801 (134 added, 235 deleted, 432 changed)
OCL=35189
CL=35211
2009-10-01 06:55:01 -07:00
Russ Cox
9feee91d79
avoid duplicate field names, so that bug132 can be fixed
...
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-24 11:03:23 -07:00
Rob Pike
cd32498ba5
change the names to have .sh suffixes.
...
also fix the comments in the generated files.
R=rsc
DELTA=949 (470 added, 465 deleted, 14 changed)
OCL=33197
CL=33201
2009-08-13 13:22:37 -07:00