mirror of
https://github.com/rwinkhart/sys.git
synced 2026-08-28 04:46:44 -04:00
2320a9c15898af1b1b24f99700d5c1e957f9d8cf
When adding Mprotect to TestMmap in CL 56172, PROT_WRITE was implicitly assumed to also include PROT_READ. This is not necessarily true on all OSes and makes TestMmap crash on openbsd/386. As suggested my Mikio Hara fix it by also setting PROT_READ on the memory mapping. Fixes golang/go#21962 Change-Id: Ia789ab8b31f8dec0c3db23cc950ccdd4aab3db05 Reviewed-on: https://go-review.googlesource.com/65230 TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This repository holds supplemental Go packages for low-level interactions with the operating system. To submit changes to this repository, see http://golang.org/doc/contribute.html.
Description
[mirror] Go packages for low-level interaction with the operating system
15 MiB
Languages
Go
85.7%
Assembly
12.4%
Shell
1.7%
C
0.1%