Lines Matching +full:dual +full:- +full:source
1 .. SPDX-License-Identifier: GPL-2.0
9 License version 2 only (GPL-2.0), as provided in LICENSES/preferred/GPL-2.0,
11 LICENSES/exceptions/Linux-syscall-note, as described in the COPYING file.
13 This documentation file provides a description of how each source file
17 The license described in the COPYING file applies to the kernel source
18 as a whole, though individual source files can have a different license
19 which is required to be compatible with the GPL-2.0::
21 GPL-1.0+ : GNU General Public License v1.0 or later
22 GPL-2.0+ : GNU General Public License v2.0 or later
23 LGPL-2.0 : GNU Library General Public License v2 only
24 LGPL-2.0+ : GNU Library General Public License v2 or later
25 LGPL-2.1 : GNU Lesser General Public License v2.1 only
26 LGPL-2.1+ : GNU Lesser General Public License v2.1 or later
28 Aside from that, individual files can be provided under a dual license,
32 The User-space API (UAPI) header files, which describe the interface of
33 user-space programs to the kernel are a special case. According to the
37 into any source files which create an executable running on the Linux
40 The common way of expressing the license of a source file is to add the
46 Exchange (SPDX) license identifiers in each source file. SPDX license
53 The Linux kernel requires the precise SPDX identifier in all source files.
59 -------------------------
76 C source: // SPDX-License-Identifier: <SPDX License Expression>
77 C header: /* SPDX-License-Identifier: <SPDX License Expression> */
78 ASM: /* SPDX-License-Identifier: <SPDX License Expression> */
79 scripts: # SPDX-License-Identifier: <SPDX License Expression>
80 .rst: .. SPDX-License-Identifier: <SPDX License Expression>
81 .dts{i}: // SPDX-License-Identifier: <SPDX License Expression>
99 of keywords "AND", "OR" separating sub-expressions and surrounded by
105 // SPDX-License-Identifier: GPL-2.0+
106 // SPDX-License-Identifier: LGPL-2.1+
111 // SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
112 // SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note
116 // SPDX-License-Identifier: GPL-2.0 WITH mif-exception
117 // SPDX-License-Identifier: GPL-2.0+ WITH GCC-exception-2.0
124 OR should be used if the file is dual licensed and only one license is
125 to be selected. For example, some dtsi files are available under dual
128 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
130 Examples from the kernel for license expressions in dual licensed files::
132 // SPDX-License-Identifier: GPL-2.0 OR MIT
133 // SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
134 // SPDX-License-Identifier: GPL-2.0 OR Apache-2.0
135 // SPDX-License-Identifier: GPL-2.0 OR MPL-1.1
136 // SPDX-License-Identifier: (GPL-2.0 WITH Linux-syscall-note) OR MIT
137 // SPDX-License-Identifier: GPL-1.0+ OR BSD-3-Clause OR OpenSSL
144 // SPDX-License-Identifier: (GPL-2.0 WITH Linux-syscall-note) AND MIT
149 // SPDX-License-Identifier: GPL-1.0+ AND LGPL-2.1+
152 -------------------
165 in the kernel source tree.
169 identifier which shall be used for the license in source files.
173 LICENSES/preferred/GPL-2.0
185 - Valid-License-Identifier:
192 - SPDX-URL:
197 - Usage-Guidance:
200 for the SPDX license identifiers as they should be put into source
203 - License-Text:
209 Valid-License-Identifier: GPL-2.0
210 Valid-License-Identifier: GPL-2.0+
211 SPDX-URL: https://spdx.org/licenses/GPL-2.0.html
212 Usage-Guide:
213 To use this license in source code, put one of the following SPDX
217 SPDX-License-Identifier: GPL-2.0
219 SPDX-License-Identifier: GPL-2.0+
220 License-Text:
225 SPDX-License-Identifier: MIT
226 SPDX-URL: https://spdx.org/licenses/MIT.html
227 Usage-Guide:
228 To use this license in source code, put the following SPDX
231 SPDX-License-Identifier: MIT
232 License-Text:
245 in the kernel source tree.
249 identifier which shall be used for the license in source files.
258 LICENSES/deprecated/GPL-1.0
269 Valid-License-Identifier: ISC
270 SPDX-URL: https://spdx.org/licenses/ISC.html
271 Usage-Guide:
275 To use this license in source code, put the following SPDX
278 SPDX-License-Identifier: ISC
279 License-Text:
284 3. Dual Licensing Only
286 These licenses should only be used to dual license code with another
290 LICENSES/dual/
292 in the kernel source tree.
296 identifier which shall be used for the license in source files.
300 LICENSES/dual/MPL-1.1
305 LICENSES/dual/Apache-2.0
317 Valid-License-Identifier: MPL-1.1
318 SPDX-URL: https://spdx.org/licenses/MPL-1.1.html
319 Usage-Guide:
320 Do NOT use. The MPL-1.1 is not GPL2 compatible. It may only be used for
321 dual-licensed files where the other license is GPL2 compatible.
327 SPDX-License-Identifier: MPL-1.1
328 License-Text:
341 in the kernel source tree. The files in this directory contain the full
346 LICENSES/exceptions/Linux-syscall-note
350 e.g. /\* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note \*/::
352 LICENSES/exceptions/GCC-exception-2.0
357 from source code which is not compatible with the GPL.
363 - SPDX-Exception-Identifier:
368 - SPDX-URL:
373 - SPDX-Licenses:
378 - Usage-Guidance:
382 source files according to the `License identifier syntax`_ guidelines.
384 - Exception-Text:
390 SPDX-Exception-Identifier: Linux-syscall-note
391 SPDX-URL: https://spdx.org/licenses/Linux-syscall-note.html
392 SPDX-Licenses: GPL-2.0, GPL-2.0+, GPL-1.0+, LGPL-2.0, LGPL-2.0+, LGPL-2.1, LGPL-2.1+
393 Usage-Guidance:
394 This exception is used together with one of the above SPDX-Licenses
395 to mark user-space API (uapi) header files so they can be included
396 into non GPL compliant user-space application code.
398 identifiers in the SPDX-Licenses tag:
399 SPDX-License-Identifier: <SPDX-License> WITH Linux-syscall-note
400 Exception-Text:
405 SPDX-Exception-Identifier: GCC-exception-2.0
406 SPDX-URL: https://spdx.org/licenses/GCC-exception-2.0.html
407 SPDX-Licenses: GPL-2.0, GPL-2.0+
408 Usage-Guidance:
410 of the above SPDX-Licenses for code imported from the GCC runtime
413 identifiers in the SPDX-Licenses tag:
414 SPDX-License-Identifier: <SPDX-License> WITH GCC-exception-2.0
415 Exception-Text:
422 and extract right from the source, which is recommended by various FOSS
426 -----------------
429 neither a replacement for proper source code license information
430 (SPDX-License-Identifier) nor in any way relevant for expressing or
431 determining the exact license under which the source code of the module
443 GPL-2.0-only or GPL-2.0-or-later. The exact
446 corresponding source files.
452 module source is dual licensed under a
456 "Dual MIT/GPL" The correct way of expressing that the
457 module is dual licensed under a GPL v2
460 "Dual BSD/GPL" The module is dual licensed under a GPL v2
464 in the corresponding source files.
466 "Dual MPL/GPL" The module is dual licensed under a GPL v2
471 source files.
476 which have their source code in the kernel