pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/wine-devel make the message about null page ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/412a6a860354
branches:  trunk
changeset: 356293:412a6a860354
user:      maya <maya%pkgsrc.org@localhost>
date:      Mon Dec 26 22:36:30 2016 +0000

description:
make the message about null page less OS specific (suggest linux
sysctl as well)

diffstat:

 emulators/wine-devel/MESSAGE        |  14 ++++++++++++++
 emulators/wine-devel/MESSAGE.NetBSD |  10 ----------
 2 files changed, 14 insertions(+), 10 deletions(-)

diffs (32 lines):

diff -r b57723a1e230 -r 412a6a860354 emulators/wine-devel/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/wine-devel/MESSAGE      Mon Dec 26 22:36:30 2016 +0000
@@ -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 -r b57723a1e230 -r 412a6a860354 emulators/wine-devel/MESSAGE.NetBSD
--- a/emulators/wine-devel/MESSAGE.NetBSD       Mon Dec 26 13:39:33 2016 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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
-
-===========================================================================



Home | Main Index | Thread Index | Old Index