1
0
mirror of https://github.com/golang/go synced 2024-11-26 13:18:19 -07:00
go/src/syscall
Richard Musiol ef9217e7bd net: add js/wasm architecture
This commit adds the js/wasm architecture to the net package.
The net package is not supported by js/wasm, but a simple fake
networking is available so tests of other packages that require
basic TCP sockets can pass. The tests of the net package itself
are mostly disabled.

Updates #18892

Change-Id: Id287200c39f0a3e23d20ef17260ca15ccdcca032
Reviewed-on: https://go-review.googlesource.com/109995
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-06-04 16:01:50 +00:00
..
js misc/wasm: fix passing large negative integers from JS to Go 2018-05-15 14:15:44 +00:00
asm9_unix1_amd64.s
asm9_unix2_amd64.s
asm_darwin_386.s
asm_darwin_amd64.s
asm_darwin_arm64.s
asm_darwin_arm.s
asm_freebsd_arm.s
asm_linux_386.s
asm_linux_amd64.s
asm_linux_arm64.s
asm_linux_arm.s
asm_linux_mips64x.s
asm_linux_mipsx.s
asm_linux_ppc64x.s
asm_linux_s390x.s
asm_nacl_386.s
asm_nacl_amd64p32.s
asm_nacl_arm.s
asm_netbsd_arm.s
asm_openbsd_arm.s
asm_plan9_386.s syscall: eliminate aliasing of syscall error strings in Plan 9 2018-05-08 14:57:01 +00:00
asm_plan9_amd64.s syscall: eliminate aliasing of syscall error strings in Plan 9 2018-05-08 14:57:01 +00:00
asm_plan9_arm.s syscall: eliminate aliasing of syscall error strings in Plan 9 2018-05-08 14:57:01 +00:00
asm_solaris_amd64.s
asm_unix_386.s
asm_unix_amd64.s
bpf_bsd.go
const_plan9.go
creds_test.go
dir_plan9.go
dirent.go os: add js/wasm architecture 2018-06-01 05:18:38 +00:00
dll_windows.go
endian_big.go
endian_little.go os: add js/wasm architecture 2018-06-01 05:18:38 +00:00
env_plan9.go
env_unix.go os: add js/wasm architecture 2018-06-01 05:18:38 +00:00
env_windows.go all: update comment URLs from HTTP to HTTPS, where possible 2018-06-01 21:52:00 +00:00
errors_plan9.go
exec_bsd.go
exec_linux_test.go
exec_linux.go
exec_plan9.go
exec_solaris_test.go
exec_solaris.go
exec_unix_test.go
exec_unix.go
exec_windows.go all: update comment URLs from HTTP to HTTPS, where possible 2018-06-01 21:52:00 +00:00
export_linux_test.go
export_test.go
export_unix_test.go
fd_nacl.go syscall: partially revert "enable some nacl code to be shared with js/wasm" 2018-05-23 18:54:00 +00:00
flock_linux_32bit.go
flock.go
forkpipe2.go
forkpipe.go
fs_js.go os: add js/wasm architecture 2018-06-01 05:18:38 +00:00
fs_nacl.go
lsf_linux.go
mkall.sh
mkerrors.sh
mkpost.go
mksyscall_solaris.pl
mksyscall_windows.go
mksyscall.pl
mksysctl_openbsd.pl
mksysnum_darwin.pl
mksysnum_dragonfly.pl
mksysnum_freebsd.pl
mksysnum_linux.pl
mksysnum_netbsd.pl
mksysnum_openbsd.pl
mksysnum_plan9.sh
mmap_unix_test.go
msan0.go
msan.go
net_js.go net: add js/wasm architecture 2018-06-04 16:01:50 +00:00
net_nacl.go
net.go
netlink_linux.go
pwd_plan9.go
route_bsd.go
route_darwin.go
route_dragonfly.go
route_freebsd_32bit.go all: update comment URLs from HTTP to HTTPS, where possible 2018-06-01 21:52:00 +00:00
route_freebsd_64bit.go
route_freebsd.go
route_netbsd.go
route_openbsd.go
security_windows.go all: update comment URLs from HTTP to HTTPS, where possible 2018-06-01 21:52:00 +00:00
setuidgid_32_linux.go
setuidgid_linux.go
sockcmsg_linux.go
sockcmsg_unix.go
str.go
syscall_bsd_test.go
syscall_bsd.go
syscall_darwin_386.go
syscall_darwin_amd64.go
syscall_darwin_arm64.go
syscall_darwin_arm.go
syscall_darwin.go
syscall_dragonfly_amd64.go
syscall_dragonfly.go
syscall_freebsd_386.go
syscall_freebsd_amd64.go
syscall_freebsd_arm.go
syscall_freebsd.go
syscall_getwd_bsd.go
syscall_js.go os: add js/wasm architecture 2018-06-01 05:18:38 +00:00
syscall_linux_386.go syscall: fix EpollWait for arm64 2018-06-04 15:13:16 +00:00
syscall_linux_amd64.go syscall: fix EpollWait for arm64 2018-06-04 15:13:16 +00:00
syscall_linux_arm64.go syscall: fix EpollWait for arm64 2018-06-04 15:13:16 +00:00
syscall_linux_arm.go syscall: fix EpollWait for arm64 2018-06-04 15:13:16 +00:00
syscall_linux_mips64x.go syscall: fix EpollWait for arm64 2018-06-04 15:13:16 +00:00
syscall_linux_mipsx.go syscall: fix EpollWait for arm64 2018-06-04 15:13:16 +00:00
syscall_linux_ppc64x.go syscall: fix EpollWait for arm64 2018-06-04 15:13:16 +00:00
syscall_linux_s390x.go syscall: fix EpollWait for arm64 2018-06-04 15:13:16 +00:00
syscall_linux_test.go
syscall_linux.go syscall: fix EpollWait for arm64 2018-06-04 15:13:16 +00:00
syscall_nacl_386.go
syscall_nacl_amd64p32.go
syscall_nacl_arm.go
syscall_nacl.go
syscall_netbsd_386.go
syscall_netbsd_amd64.go
syscall_netbsd_arm.go
syscall_netbsd.go
syscall_openbsd_386.go
syscall_openbsd_amd64.go
syscall_openbsd_arm.go
syscall_openbsd.go
syscall_plan9_test.go syscall: eliminate aliasing of syscall error strings in Plan 9 2018-05-08 14:57:01 +00:00
syscall_plan9.go
syscall_solaris_amd64.go
syscall_solaris.go
syscall_test.go all: skip unsupported tests for js/wasm 2018-04-30 19:39:18 +00:00
syscall_unix_test.go
syscall_unix.go net, syscall: make ECONNRESET/ECONNABORTED only temporary for Accept 2018-05-01 14:50:33 +00:00
syscall_windows_386.go
syscall_windows_amd64.go
syscall_windows_test.go
syscall_windows.go net, syscall: make ECONNRESET/ECONNABORTED only temporary for Accept 2018-05-01 14:50:33 +00:00
syscall.go
tables_nacljs.go os: add js/wasm architecture 2018-06-01 05:18:38 +00:00
time_js_wasm.s time: add wasm architecture 2018-04-13 21:12:31 +00:00
time_nacl_386.s
time_nacl_amd64p32.s
time_nacl_arm.s
timestruct.go time: add wasm architecture 2018-04-13 21:12:31 +00:00
types_darwin.go
types_dragonfly.go
types_freebsd.go
types_linux.go
types_netbsd.go
types_openbsd.go
types_solaris.go
types_windows_386.go
types_windows_amd64.go
types_windows.go all: update comment URLs from HTTP to HTTPS, where possible 2018-06-01 21:52:00 +00:00
unzip_nacl.go
zerrors_darwin_386.go
zerrors_darwin_amd64.go
zerrors_darwin_arm64.go
zerrors_darwin_arm.go
zerrors_dragonfly_amd64.go
zerrors_freebsd_386.go
zerrors_freebsd_amd64.go
zerrors_freebsd_arm.go
zerrors_linux_386.go
zerrors_linux_amd64.go
zerrors_linux_arm64.go
zerrors_linux_arm.go
zerrors_linux_mips64.go
zerrors_linux_mips64le.go
zerrors_linux_mips.go
zerrors_linux_mipsle.go
zerrors_linux_ppc64.go
zerrors_linux_ppc64le.go
zerrors_linux_s390x.go
zerrors_netbsd_386.go
zerrors_netbsd_amd64.go
zerrors_netbsd_arm.go
zerrors_openbsd_386.go
zerrors_openbsd_amd64.go
zerrors_openbsd_arm.go
zerrors_solaris_amd64.go
zerrors_windows_386.go
zerrors_windows_amd64.go
zerrors_windows.go
zsyscall_darwin_386.go
zsyscall_darwin_amd64.go
zsyscall_darwin_arm64.go
zsyscall_darwin_arm.go
zsyscall_dragonfly_amd64.go
zsyscall_freebsd_386.go
zsyscall_freebsd_amd64.go
zsyscall_freebsd_arm.go
zsyscall_linux_386.go syscall: fix EpollWait for arm64 2018-06-04 15:13:16 +00:00
zsyscall_linux_amd64.go syscall: fix EpollWait for arm64 2018-06-04 15:13:16 +00:00
zsyscall_linux_arm64.go syscall: fix EpollWait for arm64 2018-06-04 15:13:16 +00:00
zsyscall_linux_arm.go syscall: fix EpollWait for arm64 2018-06-04 15:13:16 +00:00
zsyscall_linux_mips64.go syscall: fix EpollWait for arm64 2018-06-04 15:13:16 +00:00
zsyscall_linux_mips64le.go syscall: fix EpollWait for arm64 2018-06-04 15:13:16 +00:00
zsyscall_linux_mips.go syscall: fix EpollWait for arm64 2018-06-04 15:13:16 +00:00
zsyscall_linux_mipsle.go syscall: fix EpollWait for arm64 2018-06-04 15:13:16 +00:00
zsyscall_linux_ppc64.go syscall: fix EpollWait for arm64 2018-06-04 15:13:16 +00:00
zsyscall_linux_ppc64le.go syscall: fix EpollWait for arm64 2018-06-04 15:13:16 +00:00
zsyscall_linux_s390x.go syscall: fix EpollWait for arm64 2018-06-04 15:13:16 +00:00
zsyscall_nacl_386.go
zsyscall_nacl_amd64p32.go
zsyscall_nacl_arm.go
zsyscall_netbsd_386.go
zsyscall_netbsd_amd64.go
zsyscall_netbsd_arm.go
zsyscall_openbsd_386.go
zsyscall_openbsd_amd64.go
zsyscall_openbsd_arm.go
zsyscall_plan9_386.go
zsyscall_plan9_amd64.go
zsyscall_plan9_arm.go
zsyscall_solaris_amd64.go
zsyscall_windows.go
zsysctl_openbsd.go
zsysnum_darwin_386.go
zsysnum_darwin_amd64.go
zsysnum_darwin_arm64.go
zsysnum_darwin_arm.go
zsysnum_dragonfly_amd64.go
zsysnum_freebsd_386.go
zsysnum_freebsd_amd64.go
zsysnum_freebsd_arm.go
zsysnum_linux_386.go
zsysnum_linux_amd64.go
zsysnum_linux_arm64.go
zsysnum_linux_arm.go
zsysnum_linux_mips64.go
zsysnum_linux_mips64le.go
zsysnum_linux_mips.go
zsysnum_linux_mipsle.go
zsysnum_linux_ppc64.go
zsysnum_linux_ppc64le.go
zsysnum_linux_s390x.go
zsysnum_netbsd_386.go
zsysnum_netbsd_amd64.go
zsysnum_netbsd_arm.go
zsysnum_openbsd_386.go
zsysnum_openbsd_amd64.go
zsysnum_openbsd_arm.go
zsysnum_plan9.go
zsysnum_solaris_amd64.go
zsysnum_windows_386.go
zsysnum_windows_amd64.go
ztypes_darwin_386.go
ztypes_darwin_amd64.go
ztypes_darwin_arm64.go
ztypes_darwin_arm.go
ztypes_dragonfly_amd64.go
ztypes_freebsd_386.go
ztypes_freebsd_amd64.go
ztypes_freebsd_arm.go
ztypes_linux_386.go
ztypes_linux_amd64.go
ztypes_linux_arm64.go
ztypes_linux_arm.go
ztypes_linux_mips64.go
ztypes_linux_mips64le.go
ztypes_linux_mips.go
ztypes_linux_mipsle.go
ztypes_linux_ppc64.go
ztypes_linux_ppc64le.go
ztypes_linux_s390x.go
ztypes_netbsd_386.go
ztypes_netbsd_amd64.go
ztypes_netbsd_arm.go
ztypes_openbsd_386.go
ztypes_openbsd_amd64.go
ztypes_openbsd_arm.go
ztypes_solaris_amd64.go