diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2019-03-09 12:56:17 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-03-09 12:56:17 -0500 |
commit | 1a29e857507046e413ca7a4a7c9cd32fed9ea255 (patch) | |
tree | 5a46d9c4dcab39fc588a9ac2c9f5e4c866d41254 /include/linux/module.h | |
parent | c4703acd6d4a58dc4b31ad2a8f8b14becb898d25 (diff) | |
parent | 4064174becc09a5a2385a27c8a6fd40888b0e13c (diff) |
Merge tag 'docs-5.1' of git://git.lwn.net/linux
Pull documentation updates from Jonathan Corbet:
"A fairly routine cycle for docs - lots of typo fixes, some new
documents, and more translations. There's also some LICENSES
adjustments from Thomas"
* tag 'docs-5.1' of git://git.lwn.net/linux: (74 commits)
docs: Bring some order to filesystem documentation
Documentation/locking/lockdep: Drop last two chars of sample states
doc: rcu: Suspicious RCU usage is a warning
docs: driver-api: iio: fix errors in documentation
Documentation/process/howto: Update for 4.x -> 5.x versioning
docs: Explicitly state that the 'Fixes:' tag shouldn't split lines
doc: security: Add kern-doc for lsm_hooks.h
doc: sctp: Merge and clean up rst files
Docs: Correct /proc/stat path
scripts/spdxcheck.py: fix C++ comment style detection
doc: fix typos in license-rules.rst
Documentation: fix admin-guide/README.rst minimum gcc version requirement
doc: process: complete removal of info about -git patches
doc: translations: sync translations 'remove info about -git patches'
perf-security: wrap paragraphs on 72 columns
perf-security: elaborate on perf_events/Perf privileged users
perf-security: document collected perf_events/Perf data categories
perf-security: document perf_events/Perf resource control
sysfs.txt: add note on available attribute macros
docs: kernel-doc: typo "if ... if" -> "if ... is"
...
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. |