Jason A. Donenfeld
4d91cf3a1a
windows: add missing page flag constants
...
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 >
2020-11-07 08:05:50 +00:00
Awn Umar
226ff32320
windows: add process working size system calls
...
Fixes golang/go#39422
Related to https://github.com/awnumar/memcall/issues/3
Change-Id: Idf3eec42c3077b39fe033091eea6d62b6a9d8d32
GitHub-Last-Rev: 7f57085a5f
GitHub-Pull-Request: golang/sys#72
Reviewed-on: https://go-review.googlesource.com/c/sys/+/236680
Run-TryBot: Alex Brainman <alex.brainman@gmail.com >
TryBot-Result: Gobot Gobot <gobot@golang.org >
Reviewed-by: Alex Brainman <alex.brainman@gmail.com >
2020-06-10 11:11:08 +00:00
Tobias Klauser
9e4fff1f4d
all: single space after period
...
Follow CL 20022 and consistently use single space after a period in
documentation.
Generated with:
$ perl -i -npe 's,^(\s*// .+[a-z]\.) +([A-Z]),$1 $2,' $(git grep -l -E '^\s*//(.+\.) +([A-Z])')
Change-Id: Ia29ad823668f060e81293e848a79fc4b4857d94b
Reviewed-on: https://go-review.googlesource.com/73530
Reviewed-by: Ian Lance Taylor <iant@golang.org >
Run-TryBot: Ian Lance Taylor <iant@golang.org >
TryBot-Result: Gobot Gobot <gobot@golang.org >
2017-10-25 20:39:07 +00:00
Awn
0e01648653
windows: move memory protection constants so that they are all together
...
Change-Id: I0dee287567bdbf882e804bcd5ed7dcd6f748b30c
Reviewed-on: https://go-review.googlesource.com/47340
Reviewed-by: Alex Brainman <alex.brainman@gmail.com >
2017-07-02 23:23:31 +00:00
Awn
d18155cb60
windows: add memory-related VirtualX calls and associated constants
...
Fixes golang/go#20086
Change-Id: Ifdc2561fe6cc125fa45a57bad9750f3f3f055e66
Reviewed-on: https://go-review.googlesource.com/47335
TryBot-Result: Gobot Gobot <gobot@golang.org >
Reviewed-by: Alex Brainman <alex.brainman@gmail.com >
2017-07-02 07:53:53 +00:00