Re: Linux in a binary world... a doomsday scenario

Alan Cox
2005-12-06T20:27:20Z

On Maw, 2005-12-06 at 14:55 -0500, Lee Revell wrote:
> > It's still legally shaky. The "Chinese wall" approach I described above
> > is beyond reproach, and that's where Linux needs to be.
>
> I know you are not a lawyer but do you have a pointer or two? As long
> as we are REing for interoperability I've never read anything to
> indicate the approach I described could be a problem even in the US.

It isnt a problem providing you don't copy anything. The chinese wall
approach is used to avoid the risk that what happens is not

"Oh so register foo bit 4 controls the backlight"

but

"this sequence of instructions turns on the backlight"

The risk is that by reading the disassembled binary and rewriting it a
programming might actually be deemed to have copied code if they
accidentally just reproduce the original implementation.

Often of course disassembly is the hard way to solve the problem. Firing
up the driver with analyser tools and studying how it works can be far
more informative. With the ATI R3xx work asking the binary driver to
draw a wide range of triangles and monitoring the command queue output
for each request provides very good info, while attempting to deciphers
megabytes of windows 3D driver code, which is likely to contain self
modifying or JIT generated pipelines, is going to be extremely hard
work.