mirror of
https://github.com/golang/sys.git
synced 2026-02-08 03:36:03 +03:00
We already have some of the most basic ones, but there are some notable gaps that make coding programs that poke at page permissions a bit more cumbersome to write. Reference: https://docs.microsoft.com/en-us/windows/win32/memory/memory-protection-constants Change-Id: Ib7d1ef2e2f6d92f6eec230b7785f579e4a26fbae Reviewed-on: https://go-review.googlesource.com/c/sys/+/268137 Trust: Jason A. Donenfeld <Jason@zx2c4.com> Trust: Alex Brainman <alex.brainman@gmail.com> Run-TryBot: Jason A. Donenfeld <Jason@zx2c4.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Simon Rozman <simon@rozman.si> Reviewed-by: Alex Brainman <alex.brainman@gmail.com>