Skip to content

Commit 87da63f

Browse files
Add false positive and other misc rules and updates
Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
1 parent f9863e6 commit 87da63f

18 files changed

+126
-7
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
is_false_positive: yes
3+
notes: seen in kernel /Documentation/process/license-rules.rst
4+
---
5+
6+
The SPDX license identifier in kernel files shall be added at the first
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
is_false_positive: yes
3+
notes: seen in kernel /Documentation/process/license-rules.rst
4+
---
5+
6+
The SPDX license identifier is added in form of a comment.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
is_false_positive: yes
3+
notes: seen in kernel /Documentation/process/license-rules.rst
4+
---
5+
6+
(SPDX-License-Identifier) nor in any way relevant for expressing or
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
is_false_positive: yes
3+
notes: seen at drivers/block/floppy.c
4+
---
5+
6+
* modeled after the freeware MS-DOS program fdformat/88 V1.8 by
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
is_false_positive: yes
3+
notes: seen at kernel/bpf/syscall.c
4+
---
5+
6+
sizeof(license)
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
is_false_positive: yes
3+
notes: seen in kernel /Documentation/process/license-rules.rst
4+
---
5+
6+
SPDX-License-Identifier: <SPDX License Expression>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
is_false_positive: yes
3+
notes: seen in kernel /Documentation/process/license-rules.rst
4+
---
5+
6+
SPDX-License-Identifier: <SPDX-License>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
is_false_positive: yes
3+
notes: seen in kernel /Documentation/process/license-rules.rst
4+
---
5+
6+
Aside from that, individual files can be provided under a dual license,
7+
e.g. one of the compatible GPL variants and alternatively under a
8+
permissive license like BSD, MIT etc.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
is_false_positive: yes
3+
notes: seen in kernel /Documentation/process/license-rules.rst
4+
---
5+
6+
Dual Licensing Only
7+
8+
These licenses should only be used to dual license code with another
9+
license in addition to a preferred license. These licenses are available
10+
from the directory::
11+
12+
LICENSES/dual/
13+
14+
in the kernel source tree.
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
2-
license_expression: linux-syscall-exception-gpl
3-
is_license_notice: yes
4-
notes: seen in linux kernel /LICENSES/exceptions/Linux-syscall-note
2+
is_false_positive: yes
3+
notes: seen in kernel /Documentation/process/license-rules.rst
54
---
65

76
SPDX-Licenses: GPL-2.0, GPL-2.0+, GPL-1.0+, LGPL-2.0, LGPL-2.0+, LGPL-2.1, LGPL-2.1+, GPL-2.0-only, GPL-2.0-or-later
@@ -11,4 +10,4 @@ Usage-Guide:
1110
into non GPL compliant user space application code.
1211
To use this exception add it with the keyword WITH to one of the
1312
identifiers in the SPDX-Licenses tag:
14-
{{SPDX-License-Identifier: <SPDX-License> WITH Linux-syscall-note}}
13+
SPDX-License-Identifier: <SPDX-License> WITH Linux-syscall-note

0 commit comments

Comments
 (0)