]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: Relicense disassembler as GPL-2.0-only OR BSD-2-Clause
authorDaniel Borkmann <daniel@iogearbox.net>
Tue, 24 Aug 2021 07:39:31 +0000 (09:39 +0200)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 2 Sep 2021 12:49:23 +0000 (14:49 +0200)
commit03d6971501cd271b4dc6e3e8265dacf06fb5cf24
tree090fb6802993ba8d8e7b7393c9ae84bfb124f03b
parentcfda6ebd42a76d9bcca2caaa12b6c1b75b6be928
bpf: Relicense disassembler as GPL-2.0-only OR BSD-2-Clause

Some time ago we dual-licensed both libbpf and bpftool through commits
5d9d9e597733 ("libbpf: relicense libbpf as LGPL-2.1 OR BSD-2-Clause")
and 18b1f5b3d078 ("tools: bpftool: dual license all files"). The latter
missed the disasm.{c,h} which we pull in via kernel/bpf/ such that we
have a single source for verifier as well as bpftool asm dumping, see
also 939db7dd914f ("bpf: move instruction printing into a separate file").
It is currently GPL-2.0-only and missed the conversion in 18b1f5b3d078,
therefore relicense the two as GPL-2.0-only OR BSD-2-Clause as well.

Spotted-by: Quentin Monnet <quentin@isovalent.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@fb.com>
Acked-by: Thomas Graf <tgraf@suug.ch>
Acked-by: Brendan Jackman <jackmanb@google.com>
Acked-by: Jakub Kicinski <kuba@kernel.org>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Acked-by: Simon Horman <simon.horman@corigine.com>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Acked-by: Xu Kuohai <xukuohai@huawei.com>
Acked-by: Edward Cree <ecree.xilinx@gmail.com>
kernel/bpf/disasm.c
kernel/bpf/disasm.h