]> Cypherpunks repositories - gostls13.git/commit
runtime: don't use MAP_STACK in SigStack test
authorIan Lance Taylor <iant@golang.org>
Sat, 9 Dec 2017 00:05:22 +0000 (16:05 -0800)
committerBrad Fitzpatrick <bradfitz@golang.org>
Sat, 9 Dec 2017 01:21:32 +0000 (01:21 +0000)
commit29cb57c5bda37f1c5a58b315fc5619835cc53467
tree07d34e0838d8504c1d9a470ab78c58b33ed707e4
parent840fad13ecd974efebe4fa25d4e444df5ec8041d
runtime: don't use MAP_STACK in SigStack test

On DragonFly mmap with MAP_STACK returns the top of the region, not
the bottom. Rather than try to cope, just don't use the flag anywhere.

Fixes #23061

Change-Id: Ib5df4dd7c934b3efecfc4bc87f8989b4c37555d7
Reviewed-on: https://go-review.googlesource.com/83035
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
src/runtime/testdata/testprogcgo/sigstack.go