[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAADnVQ+ACNzxC5GsEPKXBgpbBBr9zZyp62gUmzpKWAWchfO+zg@mail.gmail.com>
Date: Mon, 1 Jun 2020 15:14:01 -0700
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Song Liu <song@...nel.org>
Cc: Andrii Nakryiko <andriin@...com>, bpf <bpf@...r.kernel.org>,
Networking <netdev@...r.kernel.org>,
Alexei Starovoitov <ast@...com>,
Daniel Borkmann <daniel@...earbox.net>,
Andrii Nakryiko <andrii.nakryiko@...il.com>,
Kernel Team <kernel-team@...com>
Subject: Re: [PATCH bpf-next] libbpf: add _GNU_SOURCE for reallocarray to ringbuf.c
On Mon, Jun 1, 2020 at 1:36 PM Song Liu <song@...nel.org> wrote:
>
> On Mon, Jun 1, 2020 at 1:26 PM Andrii Nakryiko <andriin@...com> wrote:
> >
> > On systems with recent enough glibc, reallocarray compat won't kick in, so
> > reallocarray() itself has to come from stdlib.h include. But _GNU_SOURCE is
> > necessary to enable it. So add it.
> >
> > Fixes: 4cff2ba58bf1 ("libbpf: Add BPF ring buffer support")
> > Signed-off-by: Andrii Nakryiko <andriin@...com>
>
> Acked-by: Song Liu <songliubraving@...com>
Applied. Thanks
Powered by blists - more mailing lists