On Wed, Nov 4, 2009 at 5:54 PM, Theo de Raadt <[email protected]>
wrote:
>> > For the record, this particular problem was resolved in OpenBSD a
>> while back, in 2008.
>>
>> Nice, but:
>>
>> "Since 2.6.23, it has been possible to prevent applications from
>> mapping low pages (to prevent null pointer dereferencing in the
>> kernel) via the /proc/sys/vm/mmap_min_addr sysctl, which sets the
>> minimum address allowed for such mappings."
>>
>> 2.6.23 released: B Tue, 9 Oct 2007
>>
>> Ref:
>> http://lkml.org/lkml/2007/10/9/241
>> http://james-morris.livejournal.com/26303.html
>
> And that knob was turned off.

Actually no it was turned on.

Fedora 8 was released in Nov 2007 and to run certain Wine applications
as non-root you had to disable the vm.mmap_min_addr sysctl.
    By default it was set to a value of 65536 and you had to change this to
0.

This is well documented all over the Wine forums.
    I know because this drove me up the bend when they introduced this patch.


--
"Opportunity is most often missed by people because it is dressed in
overalls and looks like work."
    Thomas Alva Edison
    Inventor of 1093 patents, including:
        The light bulb, phonogram and motion pictures.

Reply via email to