[{"data":1,"prerenderedAt":20},["ShallowReactive",2],{"page:\u002Fresource-library\u002Fopen-source-software-licensing":3},{"path":4,"layout":5,"title":6,"description":7,"ogImage":8,"post":9,"html":19},"\u002Fresource-library\u002Fopen-source-software-licensing","post","Open source software licensing","Copyleft licenses such as the GPL bind derivative code to the same license; permissive MIT, BSD, and Apache 2.0 do not. What each means for commercial use.","\u002Fimages\u002Fresource-library\u002Fopen-source-software-licensing\u002Fopen-source-word-cloud-social.jpg",{"author":10,"published":11,"updated":12,"tags":13,"image":17,"imageAlt":18},"Krithik Chandrashekar","2017-03-02",null,[14],{"name":15,"slug":16},"Embedded systems and software","embedded-software","\u002Fimages\u002Fresource-library\u002Fopen-source-software-licensing\u002Fopen-source-word-cloud.webp","Word cloud of open source software terms around \"open source\" and \"software\"","\u003Cp>Commercial and proprietary software often includes open source components in their system. It can\n  be confusing to understand the legal implications of incorporating them without deeply\n  understanding the license itself. Open source projects generally fall under the two broad\n  categories, namely permissive and copyleft.\u003C\u002Fp>\n\u003Cp>\u003Cstrong>Disclaimer\u003C\u002Fstrong>: The contents of this article should not be used as legal advice;\n  consult an attorney when appropriate.\u003C\u002Fp>\n\u003Ch2>Copyleft\u003C\u002Fh2>\n\u003Ch3>GPL\u003C\u002Fh3>\n\u003Cp>Currently at version 3, the \u003Ca href=\"https:\u002F\u002Fwww.gnu.org\u002Fcopyleft\u002Fgpl.html\" target=\"_blank\"\n  rel=\"noopener\">GNU General Public License\u003C\u002Fa> was proposed to be the antithesis of \u003Ca\n  href=\"https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FCopyright\" target=\"_blank\" rel=\"noopener\">copyright\u003C\u002Fa> while\n  ironically still asserting it. To summarize, it allows the author to give any individual\n  permission to reproduce, adapt or distribute it, with the accompanying requirement that any\n  resulting copies or adaptations are also bound by the same licensing agreement. This implies that\n  any derivative work of the original source code should have their modifications made accessible to\n  everyone.\u003C\u002Fp>\n\u003Cp>The Linux kernel and GCC are two sources of work that incorporate GPL and are likely to be\n  integrated into proprietary work. The Linux kernel in particular is covered by its own instance of\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Ftorvalds\u002Flinux\u002Fblob\u002Fmaster\u002FCOPYING\" target=\"_blank\" rel=\"noopener\">GPL\n  2\u003C\u002Fa>. The preamble of the text indicates that user applications are not under GPL and therefore\n  not subject to GPL's restrictions. There is some complication with loadable kernel modules that\n  are distributed in binary form alone. This largely comes down to the argument over whether kernel\n  modules can be defined as \u003Cstrong>derivative\u003C\u002Fstrong> work. While legally it seems to be murky\n  territory, there is some precedent more \u003Ca href=\"https:\u002F\u002Flwn.net\u002FArticles\u002F154602\u002F\" target=\"_blank\"\n  rel=\"noopener\">recently\u003C\u002Fa> from the authors to make voiding GPL seemingly a more deliberate (and\n  legally accountable) action.\u003C\u002Fp>\n\u003Cp>The GNU Compiler Collection (GCC) is clear on having \u003Ca\n  href=\"https:\u002F\u002Fwww.gnu.org\u002Flicenses\u002Fgcc-exception-3.1.en.html\" target=\"_blank\"\n  rel=\"noopener\">compiled\u003C\u002Fa> applications not having the need to comply with the GPL license.\u003C\u002Fp>\n\u003Ch3>GPL v3 and Tivoisation\u003C\u002Fh3>\n\u003Cp>GPL Version 3 has an added clause that \u003Cstrong>prevents\u003C\u002Fstrong> hardware manufacturers from\n  placing restrictions on running modified versions of GPL-released software that has not originated\n  from the manufacturer. TiVo was accused of \u003Ca href=\"https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FTivoization\"\n  target=\"_blank\" rel=\"noopener\">circumventing\u003C\u002Fa> the goal of GPL because although it released\n  source code to comply with GPL (Version 2), it prevented users from running user-modified versions\n  of the software on their hardware. Linux in particular avoided adopting GPL version 3 for this \u003Ca\n  href=\"https:\u002F\u002Flwn.net\u002FArticles\u002F200422\u002F\" target=\"_blank\" rel=\"noopener\">clause\u003C\u002Fa> amongst\n  others.\u003C\u002Fp>\n\u003Ch2>Permissive licenses\u003C\u002Fh2>\n\u003Ch3>BSD, MIT, and Apache 2.0\u003C\u002Fh3>\n\u003Cp>Permissive licensing allows for users to make modifications to code but does not make it a\n  mandatory requirement to release the modified code publicly, which makes it much friendlier from a\n  commercial standpoint. The MIT and BSD licenses are essentially equivalent in their terms, sharing\n  common views on retaining the license text and copyright on derivative and copies of the work. A\n  commonly used project that serves as a good example for permissive license usage is the \u003Ca\n  href=\"http:\u002F\u002Felm-chan.org\u002Ffsw\u002Fff\u002F00index_e.html\" target=\"_blank\" rel=\"noopener\">FatFS\u003C\u002Fa> library\n  which only includes \u003Ca href=\"http:\u002F\u002Felm-chan.org\u002Ffsw\u002Fff\u002Fen\u002Fappnote.html#license\" target=\"_blank\"\n  rel=\"noopener\">1 clause\u003C\u002Fa> from the BSD license.\u003C\u002Fp>\n\u003Ch3>Apache 2.0\u003C\u002Fh3>\n\u003Cp>Apache 2.0 has a few additional clauses that make it \u003Cem>less permissive\u003C\u002Fem>. It requires you to\n  list all the modifications you've made to the original code. It also specifically clears Apache of\n  any endorsements.\u003C\u002Fp>",1795194794072]