[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5a8c19bb-1e4a-e546-e75f-0f7a592b3d5b@iogearbox.net>
Date: Fri, 23 Nov 2018 22:49:48 +0100
From: Daniel Borkmann <daniel@...earbox.net>
To: "Nikita V. Shirokov" <tehnerd@...nerd.com>,
Alexei Starovoitov <ast@...nel.org>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH v2 bpf-next 1/1] libbpf: make bpf_object__open default to
UNSPEC
On 11/23/2018 09:58 PM, Nikita V. Shirokov wrote:
> currently by default libbpf's bpf_object__open requires
> bpf's program to specify version in a code because of two things:
> 1) default prog type is set to KPROBE
> 2) KPROBE requires (in kernel/bpf/syscall.c) version to be specified
>
> in this patch i'm changing default prog type to UNSPEC and also changing
> requirments for version's section to be present in object file.
> now it would reflect what we have today in kernel
> (only KPROBE prog type requires for version to be explicitly set).
>
> v1 -> v2:
> - RFC tag has been dropped
>
> Signed-off-by: Nikita V. Shirokov <tehnerd@...nerd.com>
Applied, thanks!
Powered by blists - more mailing lists