Subject: Re: Linking against Linux binary modules
To: Quentin Garnier <cube@cubidou.net>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: current-users
Date: 09/28/2006 16:03:34
On Thu, Sep 28, 2006 at 03:58:47PM +0200, Quentin Garnier wrote:
> On Thu, Sep 28, 2006 at 12:15:40PM +0000, Joerg Sonnenberger wrote:
> > So socket() would be translated to __linux_socket which is provided by a wrapper
> > DSO.
> 
> AKA "in case maintaining compat_linux(4) wasn't painful enough, here is
> compat_linux(3)".
> 
> Well, if someone is brave enough to do it, he has my support :-)

It doesn't have to be a full compat layer, that's the nice part. E.g.
for flash plugins, just a bunch of functions has to be overriden and
most can be mapped directly to libc anyway.

Joerg