diff options
author | maya <maya@pkgsrc.org> | 2016-12-26 22:36:30 +0000 |
---|---|---|
committer | maya <maya@pkgsrc.org> | 2016-12-26 22:36:30 +0000 |
commit | e2446e113e612d941ab696d62c6539da4ccf5175 (patch) | |
tree | e5322f873d64c60d0581c66f8cdcf902322423ab /emulators/wine-devel | |
parent | 76bcf1303b61297e0ea605bc0db4d63817d74999 (diff) | |
download | pkgsrc-e2446e113e612d941ab696d62c6539da4ccf5175.tar.gz |
make the message about null page less OS specific (suggest linux
sysctl as well)
Diffstat (limited to 'emulators/wine-devel')
-rw-r--r-- | emulators/wine-devel/MESSAGE | 14 | ||||
-rw-r--r-- | emulators/wine-devel/MESSAGE.NetBSD | 10 |
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 - -=========================================================================== |