]> Cypherpunks repositories - gostls13.git/commit
runtime: fix struct Sigaction for Linux/ARM
authorShenghou Ma <minux.ma@gmail.com>
Tue, 19 Jun 2012 17:17:03 +0000 (01:17 +0800)
committerShenghou Ma <minux.ma@gmail.com>
Tue, 19 Jun 2012 17:17:03 +0000 (01:17 +0800)
commitd4c4f4d2c4cdfc9e713383d419b528726cfbbb20
treeb5007410b0b0e2004fea3d867da83f53776b8a2a
parenta5aa91b9a2a013be9ced9ae05474e1dce2fe16d4
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