pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/wine-devel wine-devel: add note about NULL p...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/991ab3613905
branches:  trunk
changeset: 352713:991ab3613905
user:      maya <maya%pkgsrc.org@localhost>
date:      Sun Sep 18 16:11:13 2016 +0000

description:
wine-devel: add note about NULL page not being mappable by default
under NetBSD, and how to work around it for programs that need it.

thanks maxv@ for keeping this optional.

diffstat:

 emulators/wine-devel/MESSAGE |  10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diffs (14 lines):

diff -r 37e5ec59da49 -r 991ab3613905 emulators/wine-devel/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/wine-devel/MESSAGE      Sun Sep 18 16:11:13 2016 +0000
@@ -0,0 +1,10 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2016/09/18 16:11:13 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