| ▲ | galaxyLogic 7 hours ago | ||||||||||||||||
Makes sense to me. But so anybody can take Public Domain code and place it under GNU Public License (by dropping it into a Linux source-code file) ? Surely the person doing so would be responsible for doing so, but are they doing anything wrong? | |||||||||||||||||
| ▲ | robinsonb5 7 hours ago | parent | next [-] | ||||||||||||||||
> Surely the person doing so would be responsible for doing so, but are they doing anything wrong? You're perfectly at liberty to relicense public domain code if you wish. The only thing you can't do is enforce the new license against people who obtain the code independently - either from the same source you did, or from a different source that doesn't carry your license. | |||||||||||||||||
| |||||||||||||||||
| ▲ | miki123211 6 hours ago | parent | prev | next [-] | ||||||||||||||||
Linux code doesn't have to strictly be GPL-only, it just has to be GPL-compatible. If your license allows others to take the code and redistribute it with extra conditions, your code can be imported into the kernel. AFAIK there are parts of the kernel that are BSD-licensed. | |||||||||||||||||
| ▲ | jaggederest 6 hours ago | parent | prev | next [-] | ||||||||||||||||
The core thing about licenses, in general, is that they only grant new usage. If you can already use the code because it's public domain, they don't further restrict it. The license, in that case, is irrelevant. Remember that licenses are powered by copyright - granting a license to non-copyrighted code doesn't do anything, because there's no enforcement mechanism. This is also why copyright reform for software engineering is so important, because code entering the public domain cuts the gordian knot of licensing issues. | |||||||||||||||||
| ▲ | sambaumann 6 hours ago | parent | prev [-] | ||||||||||||||||
Sqlite’s source code is public domain. Surely if you dropped the sqlite source code into Linux, it wouldn’t suddenly become GPL code? I’m not sure how it works | |||||||||||||||||