Thread (3 messages) 3 messages, 3 authors, 2019-10-30

Re: [PATCH bpf-next] bpf: Enforce 'return 0' in BTF-enabled raw_tp programs

From: Daniel Borkmann <daniel@iogearbox.net>
Date: 2019-10-30 15:53:54
Also in: bpf

On Mon, Oct 28, 2019 at 08:24:26PM -0700, Alexei Starovoitov wrote:
The return value of raw_tp programs is ignored by __bpf_trace_run()
that calls them. The verifier also allows any value to be returned.
For BTF-enabled raw_tp lets enforce 'return 0', so that return value
can be used for something in the future.

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Applied, thanks!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help