Linuxulator: Unbreak Mozilla, Firefox and RealPlayer

Intron is my alias on the Internet mag at intron.ac
Fri Aug 25 03:12:16 UTC 2006


Debugging is somewhat MUCH MORE DIFFICULT than rewriting.

Here is the minimum patch that can only unbreak Mozilla 1.7.12 (GTK 1),
Firefox 1.0.7 and RealPlayer 10.0.7.785 (playing video)
(sysctl compat.linux.osrelease=2.6.16).

It doesn't mean problems of clone(2) have been fixed. Actually, clone(2),
set_thread_area(2) and get_thread_area(2) are mis-interpreted.

Adobe Reader 7.0.8 hasn't been completely unbroken yet. Problems around
it seem to be more complicated.

My patch (against /sys/i386/linux/linux_machdep.c of CVS revision 1.53):

http://ftp.intron.ac/tmp/linux_machdep.c.1.53.diff


------------------------------------------------------------------------
                                                 From Beijing, China



More information about the freebsd-current mailing list