summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authormaya <maya@pkgsrc.org>2016-12-26 22:36:30 +0000
committermaya <maya@pkgsrc.org>2016-12-26 22:36:30 +0000
commite2446e113e612d941ab696d62c6539da4ccf5175 (patch)
treee5322f873d64c60d0581c66f8cdcf902322423ab /emulators
parent76bcf1303b61297e0ea605bc0db4d63817d74999 (diff)
downloadpkgsrc-e2446e113e612d941ab696d62c6539da4ccf5175.tar.gz
make the message about null page less OS specific (suggest linux
sysctl as well)
Diffstat (limited to 'emulators')
-rw-r--r--emulators/wine-devel/MESSAGE14
-rw-r--r--emulators/wine-devel/MESSAGE.NetBSD10
2 files changed, 14 insertions, 10 deletions
diff --git a/emulators/wine-devel/MESSAGE b/emulators/wine-devel/MESSAGE
new file mode 100644
index 00000000000..4dd29b11c64
--- /dev/null
+++ b/emulators/wine-devel/MESSAGE
@@ -0,0 +1,14 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.3 2016/12/26 22:36:30 maya Exp $
+
+If you are experiencing crashes, it may be due to a security measure
+blocking the mapping of the NULL page.
+
+You can disable this (at a security cost) with the following commands:
+
+ NetBSD:
+ # sysctl -w vm.user_va0_disable=0
+ Linux:
+ # sysctl -w vm.mmap_min_addr=0
+
+===========================================================================
diff --git a/emulators/wine-devel/MESSAGE.NetBSD b/emulators/wine-devel/MESSAGE.NetBSD
deleted file mode 100644
index 0b116816590..00000000000
--- a/emulators/wine-devel/MESSAGE.NetBSD
+++ /dev/null
@@ -1,10 +0,0 @@
-===========================================================================
-$NetBSD: MESSAGE.NetBSD,v 1.1 2016/09/18 16:37:11 maya Exp $
-
-In NetBSD >= 8.0, it's not possible to map the NULL page for security
-reasons. Many Windows programs will crash from this limitation. You
-can disable it with:
-
- # sysctl -w vm.user_va0_disable=0
-
-===========================================================================