diff --git a/bpf/cgroup/bpf_cgroup_events.h b/bpf/cgroup/bpf_cgroup_events.h index a26f7514914..2743c91d8e4 100644 --- a/bpf/cgroup/bpf_cgroup_events.h +++ b/bpf/cgroup/bpf_cgroup_events.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* Copyright Authors of Tetragon */ #ifndef _BPF_CGROUP_EVENTS__ diff --git a/bpf/cgroup/bpf_cgroup_mkdir.c b/bpf/cgroup/bpf_cgroup_mkdir.c index b54785bdc7b..56eb845207e 100644 --- a/bpf/cgroup/bpf_cgroup_mkdir.c +++ b/bpf/cgroup/bpf_cgroup_mkdir.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* Copyright Authors of Tetragon */ #include "vmlinux.h" diff --git a/bpf/cgroup/bpf_cgroup_release.c b/bpf/cgroup/bpf_cgroup_release.c index be736ad92dc..b324dd69f01 100644 --- a/bpf/cgroup/bpf_cgroup_release.c +++ b/bpf/cgroup/bpf_cgroup_release.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* Copyright Authors of Tetragon */ #include "vmlinux.h" diff --git a/bpf/cgroup/bpf_cgroup_rmdir.c b/bpf/cgroup/bpf_cgroup_rmdir.c index d0477aad6a5..c31d97a02b6 100644 --- a/bpf/cgroup/bpf_cgroup_rmdir.c +++ b/bpf/cgroup/bpf_cgroup_rmdir.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* Copyright Authors of Tetragon */ #include "vmlinux.h" diff --git a/bpf/lib/bpf_cgroup.h b/bpf/lib/bpf_cgroup.h index b7892bc5c7b..94ccb106d7c 100644 --- a/bpf/lib/bpf_cgroup.h +++ b/bpf/lib/bpf_cgroup.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* Copyright Authors of Tetragon */ #ifndef __BPF_CGROUP_ diff --git a/bpf/lib/bpf_cred.h b/bpf/lib/bpf_cred.h index 66823c785d9..f847521bc0c 100644 --- a/bpf/lib/bpf_cred.h +++ b/bpf/lib/bpf_cred.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* Copyright Authors of Tetragon */ #ifndef __BPF_CRED_ diff --git a/bpf/lib/bpf_event.h b/bpf/lib/bpf_event.h index ccee1415351..52ade8e9104 100644 --- a/bpf/lib/bpf_event.h +++ b/bpf/lib/bpf_event.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* Copyright Authors of Cilium */ #ifndef __BPF_EVENT_H diff --git a/bpf/lib/bpf_helpers.h b/bpf/lib/bpf_helpers.h index 5d468813e6c..f57410880af 100644 --- a/bpf/lib/bpf_helpers.h +++ b/bpf/lib/bpf_helpers.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* Copyright Authors of Cilium */ #ifndef __BPF_HELPERS_ diff --git a/bpf/lib/bpf_task.h b/bpf/lib/bpf_task.h index 9d2258fec3e..4a5a5f0341f 100644 --- a/bpf/lib/bpf_task.h +++ b/bpf/lib/bpf_task.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* Copyright Authors of Cilium */ #ifndef _BPF_TASK_H diff --git a/bpf/lib/common.h b/bpf/lib/common.h index 515716ec342..69c3dc6523c 100644 --- a/bpf/lib/common.h +++ b/bpf/lib/common.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) #ifndef _MSG_COMMON__ #define _MSG_COMMON__ diff --git a/bpf/lib/data_msg.h b/bpf/lib/data_msg.h index 766999f42fa..b4e3e4a1acc 100644 --- a/bpf/lib/data_msg.h +++ b/bpf/lib/data_msg.h @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0 */ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ /* Copyright Authors of Cilium */ #ifndef __DATA_MSG_ diff --git a/bpf/lib/environ_conf.h b/bpf/lib/environ_conf.h index ed34b1a1b67..9a0c646640f 100644 --- a/bpf/lib/environ_conf.h +++ b/bpf/lib/environ_conf.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* Copyright Authors of Tetragon */ #ifndef __ENVIRON_CONF_ diff --git a/bpf/lib/generic.h b/bpf/lib/generic.h index a3178d7e00e..0e7b5630948 100644 --- a/bpf/lib/generic.h +++ b/bpf/lib/generic.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* Copyright Authors of Cilium */ #ifndef _GENERIC__ diff --git a/bpf/lib/globals.h b/bpf/lib/globals.h index 364d56b4781..3845236f444 100644 --- a/bpf/lib/globals.h +++ b/bpf/lib/globals.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* Copyright Authors of Cilium */ #ifndef _GLOBALS__ diff --git a/bpf/lib/msg_types.h b/bpf/lib/msg_types.h index ed4faa60a8c..486fcc13529 100644 --- a/bpf/lib/msg_types.h +++ b/bpf/lib/msg_types.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* Copyright Authors of Cilium */ #ifndef _MSG_TYPES_ diff --git a/bpf/lib/process.h b/bpf/lib/process.h index 358a1ffabb2..857c6f40f62 100644 --- a/bpf/lib/process.h +++ b/bpf/lib/process.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* Copyright Authors of Cilium */ #ifndef _PROCESS__ diff --git a/bpf/process/addr_lpm_maps.h b/bpf/process/addr_lpm_maps.h index 0ce8ddc1c1b..00ea61d8002 100644 --- a/bpf/process/addr_lpm_maps.h +++ b/bpf/process/addr_lpm_maps.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* Copyright Authors of Cilium */ #ifndef ADDR_LPM_MAPS_H__ diff --git a/bpf/process/argfilter_maps.h b/bpf/process/argfilter_maps.h index 46a367d00ea..96c594bc319 100644 --- a/bpf/process/argfilter_maps.h +++ b/bpf/process/argfilter_maps.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* Copyright Authors of Cilium */ #ifndef ARGFILTER_MAPS_H__ diff --git a/bpf/process/bpf_execve_bprm_commit_creds.c b/bpf/process/bpf_execve_bprm_commit_creds.c index b7dcff6c6bc..0dba18c8adf 100644 --- a/bpf/process/bpf_execve_bprm_commit_creds.c +++ b/bpf/process/bpf_execve_bprm_commit_creds.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* Copyright Authors of Tetragon */ #include "vmlinux.h" @@ -8,7 +8,7 @@ #include "common.h" #include "process.h" -char _license[] __attribute__((section("license"), used)) = "GPL"; +char _license[] __attribute__((section("license"), used)) = "Dual BSD/GPL"; /* * Process execution is installing the new credentials and security attributes diff --git a/bpf/process/bpf_execve_event.c b/bpf/process/bpf_execve_event.c index fdf66731c7c..38b34db11bd 100644 --- a/bpf/process/bpf_execve_event.c +++ b/bpf/process/bpf_execve_event.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* Copyright Authors of Cilium */ #include "vmlinux.h" @@ -9,7 +9,7 @@ #include "bpf_process_event.h" #include "bpf_helpers.h" -char _license[] __attribute__((section("license"), used)) = "GPL"; +char _license[] __attribute__((section("license"), used)) = "Dual BSD/GPL"; struct { __uint(type, BPF_MAP_TYPE_PROG_ARRAY); diff --git a/bpf/process/bpf_exit.c b/bpf/process/bpf_exit.c index bd3460a4334..f5cf2dd88e9 100644 --- a/bpf/process/bpf_exit.c +++ b/bpf/process/bpf_exit.c @@ -1,11 +1,11 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* Copyright Authors of Cilium */ #include "vmlinux.h" #include "bpf_exit.h" #include "bpf_tracing.h" -char _license[] __attribute__((section("license"), used)) = "GPL"; +char _license[] __attribute__((section("license"), used)) = "Dual BSD/GPL"; /* * Hooking on acct_process kernel function, which is called on the task's diff --git a/bpf/process/bpf_exit.h b/bpf/process/bpf_exit.h index a2bcc294226..9b4c52fe04f 100644 --- a/bpf/process/bpf_exit.h +++ b/bpf/process/bpf_exit.h @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0 */ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ /* Copyright Authors of Cilium */ #ifndef __EXIT_H__ diff --git a/bpf/process/bpf_fork.c b/bpf/process/bpf_fork.c index 1bdf6bc84b8..31d8fb7023f 100644 --- a/bpf/process/bpf_fork.c +++ b/bpf/process/bpf_fork.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* Copyright Authors of Cilium */ #include "vmlinux.h" @@ -11,7 +11,7 @@ #include "environ_conf.h" #include "bpf_process_event.h" -char _license[] __attribute__((section("license"), used)) = "GPL"; +char _license[] __attribute__((section("license"), used)) = "Dual BSD/GPL"; #ifdef VMLINUX_KERNEL_VERSION int _version __attribute__((section(("version")), used)) = VMLINUX_KERNEL_VERSION; diff --git a/bpf/process/bpf_generic_kprobe.c b/bpf/process/bpf_generic_kprobe.c index 49350f84a9d..073c1e9c351 100644 --- a/bpf/process/bpf_generic_kprobe.c +++ b/bpf/process/bpf_generic_kprobe.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* Copyright Authors of Cilium */ #include "vmlinux.h" @@ -15,7 +15,7 @@ #include "pfilter.h" #include "policy_filter.h" -char _license[] __attribute__((section("license"), used)) = "GPL"; +char _license[] __attribute__((section("license"), used)) = "Dual BSD/GPL"; struct { __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY); diff --git a/bpf/process/bpf_generic_retkprobe.c b/bpf/process/bpf_generic_retkprobe.c index 60ca5b9ecff..de244918f7c 100644 --- a/bpf/process/bpf_generic_retkprobe.c +++ b/bpf/process/bpf_generic_retkprobe.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* Copyright Authors of Cilium */ #include "vmlinux.h" @@ -12,7 +12,7 @@ #define MAX_FILENAME 8096 -char _license[] __attribute__((section("license"), used)) = "GPL"; +char _license[] __attribute__((section("license"), used)) = "Dual BSD/GPL"; struct { __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY); diff --git a/bpf/process/bpf_generic_tracepoint.c b/bpf/process/bpf_generic_tracepoint.c index b3db429c7d1..f7ce1b82ec5 100644 --- a/bpf/process/bpf_generic_tracepoint.c +++ b/bpf/process/bpf_generic_tracepoint.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* Copyright Authors of Cilium */ #include "vmlinux.h" @@ -324,4 +324,4 @@ generic_tracepoint_output(void *ctx) return generic_output(ctx, (struct bpf_map_def *)&tp_heap); } -char _license[] __attribute__((section("license"), used)) = "GPL"; +char _license[] __attribute__((section("license"), used)) = "Dual BSD/GPL"; diff --git a/bpf/process/bpf_generic_uprobe.c b/bpf/process/bpf_generic_uprobe.c index cbcd5f65f31..d2f5ed451fb 100644 --- a/bpf/process/bpf_generic_uprobe.c +++ b/bpf/process/bpf_generic_uprobe.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* Copyright Authors of Cilium */ #include "vmlinux.h" @@ -14,7 +14,7 @@ #include "generic_calls.h" #include "pfilter.h" -char _license[] __attribute__((section("license"), used)) = "GPL"; +char _license[] __attribute__((section("license"), used)) = "Dual BSD/GPL"; struct { __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY); diff --git a/bpf/process/bpf_killer.c b/bpf/process/bpf_killer.c index 95a4147159f..7ff4d0024ce 100644 --- a/bpf/process/bpf_killer.c +++ b/bpf/process/bpf_killer.c @@ -1,6 +1,6 @@ #include "bpf_killer.h" -char _license[] __attribute__((section("license"), used)) = "GPL"; +char _license[] __attribute__((section("license"), used)) = "Dual BSD/GPL"; #ifdef __MULTI_KPROBE #define MAIN "kprobe.multi/killer" diff --git a/bpf/process/bpf_killer.h b/bpf/process/bpf_killer.h index 7b4076f2b90..c4d5380e34f 100644 --- a/bpf/process/bpf_killer.h +++ b/bpf/process/bpf_killer.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* Copyright Authors of Cilium */ #ifndef __KILLER_H__ diff --git a/bpf/process/bpf_loader.c b/bpf/process/bpf_loader.c index fdd10b9f476..3034804584f 100644 --- a/bpf/process/bpf_loader.c +++ b/bpf/process/bpf_loader.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* Copyright Authors of Cilium */ #include "vmlinux.h" @@ -19,7 +19,7 @@ struct msg_loader { void *pe; }; -char _license[] __attribute__((section("license"), used)) = "GPL"; +char _license[] __attribute__((section("license"), used)) = "Dual BSD/GPL"; struct { __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY); diff --git a/bpf/process/bpf_process_event.h b/bpf/process/bpf_process_event.h index 3d3e44e0a06..550a76f011c 100644 --- a/bpf/process/bpf_process_event.h +++ b/bpf/process/bpf_process_event.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* Copyright Authors of Cilium */ #ifndef _BPF_PROCESS_EVENT__ diff --git a/bpf/process/data_event.h b/bpf/process/data_event.h index 91ccf889b33..9f5be897e05 100644 --- a/bpf/process/data_event.h +++ b/bpf/process/data_event.h @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0 */ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ /* Copyright Authors of Cilium */ #ifndef __DATA_EVENT_H__ diff --git a/bpf/process/generic_calls.h b/bpf/process/generic_calls.h index cd448d9fff5..aad8c6ae7b5 100644 --- a/bpf/process/generic_calls.h +++ b/bpf/process/generic_calls.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* Copyright Authors of Cilium */ #ifndef __GENERIC_CALLS_H__ diff --git a/bpf/process/policy_filter.h b/bpf/process/policy_filter.h index 324a010a174..2807ef4b9b2 100644 --- a/bpf/process/policy_filter.h +++ b/bpf/process/policy_filter.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* Copyright Authors of Cilium */ #ifndef POLICY_FILTER_MAPS_H__ diff --git a/bpf/process/retprobe_map.h b/bpf/process/retprobe_map.h index 1460d615320..b1f4b81e3bc 100644 --- a/bpf/process/retprobe_map.h +++ b/bpf/process/retprobe_map.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* Copyright Authors of Cilium */ #ifndef __RETPROBE_MAP_H__ diff --git a/bpf/process/string_maps.h b/bpf/process/string_maps.h index 88909f65ceb..1a908a29dbd 100644 --- a/bpf/process/string_maps.h +++ b/bpf/process/string_maps.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* Copyright Authors of Cilium */ #ifndef STRING_MAPS_H__ diff --git a/bpf/process/types/basic.h b/bpf/process/types/basic.h index e00e2afa376..d8b8b61d379 100644 --- a/bpf/process/types/basic.h +++ b/bpf/process/types/basic.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* Copyright Authors of Cilium */ #ifndef __BASIC_H__ diff --git a/bpf/process/types/bpfattr.h b/bpf/process/types/bpfattr.h index 7d84d78d54a..bb28cbcc626 100644 --- a/bpf/process/types/bpfattr.h +++ b/bpf/process/types/bpfattr.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* Copyright Authors of Cilium */ #ifndef __BPFATTR_H__ diff --git a/bpf/process/types/bpfmap.h b/bpf/process/types/bpfmap.h index 8ea71b51850..9ed901f812d 100644 --- a/bpf/process/types/bpfmap.h +++ b/bpf/process/types/bpfmap.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* Copyright Authors of Cilium */ #ifndef __BPFMAP_H__ diff --git a/bpf/process/types/capabilities.h b/bpf/process/types/capabilities.h index 0a5614d3e58..e6f96a9d5d1 100644 --- a/bpf/process/types/capabilities.h +++ b/bpf/process/types/capabilities.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* Copyright Authors of Cilium */ #ifndef __CAPABILITIES_H__ diff --git a/bpf/process/types/module.h b/bpf/process/types/module.h index 41e765d88cc..54cb196b9a5 100644 --- a/bpf/process/types/module.h +++ b/bpf/process/types/module.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* Copyright Authors of Tetragon */ #ifndef __LINUX_MODULE_H__ diff --git a/bpf/process/types/operations.h b/bpf/process/types/operations.h index 53fdf8b995f..e5ab1d77304 100644 --- a/bpf/process/types/operations.h +++ b/bpf/process/types/operations.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* Copyright Authors of Cilium */ #ifndef __OPERATIONS_H__ diff --git a/bpf/process/types/perfevent.h b/bpf/process/types/perfevent.h index 2e8a7958bdf..4f63a01f252 100644 --- a/bpf/process/types/perfevent.h +++ b/bpf/process/types/perfevent.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* Copyright Authors of Cilium */ #ifndef __PERFEVENT_H__ diff --git a/bpf/process/types/skb.h b/bpf/process/types/skb.h index e925fdef8ba..e26e6400973 100644 --- a/bpf/process/types/skb.h +++ b/bpf/process/types/skb.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* Copyright Authors of Cilium */ #ifndef __SKB_H__ diff --git a/bpf/process/types/sock.h b/bpf/process/types/sock.h index c128c0b0ddb..d11307189b0 100644 --- a/bpf/process/types/sock.h +++ b/bpf/process/types/sock.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* Copyright Authors of Cilium */ #ifndef __SOCK_H__ diff --git a/bpf/process/types/tuple.h b/bpf/process/types/tuple.h index 7e4474466ee..cbae13135bf 100644 --- a/bpf/process/types/tuple.h +++ b/bpf/process/types/tuple.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* Copyright Authors of Cilium */ #ifndef __TUPLE_H__ diff --git a/bpf/test/bpf_globals.c b/bpf/test/bpf_globals.c index 32ceddf6ef9..aac30b4f196 100644 --- a/bpf/test/bpf_globals.c +++ b/bpf/test/bpf_globals.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* Copyright Authors of Cilium */ #include "vmlinux.h" @@ -8,7 +8,7 @@ #include "bpf_task.h" #include "globals.h" -char _license[] __attribute__((section("license"), used)) = "GPL"; +char _license[] __attribute__((section("license"), used)) = "Dual BSD/GPL"; GLOBAL_U16 g_u16; GLOBAL_I16 g_i16; diff --git a/bpf/test/bpf_lseek.c b/bpf/test/bpf_lseek.c index 16c18ba7b84..dc71e48b107 100644 --- a/bpf/test/bpf_lseek.c +++ b/bpf/test/bpf_lseek.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* Copyright Authors of Cilium */ #include "vmlinux.h" @@ -35,7 +35,7 @@ struct sys_enter_lseek_args { __u64 whence; }; -char _license[] __attribute__((section("license"), used)) = "GPL"; +char _license[] __attribute__((section("license"), used)) = "Dual BSD/GPL"; __attribute__((section("tracepoint/sys_enter_lseek"), used)) int test_lseek(struct sys_enter_lseek_args *ctx)