Skip to contentSkip to conversation

kfence: add missing copyright and description headers

PATCH In review Marco Elver 2 participants 8 messages Jan 18, 2021

Subsystems (7)
lore
Share & tools
lore

Marco Elver

author maintainer
#0 lore raw

PATCH 1/4 kfence: add missing copyright and description headers

Add missing copyright and description headers to KFENCE source files.

---
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(+)
include/linux/kfence.h +6 -0
index c2c1dd100cba..a70d1ea03532 100644
@@ -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
mm/kfence/core.c +5 -0
index a5f8aa410a30..cfe3d32ac5b7 100644
@@ -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
 
mm/kfence/kfence.h +6 -0
index 97282fa77840..1accc840dbbe 100644
@@ -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
mm/kfence/report.c +5 -0
index 1996295ae71d..901bd7ee83d8 100644
@@ -1,4 +1,9 @@
 // SPDX-License-Identifier: GPL-2.0
+/*
+ * KFENCE reporting.
+ *
+ * Copyright (C) 2020, Google LLC.
+ */
 
 #include <stdarg.h>
 
Signature · 1 line
2.30.0.284.gd98b1dd5eaa7-goog
author maintainer
#1 lore raw

PATCH 2/4 kfence, x86: add missing copyright and description header

Add missing copyright and description header to KFENCE source file.

---
If appropriate, to be squashed into:

x86, kfence: enable KFENCE for x86

---
 arch/x86/include/asm/kfence.h | 5 +++++
 1 file changed, 5 insertions(+)
arch/x86/include/asm/kfence.h +5 -0
index 2f3f877a7a5c..97bbb4a9083a 100644
@@ -1,4 +1,9 @@
 /* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * x86 KFENCE support.
+ *
+ * Copyright (C) 2020, Google LLC.
+ */
 
 #ifndef _ASM_X86_KFENCE_H
 #define _ASM_X86_KFENCE_H
Signature · 1 line
2.30.0.284.gd98b1dd5eaa7-goog
author maintainer
#3 lore raw

PATCH 3/4 kfence, arm64: add missing copyright and description header

In reply to Marco Elver

Add missing copyright and description header to KFENCE source file.

---
If appropriate, to be squashed into:

arm64, kfence: enable KFENCE for ARM64

---
 arch/arm64/include/asm/kfence.h | 5 +++++
 1 file changed, 5 insertions(+)
arch/arm64/include/asm/kfence.h +5 -0
index 6c0afeeab635..d061176d57ea 100644
@@ -1,4 +1,9 @@
 /* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * arm64 KFENCE support.
+ *
+ * Copyright (C) 2020, Google LLC.
+ */
 
 #ifndef __ASM_KFENCE_H
 #define __ASM_KFENCE_H
Signature · 1 line
2.30.0.284.gd98b1dd5eaa7-goog
author maintainer
#5 lore raw

PATCH 4/4 kfence: add missing copyright header to documentation

In reply to Marco Elver

Add missing copyright header to KFENCE documentation.

---
If appropriate, to be squashed into:

kfence, Documentation: add KFENCE documentation

---
 Documentation/dev-tools/kfence.rst | 1 +
 1 file changed, 1 insertion(+)
Documentation/dev-tools/kfence.rst +1 -0
index 06a454ec7712..58a0a5fa1ddc 100644
@@ -1,4 +1,5 @@
 .. SPDX-License-Identifier: GPL-2.0
+.. Copyright (C) 2020, Google LLC.
 
 Kernel Electric-Fence (KFENCE)
 ==============================
Signature · 1 line
2.30.0.284.gd98b1dd5eaa7-goog
maintainer Reviewed-by on v1 1/4
#7 lore raw
In reply to Marco Elver
Quoted 4 lines · Marco Elver

Add missing copyright and description headers to KFENCE source files.

Quoted 72 lines

---
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(+)
include/linux/kfence.h +6 -0
index c2c1dd100cba..a70d1ea03532 100644
@@ -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
mm/kfence/core.c +5 -0
index a5f8aa410a30..cfe3d32ac5b7 100644
@@ -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
 
mm/kfence/kfence.h +6 -0
index 97282fa77840..1accc840dbbe 100644
@@ -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
mm/kfence/report.c +5 -1
index 1996295ae71d..901bd7ee83d8 100644
@@ -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

Signature · 10 lines
Alexander Potapenko
Software Engineer

Google Germany GmbH
Erika-Mann-Straße, 33
80636 München

Geschäftsführer: Paul Manicle, Halimah DeLaine Prado
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg