]> Cypherpunks repositories - gostls13.git/commit
runtime: add syscalls needed for android/amd64 logging.
authorHyang-Ah Hana Kim <hyangah@gmail.com>
Fri, 16 Oct 2015 18:17:25 +0000 (14:17 -0400)
committerHyang-Ah Hana Kim <hyangah@gmail.com>
Tue, 20 Oct 2015 16:56:58 +0000 (16:56 +0000)
commit30ee5919bd08fd9d05504f8e0b568cc59a97c1fc
tree833cc3a94003f9f5d1d9a3d856b1c334a2989578
parent7d2c6eb3f53d4fa54587ff52ecb739bd4b13f9ab
runtime: add syscalls needed for android/amd64 logging.

access, connect, socket.

In Android-L, logging is done by writing the log messages to the logd
process through a unix domain socket.

Also, changed the arg types of those syscall stubs to match linux
programming APIs.

For golang/go#10743

Change-Id: I66368a03316e253561e9e76aadd180c2cd2e48f3
Reviewed-on: https://go-review.googlesource.com/15993
Reviewed-by: David Crawshaw <crawshaw@golang.org>
src/runtime/defs_linux_amd64.go
src/runtime/print1_write_android.go
src/runtime/stubs_android.go
src/runtime/sys_linux_amd64.s