Commit deaf0333 authored by Ian Lance Taylor's avatar Ian Lance Taylor

runtime: fix definitions of getpid and kill on Solaris

A further attempt to fix raiseproc on Solaris.

Change-Id: I8d8000d6ccd0cd9f029ebe1f211b76ecee230cd0
Reviewed-on: https://go-review.googlesource.com/12771Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent d7223c6c
...@@ -52,7 +52,9 @@ import "unsafe" ...@@ -52,7 +52,9 @@ import "unsafe"
//go:linkname libc_exit libc_exit //go:linkname libc_exit libc_exit
//go:linkname libc_fstat libc_fstat //go:linkname libc_fstat libc_fstat
//go:linkname libc_getcontext libc_getcontext //go:linkname libc_getcontext libc_getcontext
//go:linkname libc_getpid libc_getpid
//go:linkname libc_getrlimit libc_getrlimit //go:linkname libc_getrlimit libc_getrlimit
//go:linkname libc_kill libc_kill
//go:linkname libc_madvise libc_madvise //go:linkname libc_madvise libc_madvise
//go:linkname libc_malloc libc_malloc //go:linkname libc_malloc libc_malloc
//go:linkname libc_mmap libc_mmap //go:linkname libc_mmap libc_mmap
...@@ -87,7 +89,9 @@ var ( ...@@ -87,7 +89,9 @@ var (
libc_exit, libc_exit,
libc_fstat, libc_fstat,
libc_getcontext, libc_getcontext,
libc_getpid,
libc_getrlimit, libc_getrlimit,
libc_kill,
libc_madvise, libc_madvise,
libc_malloc, libc_malloc,
libc_mmap, libc_mmap,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment