Re: [PATCH net-next] selftests: bpf: modify urandom_read and link it non-statically

From: Alexei Starovoitov
Date: Thu Mar 21 2019 - 22:39:49 EST


On Fri, Mar 15, 2019 at 1:04 PM Ivan Vecera <ivecera@xxxxxxxxxx> wrote:
>
> After some experiences I found that urandom_read does not need to be
> linked statically. When the 'read' syscall call is moved to separate
> non-inlined function then bpf_get_stackid() is able to find
> the executable in stack trace and extract its build_id from it.
>
> Signed-off-by: Ivan Vecera <ivecera@xxxxxxxxxx>

Applied. Thanks