summaryrefslogtreecommitdiff
path: root/lib/sys
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2018-03-24 18:00:42 -0700
committerOri Bernstein <ori@eigenstate.org>2018-03-24 18:08:02 -0700
commit17cb502c1578b8e1a94f02b84cf47acfef6b20b1 (patch)
treedf989498d5edc200e564c19cb533409807fc1b7d /lib/sys
parent530c197b17925e2166b849d566d2d3588bb87369 (diff)
downloadmc-17cb502c1578b8e1a94f02b84cf47acfef6b20b1.tar.gz
Add support for OpenBSD's MAP_STACK mmap flags, use it in libthread
Diffstat (limited to 'lib/sys')
-rw-r--r--lib/sys/sys+openbsd-x64.myr1
-rw-r--r--lib/sys/sys+openbsd:6.2-x64.myr1
-rw-r--r--lib/sys/sys+openbsd:6.3-x64.myr1
3 files changed, 3 insertions, 0 deletions
diff --git a/lib/sys/sys+openbsd-x64.myr b/lib/sys/sys+openbsd-x64.myr
index 7b0df69..454567a 100644
--- a/lib/sys/sys+openbsd-x64.myr
+++ b/lib/sys/sys+openbsd-x64.myr
@@ -215,6 +215,7 @@ pkg sys =
const Mfixed : mopt = 0x10
const Mfile : mopt = 0x0
const Manon : mopt = 0x1000
+ const Mstack : mopt = 0x4000
const Mnoreplace : mopt = 0x0800
/* file types */
diff --git a/lib/sys/sys+openbsd:6.2-x64.myr b/lib/sys/sys+openbsd:6.2-x64.myr
index 4a1f0e5..62bc1d2 100644
--- a/lib/sys/sys+openbsd:6.2-x64.myr
+++ b/lib/sys/sys+openbsd:6.2-x64.myr
@@ -348,6 +348,7 @@ pkg sys =
const Mfixed : mopt = 0x10
const Mfile : mopt = 0x0
const Manon : mopt = 0x1000
+ const Mstack : mopt = 0x4000
const Mnoreplace : mopt = 0x0800
/* file types */
diff --git a/lib/sys/sys+openbsd:6.3-x64.myr b/lib/sys/sys+openbsd:6.3-x64.myr
index ce86baf..82a6b17 100644
--- a/lib/sys/sys+openbsd:6.3-x64.myr
+++ b/lib/sys/sys+openbsd:6.3-x64.myr
@@ -354,6 +354,7 @@ pkg sys =
const Mfixed : mopt = 0x10
const Mfile : mopt = 0x0
const Manon : mopt = 0x1000
+ const Mstack : mopt = 0x4000
const Mnoreplace : mopt = 0x0800
/* file types */