1.. SPDX-License-Identifier: GPL-2.0
2
3.. include:: ../disclaimer-zh_CN.rst
4
5:Original: :ref:`Documentation/process/license-rules.rst <kernel_licensing>`
6:Translator: Alex Shi <alex.shi@linux.alibaba.com>
7
8.. _cn_kernel_licensing:
9
10Linux������������������
11=================
12
13Linux������������LICENSES/preferred/GPL-2.0������������GNU���������������������������2
14���GPL-2.0���������������������������LICENSES/exceptions/Linux-syscall-note���������
15������������������������������������COPYING������������������
16
17������������������������������������������������������������������������������������������������������
18������������������������������������
19
20������������������������������������������COPYING���������������������������������������������������������
21������������������GPL-20������������������::
22
23    GPL-1.0+ : GNU���������������������v1.0���������������
24    GPL-2.0+ : GNU���������������������v2.0���������������
25    LGPL-2.0 : ������GNU������������������������v2
26    LGPL-2.0+: GNU ������������������������v2���������������
27    LGPL-2.1 : ������GNU������������������������v2.1
28    LGPL-2.1+: GNU������������������������v2.1���������������
29
30���������������������������������������������������������������������������������GPL���������������BSD���
31MIT������������
32
33������������API���UAPI���������������������������������������������������������������������������������������
34������������COPYING���������������������syscall���������������������������������������������GPL������
35���������������������������������������������������������UAPI���������������������������������Linux������
36���������������������������������������������������������������������������������������������������������������
37
38������������������������������������������������������������������������������������������������������������
39���������������������������������������������������������������������������������������������������������������
40������������
41
42���������������������������������������������������������������������������������SPDX������������������������
43SPDX���������������������������������������������������������������������������������������������������������
44SPDX���������������������Linux ������������SPDX ���������������������������������������������������
45���������������������������������������������������������������������������������������
46https://spdx.org/
47
48Linux���������������������������������������SPDX������������������������������������������������
49`���������������`_ ���������������������������������������������
50https://spdx.org/licenses/ ������������SPDX���������������������������������������������
51���������
52
53���������������������
54--------------
55
561.������:
57
58������������������������SPDX������������������������������������������������������������������������������������
59   ���������������������������������������������������������������'#!PATH_TO_INTERPRETER'������������
60   ���������������������SPDX���������������������������
61
62|
63
642. ������:
65
66   SPDX������������������������������������������������������������������������������::
67
68      C source:	// SPDX-License-Identifier: <SPDX License Expression>
69      C header:	/* SPDX-License-Identifier: <SPDX License Expression> */
70      ASM:	/* SPDX-License-Identifier: <SPDX License Expression> */
71      scripts:	# SPDX-License-Identifier: <SPDX License Expression>
72      .rst:	.. SPDX-License-Identifier: <SPDX License Expression>
73      .dts{i}:	// SPDX-License-Identifier: <SPDX License Expression>
74
75   ������������������������������������������������������������������������������������������������������������
76   C ���������������������/\*\*/���������������������������������������������������.lds������������������
77   ������������������������'ld'������������C++������������������������������������������������������������
78   ������������������������������������C++������������������
79
80|
81
823. ������:
83
84   <SPDX������������������>���SPDX���������������������SPDX���������������������������������������������
85   ������������������������WITH������������������SPDX���������������������������������������������������������
86   ���������������������������������������������������������AND���������OR������������������������������������������������
87
88   ������������������������������[L]GPL������������������������������������������������+���������������������������
89   ������������������::
90
91      // SPDX-License-Identifier: GPL-2.0+
92      // SPDX-License-Identifier: LGPL-2.1+
93
94   ������������������������������������������WITH��������������linux������UAPI���������������������::
95
96      // SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
97      // SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note
98
99   ������������������������WITH���������������������::
100
101      // SPDX-License-Identifier: GPL-2.0 WITH mif-exception
102      // SPDX-License-Identifier: GPL-2.0+ WITH GCC-exception-2.0
103
104   ������������������������������������������������������������������������������������������������������������
105   ��������������������������������������������� `���������������`_ ������������ `������`_ ���
106
107   ���������������������������������������������������������������������OR������������������dtsi������������
108   ���������������::
109
110      // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
111
112   ���������������������������������������������������::
113
114      // SPDX-License-Identifier: GPL-2.0 OR MIT
115      // SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
116      // SPDX-License-Identifier: GPL-2.0 OR Apache-2.0
117      // SPDX-License-Identifier: GPL-2.0 OR MPL-1.1
118      // SPDX-License-Identifier: (GPL-2.0 WITH Linux-syscall-note) OR MIT
119      // SPDX-License-Identifier: GPL-1.0+ OR BSD-3-Clause OR OpenSSL
120
121   ������������������������������������������������������������������������������������������AND������������
122   ���������������������������������������������������������������������������������������������������������
123   ������������������������������::
124
125      // SPDX-License-Identifier: (GPL-2.0 WITH Linux-syscall-note) AND MIT
126
127   ���������������������������������������������������::
128
129      // SPDX-License-Identifier: GPL-1.0+ AND LGPL-2.1+
130
131���������������
132----------
133
134���������������������������������������������������������������������������������
135
1361. _`������������`:
137
138   ������������������������������������������������������������������������������������������������������������
139   ������::
140
141      LICENSES/preferred/
142
143   ������������������������������������������������������ `���������`_ ���������������SPDX���������������
144   ������������������������������������������������������
145
146   ������::
147
148      LICENSES/preferred/GPL-2.0
149
150   ������GPLv2������������������������������������::
151
152      LICENSES/preferred/MIT
153
154   ������MIT������������������������������������
155
156   _`���������`:
157
158   ������������������������������������������������
159
160   - Valid-License-Identifier:
161
162   �������������������, ���������������������������������������������, ���������������������������������������
163     ������������������������������������������������������������'���������'���������������������������������
164     ���������������
165
166   - SPDX-URL:
167
168     SPDX���������URL������������������������������������������������.
169
170   - Usage-Guidance:
171
172     ���������������������������������������������������������SPDX������������������������������������������
173     ��������������� `���������������������`_ ���������������������������
174
175   - License-Text:
176
177     ������������������������������������������������������������
178
179   ������������������::
180
181      Valid-License-Identifier: GPL-2.0
182      Valid-License-Identifier: GPL-2.0+
183      SPDX-URL: https://spdx.org/licenses/GPL-2.0.html
184      Usage-Guide:
185        To use this license in source code, put one of the following SPDX
186	tag/value pairs into a comment according to the placement
187	guidelines in the licensing rules documentation.
188	For 'GNU General Public License (GPL) version 2 only' use:
189	  SPDX-License-Identifier: GPL-2.0
190	For 'GNU General Public License (GPL) version 2 or any later version' use:
191	  SPDX-License-Identifier: GPL-2.0+
192      License-Text:
193        Full license text
194
195   ::
196
197      SPDX-License-Identifier: MIT
198      SPDX-URL: https://spdx.org/licenses/MIT.html
199      Usage-Guide:
200	To use this license in source code, put the following SPDX
201	tag/value pair into a comment according to the placement
202	guidelines in the licensing rules documentation.
203	  SPDX-License-Identifier: MIT
204      License-Text:
205        Full license text
206
207|
208
2092. ���������������������:
210
211   ������������������������������������������������������������������������������������������������������::
212
213      LICENSES/other/
214
215   ������������������������������������������������������ `���������`_ ���������������SPDX���������������
216   ������������������������������������������������������
217
218   ������::
219
220      LICENSES/other/ISC
221
222   ���������������������������������������������������������::
223
224      LICENSES/other/ZLib
225
226   ������ZLIB���������������������������������.
227
228   ���������:
229
230   ������������������������������������������ `������������`_ ������������������
231
232   ������������������::
233
234      Valid-License-Identifier: ISC
235      SPDX-URL: https://spdx.org/licenses/ISC.html
236      Usage-Guide:
237        Usage of this license in the kernel for new code is discouraged
238	and it should solely be used for importing code from an already
239	existing project.
240        To use this license in source code, put the following SPDX
241	tag/value pair into a comment according to the placement
242	guidelines in the licensing rules documentation.
243	  SPDX-License-Identifier: ISC
244      License-Text:
245        Full license text
246
247|
248
2493. _`������`:
250
251   ������������������������������������������������������������������������������������������������������
252   ������������::
253
254      LICENSES/exceptions/
255
256   ������������������������������������������������������������ `���������������`_ ���
257
258   ������::
259
260      LICENSES/exceptions/Linux-syscall-note
261
262   ������Linux���������COPYING������������������Linux������������������������������������UAPI
263   ������������������::
264
265      LICENSES/exceptions/GCC-exception-2.0
266
267   ������GCC'������������'���������������������������������������������������������������������������������
268   ���������������������������������������GPL������������������������������������������������������������������
269
270   _`���������������`:
271
272   ������������������������������������������������
273
274   - SPDX-Exception-Identifier:
275
276   ����������������SPDX���������������������������������������������������
277
278   - SPDX-URL:
279
280     SPDX���������URL������������������������������������������������
281
282   - SPDX-Licenses:
283
284   �������������������������������������SPDX���������������������������
285
286   - Usage-Guidance:
287
288     ���������������������������������������������������������������SPDX������������������������������������
289     ��������������������� `���������������������`_ ���������������������������
290
291   - Exception-Text:
292
293     ������������������������������������������������������������
294
295   ������������������::
296
297      SPDX-Exception-Identifier: Linux-syscall-note
298      SPDX-URL: https://spdx.org/licenses/Linux-syscall-note.html
299      SPDX-Licenses: GPL-2.0, GPL-2.0+, GPL-1.0+, LGPL-2.0, LGPL-2.0+, LGPL-2.1, LGPL-2.1+
300      Usage-Guidance:
301        This exception is used together with one of the above SPDX-Licenses
302	to mark user-space API (uapi) header files so they can be included
303	into non GPL compliant user-space application code.
304        To use this exception add it with the keyword WITH to one of the
305	identifiers in the SPDX-Licenses tag:
306	  SPDX-License-Identifier: <SPDX-License> WITH Linux-syscall-note
307      Exception-Text:
308        Full exception text
309
310   ::
311
312      SPDX-Exception-Identifier: GCC-exception-2.0
313      SPDX-URL: https://spdx.org/licenses/GCC-exception-2.0.html
314      SPDX-Licenses: GPL-2.0, GPL-2.0+
315      Usage-Guidance:
316        The "GCC Runtime Library exception 2.0" is used together with one
317	of the above SPDX-Licenses for code imported from the GCC runtime
318	library.
319        To use this exception add it with the keyword WITH to one of the
320	identifiers in the SPDX-Licenses tag:
321	  SPDX-License-Identifier: <SPDX-License> WITH GCC-exception-2.0
322      Exception-Text:
323        Full exception text
324
325
326������SPDX���������������������������������������LICENSES������������������������������������������������
327���������������������checkpatch.pl������������������������������������������������������������, ������
328������FOSS������������������������ `FSFE REUSE initiative <https://reuse.software/>`_.
329
330_`������������`
331-----------------
332
333   ������������������������������MODULE_LICENSE������������������������������������������������������
334   ������������������SPDX-License-Identifier������������������������������������������������������
335   ������������������������������
336
337   ���������������������������������������������������������������������������������������������������������
338   ���������������������������������������������
339
340   MODULE_LICENSE������������������������������������:
341
342    ============================= =============================================
343    "GPL"			  ���������������GPL������2������������������������������������
344                                  GPL-2.0���GPL-2.0���������������������������������������
345                                  ������������������������������������������������������������������
346                                  ���������������
347
348    "GPL v2"			  ���"GPL"���������������������������������������������
349
350    "GPL and additional rights"   ������������������GPL v2���������MIT������������������������
351                                  ������������������������������������������������
352
353    "Dual MIT/GPL"		  ������������������GPL v2���������MIT������������������������
354                                  ������������������������
355
356    "Dual BSD/GPL"		  ���������������GPL v2���������BSD���������������������������
357                                  ��������� BSD���������������������������������������������������
358                                  ���������������������������������
359
360    "Dual MPL/GPL"		  ���������������GPL v2���������Mozilla Public License
361                                  ���MPL������������������������������ MPL������������������������
362                                  ���������������������������������������������������������������
363
364    "Proprietary"		  ������������������������������������������������������������������
365                                  ������������������������������������������������������������������
366                                  ���������������������������������������������������'P'���������
367                                  ������������������������������������������������������������������
368                                  ���������EXPORT_SYMBOL_GPL������������������������
369    ============================= =============================================
370
371