Re: [PATCH bpf-next] libbpf: relicense bpf_helpers.h and bpf_endian.h

2019-08-19 Thread Naveen N. Rao
Andrii Nakryiko wrote: bpf_helpers.h and bpf_endian.h contain useful macros and BPF helper definitions essential to almost every BPF program. Which makes them useful not just for selftests. To be able to expose them as part of libbpf, though, we need them to be dual-licensed as LGPL-2.1 OR BSD-2-

Re: [PATCH bpf-next] libbpf: relicense bpf_helpers.h and bpf_endian.h

2019-08-17 Thread Daniel Borkmann
On 8/16/19 7:45 AM, Andrii Nakryiko wrote: bpf_helpers.h and bpf_endian.h contain useful macros and BPF helper definitions essential to almost every BPF program. Which makes them useful not just for selftests. To be able to expose them as part of libbpf, though, we need them to be dual-licensed a

Re: [PATCH bpf-next] libbpf: relicense bpf_helpers.h and bpf_endian.h

2019-08-16 Thread Jesper Dangaard Brouer
On Fri, 16 Aug 2019 19:15:29 +0200 Greg KH wrote: > On Fri, Aug 16, 2019 at 05:29:27PM +0200, Daniel Borkmann wrote: > > On 8/16/19 2:10 PM, Jesper Dangaard Brouer wrote: > > > On Thu, 15 Aug 2019 22:45:43 -0700 > > > Andrii Nakryiko wrote: > > > > > > > bpf_helpers.h and bpf_endian.h conta

Re: [PATCH bpf-next] libbpf: relicense bpf_helpers.h and bpf_endian.h

2019-08-16 Thread Greg KH
On Fri, Aug 16, 2019 at 05:29:27PM +0200, Daniel Borkmann wrote: > On 8/16/19 2:10 PM, Jesper Dangaard Brouer wrote: > > On Thu, 15 Aug 2019 22:45:43 -0700 > > Andrii Nakryiko wrote: > > > > > bpf_helpers.h and bpf_endian.h contain useful macros and BPF helper > > > definitions essential to almos

Re: [PATCH bpf-next] libbpf: relicense bpf_helpers.h and bpf_endian.h

2019-08-16 Thread Daniel Borkmann
On 8/16/19 2:10 PM, Jesper Dangaard Brouer wrote: On Thu, 15 Aug 2019 22:45:43 -0700 Andrii Nakryiko wrote: bpf_helpers.h and bpf_endian.h contain useful macros and BPF helper definitions essential to almost every BPF program. Which makes them useful not just for selftests. To be able to expos

Re: [PATCH bpf-next] libbpf: relicense bpf_helpers.h and bpf_endian.h

2019-08-16 Thread Jesper Dangaard Brouer
On Thu, 15 Aug 2019 22:45:43 -0700 Andrii Nakryiko wrote: > bpf_helpers.h and bpf_endian.h contain useful macros and BPF helper > definitions essential to almost every BPF program. Which makes them > useful not just for selftests. To be able to expose them as part of > libbpf, though, we need the