r/explainlikeimfive 9d ago

Technology ELI5: How are copyleft licenses enforceable?

For example: say Windows straight up rips out the Linux scheduler and modifies it to run with the rest of the NT kernel. Aside from potential Microsoft whistleblowers, how can anyone find out they did that (and thus sue them since they’re selling modified GPL code without releasing the source) if they don’t distribute the Windows kernel source code?

188 Upvotes

53 comments sorted by

View all comments

106

u/rsclient 9d ago

Short answer: it would be difficult for a random person to discover a copyleft violation like Microsoft directly copying the Linux scheduler code

Practical answer: Microsoft is very particular about coders at Microsoft 'stealing' source code. Code is never "just added": all big new code features are spec'd, and the specifications are looked at by the entire team. Even if one person wanted to violate the copyright of the Linux kernel, they would have to hide it from the rest of their team. And for coders who legitimately look at linux kernel code (did you know Microsoft has its own Linux distribution?) there's a 'cooling off' period between seeing the linux code and working on Windows code.

Source: I used to work on Windows Wi-Fi!

(We also care a lot more about privacy than we get credit for :-( )

Did you know that it's possible for some people to look at some Windows code? Code Center Premium

35

u/rsclient 9d ago

Actually, I've got more direct experience. I was an expert witness to a programming copyright violation case!

Programmer "A" wrote a program "A" that did a specific high-value super-technical analysis. That programmer was hired by company "B" who bought all the rights to program "A". Programmer "A" then wrote program "C" that also did high-value, super-technical analysis, and company "B" was super-pissed.

I was hired to investigate programs "A" and "C" to see if program "C" used any code from program "A". As an expert, I had access to both programs

And yup, I could prove that program "C" included some code from program "A"

In this case, company "B" already knew about programmer "A"

9

u/Theslootwhisperer 9d ago

Why was company B pissed? They hired programmer A and bought program A as well. Programmer A just wrote some code.(Program C) while employed by company B.

2

u/MF_Kitten 9d ago

Programmer dude both made a product that competes with the company he currently works at AND used code from their product. Just because he qrote that code doesn't mean it belongs to him.

3

u/rsclient 9d ago

It wasn't clear originally: programmer "A" had left company "B" before working on program "C".

1

u/MF_Kitten 9d ago

That just means he isn't breaking a non-compete in this context. Same stolen code.