]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1] runtime: fix struct Sigaction for Linux/ARM
authorShenghou Ma <minux.ma@gmail.com>
Fri, 21 Sep 2012 19:53:41 +0000 (05:53 +1000)
committerShenghou Ma <minux.ma@gmail.com>
Fri, 21 Sep 2012 19:53:41 +0000 (05:53 +1000)
commitc8e6fca26bf93f0f9329714d839f6ea13360108d
tree366afe26ed8941a6d9ca727036664121e5c5676d
parent34141f7c1b4a84c302ec6bfaaa8dd1b72289ac59
[release-branch.go1] runtime: fix struct Sigaction for Linux/ARM

««« backport 6eefce99091e
runtime: fix struct Sigaction for Linux/ARM
        if we were to use sizeof(sa.sa_mask) instead of 8 as the last argument
        to rt_sigaction, we would have already fixed this bug, so also updated
        Linux/386 and Linux/amd64 files to use that; also test the return value
        of rt_sigaction.

R=dave, rsc
CC=golang-dev
https://golang.org/cl/6297087

»»»
src/pkg/runtime/defs_linux_arm.h
src/pkg/runtime/os_linux.h
src/pkg/runtime/signal_linux_386.c
src/pkg/runtime/signal_linux_amd64.c
src/pkg/runtime/signal_linux_arm.c