diff options
Diffstat (limited to 'include/linux/module.h')
| -rw-r--r-- | include/linux/module.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/include/linux/module.h b/include/linux/module.h index f5bc4c046461..5bf5dcd91009 100644 --- a/include/linux/module.h +++ b/include/linux/module.h | |||
| @@ -172,7 +172,7 @@ extern void cleanup_module(void); | |||
| 172 | * The following license idents are currently accepted as indicating free | 172 | * The following license idents are currently accepted as indicating free |
| 173 | * software modules | 173 | * software modules |
| 174 | * | 174 | * |
| 175 | * "GPL" [GNU Public License v2 or later] | 175 | * "GPL" [GNU Public License v2] |
| 176 | * "GPL v2" [GNU Public License v2] | 176 | * "GPL v2" [GNU Public License v2] |
| 177 | * "GPL and additional rights" [GNU Public License v2 rights and more] | 177 | * "GPL and additional rights" [GNU Public License v2 rights and more] |
| 178 | * "Dual BSD/GPL" [GNU Public License v2 | 178 | * "Dual BSD/GPL" [GNU Public License v2 |
| @@ -186,6 +186,22 @@ extern void cleanup_module(void); | |||
| 186 | * | 186 | * |
| 187 | * "Proprietary" [Non free products] | 187 | * "Proprietary" [Non free products] |
| 188 | * | 188 | * |
| 189 | * Both "GPL v2" and "GPL" (the latter also in dual licensed strings) are | ||
| 190 | * merely stating that the module is licensed under the GPL v2, but are not | ||
| 191 | * telling whether "GPL v2 only" or "GPL v2 or later". The reason why there | ||
| 192 | * are two variants is a historic and failed attempt to convey more | ||
| 193 | * information in the MODULE_LICENSE string. For module loading the | ||
| 194 | * "only/or later" distinction is completely irrelevant and does neither | ||
| 195 | * replace the proper license identifiers in the corresponding source file | ||
| 196 | * nor amends them in any way. The sole purpose is to make the | ||
| 197 | * 'Proprietary' flagging work and to refuse to bind symbols which are | ||
| 198 | * exported with EXPORT_SYMBOL_GPL when a non free module is loaded. | ||
| 199 | * | ||
| 200 | * In the same way "BSD" is not a clear license information. It merely | ||
| 201 | * states, that the module is licensed under one of the compatible BSD | ||
| 202 | * license variants. The detailed and correct license information is again | ||
| 203 | * to be found in the corresponding source files. | ||
| 204 | * | ||
| 189 | * There are dual licensed components, but when running with Linux it is the | 205 | * There are dual licensed components, but when running with Linux it is the |
| 190 | * GPL that is relevant so this is a non issue. Similarly LGPL linked with GPL | 206 | * GPL that is relevant so this is a non issue. Similarly LGPL linked with GPL |
| 191 | * is a GPL combined work. | 207 | * is a GPL combined work. |
