kcsan: Add missing license and copyright headers
authorMarco Elver <elver@google.com>
Fri, 15 Jan 2021 17:09:53 +0000 (18:09 +0100)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 8 Mar 2021 22:27:43 +0000 (14:27 -0800)
Adds missing license and/or copyright headers for KCSAN source files.

Signed-off-by: Marco Elver <elver@google.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Documentation/dev-tools/kcsan.rst
include/linux/kcsan-checks.h
include/linux/kcsan.h
kernel/kcsan/atomic.h
kernel/kcsan/core.c
kernel/kcsan/debugfs.c
kernel/kcsan/encoding.h
kernel/kcsan/kcsan.h
kernel/kcsan/report.c
kernel/kcsan/selftest.c

index be7a0b0e1f28e7fa8e01f88a571465924dbe6d10..d85ce238ace78444552c752b00046283e035f328 100644 (file)
@@ -1,3 +1,6 @@
+.. SPDX-License-Identifier: GPL-2.0
+.. Copyright (C) 2019, Google LLC.
+
 The Kernel Concurrency Sanitizer (KCSAN)
 ========================================
 
index cf14840609ce5dafaf9fdbaa555198fd70ae7b0e..9fd0ad80fef6cf553de667eef75ce47a909ff823 100644 (file)
@@ -1,4 +1,10 @@
 /* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * KCSAN access checks and modifiers. These can be used to explicitly check
+ * uninstrumented accesses, or change KCSAN checking behaviour of accesses.
+ *
+ * Copyright (C) 2019, Google LLC.
+ */
 
 #ifndef _LINUX_KCSAN_CHECKS_H
 #define _LINUX_KCSAN_CHECKS_H
index 53340d8789f97ac0a2341100e5a10f3f9f838c0c..fc266ecb2a4dbe02198f949a469e324a862043ed 100644 (file)
@@ -1,4 +1,11 @@
 /* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * The Kernel Concurrency Sanitizer (KCSAN) infrastructure. Public interface and
+ * data structures to set up runtime. See kcsan-checks.h for explicit checks and
+ * modifiers. For more info please see Documentation/dev-tools/kcsan.rst.
+ *
+ * Copyright (C) 2019, Google LLC.
+ */
 
 #ifndef _LINUX_KCSAN_H
 #define _LINUX_KCSAN_H
index 75fe701f41277ba13e07b92db0fdc0ce80dc1d29..530ae1bda8e75ea90d19c375047bc19182f72847 100644 (file)
@@ -1,4 +1,9 @@
 /* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * Rules for implicitly atomic memory accesses.
+ *
+ * Copyright (C) 2019, Google LLC.
+ */
 
 #ifndef _KERNEL_KCSAN_ATOMIC_H
 #define _KERNEL_KCSAN_ATOMIC_H
index 23e7acb5c66798c829e57f3602c3e61bb7a476fc..45c821d4e8bd12003faa71e87ec5adde6957747c 100644 (file)
@@ -1,4 +1,9 @@
 // SPDX-License-Identifier: GPL-2.0
+/*
+ * KCSAN core runtime.
+ *
+ * Copyright (C) 2019, Google LLC.
+ */
 
 #define pr_fmt(fmt) "kcsan: " fmt
 
index 209ad8dcfcecfaec0f9c4244baad813de7bb0a4b..c1dd02f3be8b8c5e22c7bb7de3588d9f32e6096a 100644 (file)
@@ -1,4 +1,9 @@
 // SPDX-License-Identifier: GPL-2.0
+/*
+ * KCSAN debugfs interface.
+ *
+ * Copyright (C) 2019, Google LLC.
+ */
 
 #define pr_fmt(fmt) "kcsan: " fmt
 
index 7ee40552490474ea98a42be965b18a665a3c24df..170a2bb22f537ca436146f21bedb9c370555f6cb 100644 (file)
@@ -1,4 +1,9 @@
 /* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * KCSAN watchpoint encoding.
+ *
+ * Copyright (C) 2019, Google LLC.
+ */
 
 #ifndef _KERNEL_KCSAN_ENCODING_H
 #define _KERNEL_KCSAN_ENCODING_H
index 87ccdb3b051fd7f9d66b6686ca8ded2b8ebaf502..9881099d4179160faeae3eb9b97e6128eeef2b63 100644 (file)
@@ -1,8 +1,9 @@
 /* SPDX-License-Identifier: GPL-2.0 */
-
 /*
  * The Kernel Concurrency Sanitizer (KCSAN) infrastructure. For more info please
  * see Documentation/dev-tools/kcsan.rst.
+ *
+ * Copyright (C) 2019, Google LLC.
  */
 
 #ifndef _KERNEL_KCSAN_KCSAN_H
index d3bf87e6007ca7d555794606b6d56e90dbdaf363..13dce3c664d6342a6313b841ea688044077705d8 100644 (file)
@@ -1,4 +1,9 @@
 // SPDX-License-Identifier: GPL-2.0
+/*
+ * KCSAN reporting.
+ *
+ * Copyright (C) 2019, Google LLC.
+ */
 
 #include <linux/debug_locks.h>
 #include <linux/delay.h>
index 9014a3a82cf9c18b2e2159dd13d71b66150a3983..7f29cb0f5e6341ffb20afbcddc5a16edc459e02c 100644 (file)
@@ -1,4 +1,9 @@
 // SPDX-License-Identifier: GPL-2.0
+/*
+ * KCSAN short boot-time selftests.
+ *
+ * Copyright (C) 2019, Google LLC.
+ */
 
 #define pr_fmt(fmt) "kcsan: " fmt