* [PATCH bpf] bpf: btf: Change tools/lib/bpf/btf to LGPL
@ 2018-08-06 0:19 Martin KaFai Lau
2018-08-06 4:45 ` Alexei Starovoitov
2018-08-06 20:33 ` Jakub Kicinski
0 siblings, 2 replies; 4+ messages in thread
From: Martin KaFai Lau @ 2018-08-06 0:19 UTC (permalink / raw)
To: netdev; +Cc: Alexei Starovoitov, Daniel Borkmann, kernel-team
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>
---
tools/lib/bpf/btf.c | 2 +-
tools/lib/bpf/btf.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/lib/bpf/btf.c b/tools/lib/bpf/btf.c
index 2d270c560df3..c36a3a76986a 100644
--- a/tools/lib/bpf/btf.c
+++ b/tools/lib/bpf/btf.c
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+// SPDX-License-Identifier: LGPL-2.1
/* Copyright (c) 2018 Facebook */
#include <stdlib.h>
diff --git a/tools/lib/bpf/btf.h b/tools/lib/bpf/btf.h
index e2a09a155f84..caac3a404dc5 100644
--- a/tools/lib/bpf/btf.h
+++ b/tools/lib/bpf/btf.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: LGPL-2.1 */
/* Copyright (c) 2018 Facebook */
#ifndef __BPF_BTF_H
--
2.17.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH bpf] bpf: btf: Change tools/lib/bpf/btf to LGPL
2018-08-06 0:19 [PATCH bpf] bpf: btf: Change tools/lib/bpf/btf to LGPL Martin KaFai Lau
@ 2018-08-06 4:45 ` Alexei Starovoitov
2018-08-06 6:50 ` Daniel Borkmann
2018-08-06 20:33 ` Jakub Kicinski
1 sibling, 1 reply; 4+ messages in thread
From: Alexei Starovoitov @ 2018-08-06 4:45 UTC (permalink / raw)
To: Martin KaFai Lau; +Cc: netdev, Alexei Starovoitov, Daniel Borkmann, kernel-team
On Sun, Aug 05, 2018 at 05:19:13PM -0700, Martin KaFai Lau wrote:
> 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>
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.
Acked-by: Alexei Starovoitov <ast@kernel.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH bpf] bpf: btf: Change tools/lib/bpf/btf to LGPL
2018-08-06 4:45 ` Alexei Starovoitov
@ 2018-08-06 6:50 ` Daniel Borkmann
0 siblings, 0 replies; 4+ messages in thread
From: Daniel Borkmann @ 2018-08-06 6:50 UTC (permalink / raw)
To: Alexei Starovoitov, Martin KaFai Lau
Cc: netdev, Alexei Starovoitov, kernel-team
On 08/06/2018 06:45 AM, Alexei Starovoitov wrote:
> On Sun, Aug 05, 2018 at 05:19:13PM -0700, Martin KaFai Lau wrote:
>> 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>
>
> 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.
> Acked-by: Alexei Starovoitov <ast@kernel.org>
I think bpf tree is more appropriate, thus applied there, thanks Martin!
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH bpf] bpf: btf: Change tools/lib/bpf/btf to LGPL
2018-08-06 0:19 [PATCH bpf] bpf: btf: Change tools/lib/bpf/btf to LGPL Martin KaFai Lau
2018-08-06 4:45 ` Alexei Starovoitov
@ 2018-08-06 20:33 ` Jakub Kicinski
1 sibling, 0 replies; 4+ messages in thread
From: Jakub Kicinski @ 2018-08-06 20:33 UTC (permalink / raw)
To: Martin KaFai Lau; +Cc: netdev, Alexei Starovoitov, Daniel Borkmann, kernel-team
On Sun, 5 Aug 2018 17:19:13 -0700, Martin KaFai Lau wrote:
> This patch changes the tools/lib/bpf/btf.[ch] to LGPL which
> is inline with libbpf also.
FWIW:
Reported-by: David Beckett <david.beckett@netronome.com>
And in case removing code in 6534770d6f17 ("tools: bpf: fix BTF code
added twice to different trees") counts as a contribution:
Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>
for the license change :)
> Signed-off-by: Martin KaFai Lau <kafai@fb.com>
> ---
> tools/lib/bpf/btf.c | 2 +-
> tools/lib/bpf/btf.h | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tools/lib/bpf/btf.c b/tools/lib/bpf/btf.c
> index 2d270c560df3..c36a3a76986a 100644
> --- a/tools/lib/bpf/btf.c
> +++ b/tools/lib/bpf/btf.c
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0 */
> +// SPDX-License-Identifier: LGPL-2.1
> /* Copyright (c) 2018 Facebook */
>
> #include <stdlib.h>
> diff --git a/tools/lib/bpf/btf.h b/tools/lib/bpf/btf.h
> index e2a09a155f84..caac3a404dc5 100644
> --- a/tools/lib/bpf/btf.h
> +++ b/tools/lib/bpf/btf.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0 */
> +/* SPDX-License-Identifier: LGPL-2.1 */
> /* Copyright (c) 2018 Facebook */
>
> #ifndef __BPF_BTF_H
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-08-06 22:44 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-06 0:19 [PATCH bpf] bpf: btf: Change tools/lib/bpf/btf to LGPL Martin KaFai Lau
2018-08-06 4:45 ` Alexei Starovoitov
2018-08-06 6:50 ` Daniel Borkmann
2018-08-06 20:33 ` Jakub Kicinski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox