summaryrefslogtreecommitdiffhomepage
path: root/pkg/abi
diff options
context:
space:
mode:
authorJamie Liu <jamieliu@google.com>2018-05-11 11:16:57 -0700
committerShentubot <shentubot@google.com>2018-05-11 11:18:31 -0700
commit12c161f27865d0e389cd593c669bd740d7f24692 (patch)
tree16cc86b1268592766af6c0fcd018608eacc808bc /pkg/abi
parentf24db99498a8a061f3b80e633eaa648984338e58 (diff)
Implement MAP_32BIT.
PiperOrigin-RevId: 196281052 Change-Id: Ie620a0f983a1bf2570d0003d4754611879335c1c
Diffstat (limited to 'pkg/abi')
-rw-r--r--pkg/abi/linux/mm.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/abi/linux/mm.go b/pkg/abi/linux/mm.go
index 2263653cc..b48e1d18a 100644
--- a/pkg/abi/linux/mm.go
+++ b/pkg/abi/linux/mm.go
@@ -31,6 +31,7 @@ const (
MAP_PRIVATE = 1 << 1
MAP_FIXED = 1 << 4
MAP_ANONYMOUS = 1 << 5
+ MAP_32BIT = 1 << 6 // arch/x86/include/uapi/asm/mman.h
MAP_GROWSDOWN = 1 << 8
MAP_DENYWRITE = 1 << 11
MAP_EXECUTABLE = 1 << 12