[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <44ae07d3-7f53-8062-69e1-9fdf9b3ecc9e@fb.com>
Date: Tue, 23 Jul 2019 23:00:28 +0000
From: Alexei Starovoitov <ast@...com>
To: Song Liu <songliubraving@...com>, Andrii Nakryiko <andriin@...com>
CC: bpf <bpf@...r.kernel.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"daniel@...earbox.net" <daniel@...earbox.net>,
"andrii.nakryiko@...il.com" <andrii.nakryiko@...il.com>,
Kernel Team <Kernel-team@...com>
Subject: Re: [PATCH v2 bpf-next] libbpf: provide more helpful message on
uninitialized global var
On 7/23/19 3:03 PM, Song Liu wrote:
>> On Jul 23, 2019, at 2:11 PM, Andrii Nakryiko<andriin@...com> wrote:
>>
>> When BPF program defines uninitialized global variable, it's put into
>> a special COMMON section. Libbpf will reject such programs, but will
>> provide very unhelpful message with garbage-looking section index.
>>
>> This patch detects special section cases and gives more explicit error
>> message.
>>
>> Signed-off-by: Andrii Nakryiko<andriin@...com>
> Acked-by: Song Liu<songliubraving@...com>
>
Applied. Thanks
Powered by blists - more mailing lists