History

kcsan: Add missing license and copyright headers

Adds missing license and/or copyright headers for KCSAN source files.

Marco Elver committed 5 years ago

Commit bd0ccc41 parent f6a149110 files · +48 −1Browse files

Unified · Split

10 files
  1. Documentation/dev-tools/kcsan.rst +3 −0
  2. include/linux/kcsan-checks.h +6 −0
  3. include/linux/kcsan.h +7 −0
  4. kernel/kcsan/atomic.h +5 −0
  5. kernel/kcsan/core.c +5 −0
  6. kernel/kcsan/debugfs.c +5 −0
  7. kernel/kcsan/encoding.h +5 −0
  8. kernel/kcsan/kcsan.h +2 −1
  9. kernel/kcsan/report.c +5 −0
  10. kernel/kcsan/selftest.c +5 −0
Documentation/dev-tools/kcsan.rst+3−0
@@ -1,3 +1,6 @@
1+.. SPDX-License-Identifier: GPL-2.0
2+.. Copyright (C) 2019, Google LLC.
3+
14 The Kernel Concurrency Sanitizer (KCSAN)
25 ========================================
36
include/linux/kcsan-checks.h+6−0
@@ -1,4 +1,10 @@
11 /* SPDX-License-Identifier: GPL-2.0 */
2+/*
3+ * KCSAN access checks and modifiers. These can be used to explicitly check
4+ * uninstrumented accesses, or change KCSAN checking behaviour of accesses.
5+ *
6+ * Copyright (C) 2019, Google LLC.
7+ */
28
39 #ifndef _LINUX_KCSAN_CHECKS_H
410 #define _LINUX_KCSAN_CHECKS_H
include/linux/kcsan.h+7−0
@@ -1,4 +1,11 @@
11 /* SPDX-License-Identifier: GPL-2.0 */
2+/*
3+ * The Kernel Concurrency Sanitizer (KCSAN) infrastructure. Public interface and
4+ * data structures to set up runtime. See kcsan-checks.h for explicit checks and
5+ * modifiers. For more info please see Documentation/dev-tools/kcsan.rst.
6+ *
7+ * Copyright (C) 2019, Google LLC.
8+ */
29
310 #ifndef _LINUX_KCSAN_H
411 #define _LINUX_KCSAN_H
kernel/kcsan/atomic.h+5−0
@@ -1,4 +1,9 @@
11 /* SPDX-License-Identifier: GPL-2.0 */
2+/*
3+ * Rules for implicitly atomic memory accesses.
4+ *
5+ * Copyright (C) 2019, Google LLC.
6+ */
27
38 #ifndef _KERNEL_KCSAN_ATOMIC_H
49 #define _KERNEL_KCSAN_ATOMIC_H
kernel/kcsan/core.c+5−0
@@ -1,4 +1,9 @@
11 // SPDX-License-Identifier: GPL-2.0
2+/*
3+ * KCSAN core runtime.
4+ *
5+ * Copyright (C) 2019, Google LLC.
6+ */
27
38 #define pr_fmt(fmt) "kcsan: " fmt
49
kernel/kcsan/debugfs.c+5−0
@@ -1,4 +1,9 @@
11 // SPDX-License-Identifier: GPL-2.0
2+/*
3+ * KCSAN debugfs interface.
4+ *
5+ * Copyright (C) 2019, Google LLC.
6+ */
27
38 #define pr_fmt(fmt) "kcsan: " fmt
49
kernel/kcsan/encoding.h+5−0
@@ -1,4 +1,9 @@
11 /* SPDX-License-Identifier: GPL-2.0 */
2+/*
3+ * KCSAN watchpoint encoding.
4+ *
5+ * Copyright (C) 2019, Google LLC.
6+ */
27
38 #ifndef _KERNEL_KCSAN_ENCODING_H
49 #define _KERNEL_KCSAN_ENCODING_H
kernel/kcsan/kcsan.h+2−1
@@ -1,8 +1,9 @@
11 /* SPDX-License-Identifier: GPL-2.0 */
2−
32 /*
43 * The Kernel Concurrency Sanitizer (KCSAN) infrastructure. For more info please
54 * see Documentation/dev-tools/kcsan.rst.
5+ *
6+ * Copyright (C) 2019, Google LLC.
67 */
78
89 #ifndef _KERNEL_KCSAN_KCSAN_H
kernel/kcsan/report.c+5−0
@@ -1,4 +1,9 @@
11 // SPDX-License-Identifier: GPL-2.0
2+/*
3+ * KCSAN reporting.
4+ *
5+ * Copyright (C) 2019, Google LLC.
6+ */
27
38 #include <linux/debug_locks.h>
49 #include <linux/delay.h>
kernel/kcsan/selftest.c+5−0
@@ -1,4 +1,9 @@
11 // SPDX-License-Identifier: GPL-2.0
2+/*
3+ * KCSAN short boot-time selftests.
4+ *
5+ * Copyright (C) 2019, Google LLC.
6+ */
27
38 #define pr_fmt(fmt) "kcsan: " fmt
49

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t