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

Showing the changes to kernel (7 of 10 files). Show all

Unified · Split

7 files
  1. kernel/kcsan/atomic.h +5 −0
  2. kernel/kcsan/core.c +5 −0
  3. kernel/kcsan/debugfs.c +5 −0
  4. kernel/kcsan/encoding.h +5 −0
  5. kernel/kcsan/kcsan.h +2 −1
  6. kernel/kcsan/report.c +5 −0
  7. kernel/kcsan/selftest.c +5 −0
kernel/kcsan/atomic.h+5−0
@@ -1,4 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0 */1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Rules for implicitly atomic memory accesses.
4 *
5 * Copyright (C) 2019, Google LLC.
6 */
2 7
3#ifndef _KERNEL_KCSAN_ATOMIC_H8#ifndef _KERNEL_KCSAN_ATOMIC_H
4#define _KERNEL_KCSAN_ATOMIC_H9#define _KERNEL_KCSAN_ATOMIC_H
kernel/kcsan/core.c+5−0
@@ -1,4 +1,9 @@
1// SPDX-License-Identifier: GPL-2.01// SPDX-License-Identifier: GPL-2.0
2/*
3 * KCSAN core runtime.
4 *
5 * Copyright (C) 2019, Google LLC.
6 */
2 7
3#define pr_fmt(fmt) "kcsan: " fmt8#define pr_fmt(fmt) "kcsan: " fmt
4 9
kernel/kcsan/debugfs.c+5−0
@@ -1,4 +1,9 @@
1// SPDX-License-Identifier: GPL-2.01// SPDX-License-Identifier: GPL-2.0
2/*
3 * KCSAN debugfs interface.
4 *
5 * Copyright (C) 2019, Google LLC.
6 */
2 7
3#define pr_fmt(fmt) "kcsan: " fmt8#define pr_fmt(fmt) "kcsan: " fmt
4 9
kernel/kcsan/encoding.h+5−0
@@ -1,4 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0 */1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * KCSAN watchpoint encoding.
4 *
5 * Copyright (C) 2019, Google LLC.
6 */
2 7
3#ifndef _KERNEL_KCSAN_ENCODING_H8#ifndef _KERNEL_KCSAN_ENCODING_H
4#define _KERNEL_KCSAN_ENCODING_H9#define _KERNEL_KCSAN_ENCODING_H
kernel/kcsan/kcsan.h+2−1
@@ -1,8 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0 */1/* SPDX-License-Identifier: GPL-2.0 */
2
3/*2/*
4 * The Kernel Concurrency Sanitizer (KCSAN) infrastructure. For more info please3 * The Kernel Concurrency Sanitizer (KCSAN) infrastructure. For more info please
5 * see Documentation/dev-tools/kcsan.rst.4 * see Documentation/dev-tools/kcsan.rst.
5 *
6 * Copyright (C) 2019, Google LLC.
6 */7 */
7 8
8#ifndef _KERNEL_KCSAN_KCSAN_H9#ifndef _KERNEL_KCSAN_KCSAN_H
kernel/kcsan/report.c+5−0
@@ -1,4 +1,9 @@
1// SPDX-License-Identifier: GPL-2.01// SPDX-License-Identifier: GPL-2.0
2/*
3 * KCSAN reporting.
4 *
5 * Copyright (C) 2019, Google LLC.
6 */
2 7
3#include <linux/debug_locks.h>8#include <linux/debug_locks.h>
4#include <linux/delay.h>9#include <linux/delay.h>
kernel/kcsan/selftest.c+5−0
@@ -1,4 +1,9 @@
1// SPDX-License-Identifier: GPL-2.01// SPDX-License-Identifier: GPL-2.0
2/*
3 * KCSAN short boot-time selftests.
4 *
5 * Copyright (C) 2019, Google LLC.
6 */
2 7
3#define pr_fmt(fmt) "kcsan: " fmt8#define pr_fmt(fmt) "kcsan: " fmt
4 9

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