summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authormaya <maya>2016-12-26 22:36:30 +0000
committermaya <maya>2016-12-26 22:36:30 +0000
commit88516cd91959945ec447ff40df4e64c393de82a4 (patch)
treee9fa096ef60bf53ecf717bdf6546a52e39ff3e44 /emulators
parentb43a8b4f5aea763ca167347ce361188f1c85cb5a (diff)
downloadpkgsrc-88516cd91959945ec447ff40df4e64c393de82a4.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
-
-===========================================================================