lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <17f26786-3e41-157f-8586-c1a8f5218925@iogearbox.net>
Date:   Fri, 27 Dec 2019 19:09:29 +0100
From:   Daniel Borkmann <daniel@...earbox.net>
To:     Andrii Nakryiko <andriin@...com>, bpf@...r.kernel.org,
        netdev@...r.kernel.org, ast@...com
Cc:     andrii.nakryiko@...il.com, kernel-team@...com
Subject: Re: [PATCH bpf-next] bpftool: make skeleton C code compilable with
 C++ compiler

On 12/26/19 10:02 PM, Andrii Nakryiko wrote:
> When auto-generated BPF skeleton C code is included from C++ application, it
> triggers compilation error due to void * being implicitly casted to whatever
> target pointer type. This is supported by C, but not C++. To solve this
> problem, add explicit casts, where necessary.
> 
> To ensure issues like this are captured going forward, add skeleton usage in
> test_cpp test.
> 
> Signed-off-by: Andrii Nakryiko <andriin@...com>

Applied it earlier today, thanks!

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ