diff options
Diffstat (limited to 'kernel/bpf')
-rw-r--r-- | kernel/bpf/bpf_lru_list.c | 5 | ||||
-rw-r--r-- | kernel/bpf/bpf_lru_list.h | 5 | ||||
-rw-r--r-- | kernel/bpf/core.c | 6 | ||||
-rw-r--r-- | kernel/bpf/map_in_map.c | 5 | ||||
-rw-r--r-- | kernel/bpf/map_in_map.h | 5 | ||||
-rw-r--r-- | kernel/bpf/percpu_freelist.c | 5 | ||||
-rw-r--r-- | kernel/bpf/percpu_freelist.h | 5 | ||||
-rw-r--r-- | kernel/bpf/stackmap.c | 5 |
8 files changed, 8 insertions, 33 deletions
diff --git a/kernel/bpf/bpf_lru_list.c b/kernel/bpf/bpf_lru_list.c index e6ef4401a138..1b6b9349cb85 100644 --- a/kernel/bpf/bpf_lru_list.c +++ b/kernel/bpf/bpf_lru_list.c | |||
@@ -1,8 +1,5 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* Copyright (c) 2016 Facebook | 2 | /* Copyright (c) 2016 Facebook |
2 | * | ||
3 | * This program is free software; you can redistribute it and/or | ||
4 | * modify it under the terms of version 2 of the GNU General Public | ||
5 | * License as published by the Free Software Foundation. | ||
6 | */ | 3 | */ |
7 | #include <linux/cpumask.h> | 4 | #include <linux/cpumask.h> |
8 | #include <linux/spinlock.h> | 5 | #include <linux/spinlock.h> |
diff --git a/kernel/bpf/bpf_lru_list.h b/kernel/bpf/bpf_lru_list.h index 7d4f89b7cb84..f02504640e18 100644 --- a/kernel/bpf/bpf_lru_list.h +++ b/kernel/bpf/bpf_lru_list.h | |||
@@ -1,8 +1,5 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* Copyright (c) 2016 Facebook | 2 | /* Copyright (c) 2016 Facebook |
2 | * | ||
3 | * This program is free software; you can redistribute it and/or | ||
4 | * modify it under the terms of version 2 of the GNU General Public | ||
5 | * License as published by the Free Software Foundation. | ||
6 | */ | 3 | */ |
7 | #ifndef __BPF_LRU_LIST_H_ | 4 | #ifndef __BPF_LRU_LIST_H_ |
8 | #define __BPF_LRU_LIST_H_ | 5 | #define __BPF_LRU_LIST_H_ |
diff --git a/kernel/bpf/core.c b/kernel/bpf/core.c index 242a643af82f..7c473f208a10 100644 --- a/kernel/bpf/core.c +++ b/kernel/bpf/core.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
1 | /* | 2 | /* |
2 | * Linux Socket Filter - Kernel level socket filtering | 3 | * Linux Socket Filter - Kernel level socket filtering |
3 | * | 4 | * |
@@ -12,11 +13,6 @@ | |||
12 | * Alexei Starovoitov <ast@plumgrid.com> | 13 | * Alexei Starovoitov <ast@plumgrid.com> |
13 | * Daniel Borkmann <dborkman@redhat.com> | 14 | * Daniel Borkmann <dborkman@redhat.com> |
14 | * | 15 | * |
15 | * This program is free software; you can redistribute it and/or | ||
16 | * modify it under the terms of the GNU General Public License | ||
17 | * as published by the Free Software Foundation; either version | ||
18 | * 2 of the License, or (at your option) any later version. | ||
19 | * | ||
20 | * Andi Kleen - Fix a few bad bugs and races. | 16 | * Andi Kleen - Fix a few bad bugs and races. |
21 | * Kris Katterjohn - Added many additional checks in bpf_check_classic() | 17 | * Kris Katterjohn - Added many additional checks in bpf_check_classic() |
22 | */ | 18 | */ |
diff --git a/kernel/bpf/map_in_map.c b/kernel/bpf/map_in_map.c index 3dff41403583..fab4fb134547 100644 --- a/kernel/bpf/map_in_map.c +++ b/kernel/bpf/map_in_map.c | |||
@@ -1,8 +1,5 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* Copyright (c) 2017 Facebook | 2 | /* Copyright (c) 2017 Facebook |
2 | * | ||
3 | * This program is free software; you can redistribute it and/or | ||
4 | * modify it under the terms of version 2 of the GNU General Public | ||
5 | * License as published by the Free Software Foundation. | ||
6 | */ | 3 | */ |
7 | #include <linux/slab.h> | 4 | #include <linux/slab.h> |
8 | #include <linux/bpf.h> | 5 | #include <linux/bpf.h> |
diff --git a/kernel/bpf/map_in_map.h b/kernel/bpf/map_in_map.h index 6183db9ec08c..a507bf6ef8b9 100644 --- a/kernel/bpf/map_in_map.h +++ b/kernel/bpf/map_in_map.h | |||
@@ -1,8 +1,5 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* Copyright (c) 2017 Facebook | 2 | /* Copyright (c) 2017 Facebook |
2 | * | ||
3 | * This program is free software; you can redistribute it and/or | ||
4 | * modify it under the terms of version 2 of the GNU General Public | ||
5 | * License as published by the Free Software Foundation. | ||
6 | */ | 3 | */ |
7 | #ifndef __MAP_IN_MAP_H__ | 4 | #ifndef __MAP_IN_MAP_H__ |
8 | #define __MAP_IN_MAP_H__ | 5 | #define __MAP_IN_MAP_H__ |
diff --git a/kernel/bpf/percpu_freelist.c b/kernel/bpf/percpu_freelist.c index 0c1b4ba9e90e..6e090140b924 100644 --- a/kernel/bpf/percpu_freelist.c +++ b/kernel/bpf/percpu_freelist.c | |||
@@ -1,8 +1,5 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* Copyright (c) 2016 Facebook | 2 | /* Copyright (c) 2016 Facebook |
2 | * | ||
3 | * This program is free software; you can redistribute it and/or | ||
4 | * modify it under the terms of version 2 of the GNU General Public | ||
5 | * License as published by the Free Software Foundation. | ||
6 | */ | 3 | */ |
7 | #include "percpu_freelist.h" | 4 | #include "percpu_freelist.h" |
8 | 5 | ||
diff --git a/kernel/bpf/percpu_freelist.h b/kernel/bpf/percpu_freelist.h index c3960118e617..fbf8a8a28979 100644 --- a/kernel/bpf/percpu_freelist.h +++ b/kernel/bpf/percpu_freelist.h | |||
@@ -1,8 +1,5 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* Copyright (c) 2016 Facebook | 2 | /* Copyright (c) 2016 Facebook |
2 | * | ||
3 | * This program is free software; you can redistribute it and/or | ||
4 | * modify it under the terms of version 2 of the GNU General Public | ||
5 | * License as published by the Free Software Foundation. | ||
6 | */ | 3 | */ |
7 | #ifndef __PERCPU_FREELIST_H__ | 4 | #ifndef __PERCPU_FREELIST_H__ |
8 | #define __PERCPU_FREELIST_H__ | 5 | #define __PERCPU_FREELIST_H__ |
diff --git a/kernel/bpf/stackmap.c b/kernel/bpf/stackmap.c index 950ab2f28922..d38e49f943a1 100644 --- a/kernel/bpf/stackmap.c +++ b/kernel/bpf/stackmap.c | |||
@@ -1,8 +1,5 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* Copyright (c) 2016 Facebook | 2 | /* Copyright (c) 2016 Facebook |
2 | * | ||
3 | * This program is free software; you can redistribute it and/or | ||
4 | * modify it under the terms of version 2 of the GNU General Public | ||
5 | * License as published by the Free Software Foundation. | ||
6 | */ | 3 | */ |
7 | #include <linux/bpf.h> | 4 | #include <linux/bpf.h> |
8 | #include <linux/jhash.h> | 5 | #include <linux/jhash.h> |