Skip to content

Commit

Permalink
runtime: fix definitions of getpid and kill on Solaris
Browse files Browse the repository at this point in the history
A further attempt to fix raiseproc on Solaris.

Change-Id: I8d8000d6ccd0cd9f029ebe1f211b76ecee230cd0
Reviewed-on: https://go-review.googlesource.com/12771
Reviewed-by: Brad Fitzpatrick <[email protected]>
  • Loading branch information
ianlancetaylor committed Jul 28, 2015
1 parent d7223c6 commit deaf033
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/runtime/os3_solaris.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ import "unsafe"
//go:linkname libc_exit libc_exit
//go:linkname libc_fstat libc_fstat
//go:linkname libc_getcontext libc_getcontext
//go:linkname libc_getpid libc_getpid
//go:linkname libc_getrlimit libc_getrlimit
//go:linkname libc_kill libc_kill
//go:linkname libc_madvise libc_madvise
//go:linkname libc_malloc libc_malloc
//go:linkname libc_mmap libc_mmap
Expand Down Expand Up @@ -87,7 +89,9 @@ var (
libc_exit,
libc_fstat,
libc_getcontext,
libc_getpid,
libc_getrlimit,
libc_kill,
libc_madvise,
libc_malloc,
libc_mmap,
Expand Down

0 comments on commit deaf033

Please sign in to comment.