]> Cypherpunks repositories - gostls13.git/commit
runtime: correct misplaced right brace in Linux SIGBUS handling
authorIan Lance Taylor <iant@golang.org>
Sat, 23 Mar 2013 00:32:04 +0000 (17:32 -0700)
committerIan Lance Taylor <iant@golang.org>
Sat, 23 Mar 2013 00:32:04 +0000 (17:32 -0700)
commitfb7f217fe76f46aedb9cd017c79412600c11f959
tree3b9661e273c68c33596a5dec2237fa0c94383f48
parent259e8cec7ad3d7c0031c53d70442fafdbdabe528
runtime: correct misplaced right brace in Linux SIGBUS handling

I'm not sure how to write a test for this.  The change in
behaviour is that if you somehow get a SIGBUS signal for an
address >= 0x1000, the program will now crash rather than
calling panic.  As far as I know, on x86 GNU/Linux, the only
way to get a SIGBUS (rather than a SIGSEGV) is to set the
stack pointer to an invalid value.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/7906045
src/pkg/runtime/os_linux.c