bpf: btf: Change tools/lib/bpf/btf to LGPL
authorMartin KaFai Lau <kafai@fb.com>
Mon, 6 Aug 2018 00:19:13 +0000 (17:19 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Mon, 6 Aug 2018 06:44:48 +0000 (08:44 +0200)
This patch changes the tools/lib/bpf/btf.[ch] to LGPL which
is inline with libbpf also.

Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/lib/bpf/btf.c
tools/lib/bpf/btf.h

index 2d270c560df3982edc105fdb944d738be3c03024..c36a3a76986a5ee17ad51a876af10ddb06492fba 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+// SPDX-License-Identifier: LGPL-2.1
 /* Copyright (c) 2018 Facebook */
 
 #include <stdlib.h>
index e2a09a155f84faf7031b93faf37003060ecbd455..caac3a404dc54221b46b2c4feb373801c311bddf 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: LGPL-2.1 */
 /* Copyright (c) 2018 Facebook */
 
 #ifndef __BPF_BTF_H