Wine on OpenBSD, Theo de Raadt

Marcus Meissner meissner at suse.de
Thu Nov 5 10:46:41 CST 2009


On Thu, Nov 05, 2009 at 05:31:52PM +0100, Yann Droneaud wrote:
> Le jeudi 05 novembre 2009 à 17:01 +0100, Marcus Meissner a écrit :
> > On Thu, Nov 05, 2009 at 02:21:47PM +0100, Yann Droneaud wrote:
> > > Hi,
> > > 
> > > In a recent post ( <http://lwn.net/Articles/360312/> ), Theo de Raadt is
> > > criticising Linux page 0 handling. 
> > > He argue that Linux allows page 0 mapping only for Wine. 
> > > And OpenBSD won't allow page 0 mapping for security reasons (and
> > > performance reasons).
> > > 
> > > Since Wine seems to be working on other *BSD and derivative systems,
> > > is this a problem ?
> > > 
> > > Could someone comment on this issue. I don't find anything related on
> > > <http://wiki.winehq.org/OpenBSD>
> > 
> > Its actually not a real problem for Wine, last years code works without
> > NULL pages.
> > 
> 
> It seems many people thinks Wine needs to mmap the page 0 to run common
> application.
> 
> Does Wine 1.0 need it ?
> 
> If not, it's really a myth.

I installed 1.0.1 , enabled mmap_min_addr protectionm ...

Testcase:
Firefox 3.5.4 ... installs and runs nicely. (OK, I had
some crashes after Flash Player installation for youtube, but 
youtube plays).

> According to this post from Alexandre Julliard, win16 don't need it.
> 
> http://old.nabble.com/Re%3A-vm86-mode-is-not-supported-p23884662.html
> 
> Perhaps it could be good point if there's a way to disable DOS emulator 
o> at build time ?

You do not know that at build time. My WINE rpms build for i586 can be run on
i586 and x86_64 machines.

Ciao, Marcus



More information about the wine-devel mailing list