[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210118092159.145934-1-elver@google.com>
Date: Mon, 18 Jan 2021 10:21:56 +0100
From: Marco Elver <elver@...gle.com>
To: elver@...gle.com, akpm@...ux-foundation.org
Cc: glider@...gle.com, dvyukov@...gle.com, andreyknvl@...gle.com,
linux-kernel@...r.kernel.org, linux-mm@...ck.org,
kasan-dev@...glegroups.com
Subject: [PATCH mm 1/4] kfence: add missing copyright and description headers
Add missing copyright and description headers to KFENCE source files.
Signed-off-by: Marco Elver <elver@...gle.com>
---
If appropriate, to be squashed into:
mm: add Kernel Electric-Fence infrastructure
---
include/linux/kfence.h | 6 ++++++
mm/kfence/core.c | 5 +++++
mm/kfence/kfence.h | 6 ++++++
mm/kfence/report.c | 5 +++++
4 files changed, 22 insertions(+)
diff --git a/include/linux/kfence.h b/include/linux/kfence.h
index c2c1dd100cba..a70d1ea03532 100644
--- a/include/linux/kfence.h
+++ b/include/linux/kfence.h
@@ -1,4 +1,10 @@
/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * Kernel Electric-Fence (KFENCE). Public interface for allocator and fault
+ * handler integration. For more info see Documentation/dev-tools/kfence.rst.
+ *
+ * Copyright (C) 2020, Google LLC.
+ */
#ifndef _LINUX_KFENCE_H
#define _LINUX_KFENCE_H
diff --git a/mm/kfence/core.c b/mm/kfence/core.c
index a5f8aa410a30..cfe3d32ac5b7 100644
--- a/mm/kfence/core.c
+++ b/mm/kfence/core.c
@@ -1,4 +1,9 @@
// SPDX-License-Identifier: GPL-2.0
+/*
+ * KFENCE guarded object allocator and fault handling.
+ *
+ * Copyright (C) 2020, Google LLC.
+ */
#define pr_fmt(fmt) "kfence: " fmt
diff --git a/mm/kfence/kfence.h b/mm/kfence/kfence.h
index 97282fa77840..1accc840dbbe 100644
--- a/mm/kfence/kfence.h
+++ b/mm/kfence/kfence.h
@@ -1,4 +1,10 @@
/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * Kernel Electric-Fence (KFENCE). For more info please see
+ * Documentation/dev-tools/kfence.rst.
+ *
+ * Copyright (C) 2020, Google LLC.
+ */
#ifndef MM_KFENCE_KFENCE_H
#define MM_KFENCE_KFENCE_H
diff --git a/mm/kfence/report.c b/mm/kfence/report.c
index 1996295ae71d..901bd7ee83d8 100644
--- a/mm/kfence/report.c
+++ b/mm/kfence/report.c
@@ -1,4 +1,9 @@
// SPDX-License-Identifier: GPL-2.0
+/*
+ * KFENCE reporting.
+ *
+ * Copyright (C) 2020, Google LLC.
+ */
#include <stdarg.h>
--
2.30.0.284.gd98b1dd5eaa7-goog
Powered by blists - more mailing lists