bpf: btf: Change tools/lib/bpf/btf to LGPL
Subsystems (4)
PATCH 1/1 bpf: btf: Change tools/lib/bpf/btf to LGPL
This patch changes the tools/lib/bpf/btf.[ch] to LGPL which is inline with libbpf also.
--- tools/lib/bpf/btf.c | 2 +- tools/lib/bpf/btf.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
tools/lib/bpf/btf.c +1 -1
@@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0 */ +// SPDX-License-Identifier: LGPL-2.1 /* Copyright (c) 2018 Facebook */ #include <stdlib.h>
tools/lib/bpf/btf.h +1 -1
@@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0 */ +/* SPDX-License-Identifier: LGPL-2.1 */ /* Copyright (c) 2018 Facebook */ #ifndef __BPF_BTF_H
Signature · 1 line
2.17.1
Quoted 4 lines · Martin KaFai Lau
This patch changes the tools/lib/bpf/btf.[ch] to LGPL which is inline with libbpf also.
Signed-off-by Martin KaFai Lau <[email protected]>
technically it's bpf tree material, but since it changes "comment" only and we're very late into the release, I think bpf-next would be fine too.
I'm ok whichever way.
Daniel Borkmann
maintainerQuoted 11 lines · Alexei Starovoitov
Quoted 4 lines · Martin KaFai Lau
This patch changes the tools/lib/bpf/btf.[ch] to LGPL which is inline with libbpf also.
Signed-off-by Martin KaFai Lau <[email protected]>technically it's bpf tree material, but since it changes "comment" only and we're very late into the release, I think bpf-next would be fine too.
I'm ok whichever way.
I think bpf tree is more appropriate, thus applied there, thanks Martin!
Quoted 2 lines · Martin KaFai Lau
This patch changes the tools/lib/bpf/btf.[ch] to LGPL which is inline with libbpf also.
FWIW:
And in case removing code in 6534770d6f17 ("tools: bpf: fix BTF code added twice to different trees") counts as a contribution:
for the license change :)
Quoted 26 lines
Signed-off-by Martin KaFai Lau <[email protected]>--- tools/lib/bpf/btf.c | 2 +- tools/lib/bpf/btf.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)tools/lib/bpf/btf.c +1
-1@@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0 */ +// SPDX-License-Identifier: LGPL-2.1 /* Copyright (c) 2018 Facebook */ #include <stdlib.h> tools/lib/bpf/btf.h +1
-1@@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0 */ +/* SPDX-License-Identifier: LGPL-2.1 */ /* Copyright (c) 2018 Facebook */ #ifndef __BPF_BTF_H