Thread (8 messages) flat view 8 messages, 4 authors, 2019-05-23

Re: [PATCH bpf] selftests: bpf: add zero extend checks for ALU32 and/or/xor

From: Daniel Borkmann <daniel@iogearbox.net>
Date: 2019-05-23 14:02:46
Also in: bpf

On 05/23/2019 08:38 AM, Y Song wrote:
On Wed, May 22, 2019 at 1:46 PM Björn Töpel [off-list ref] wrote:
quoted
On Wed, 22 May 2019 at 20:13, Y Song [off-list ref] wrote:
quoted
On Wed, May 22, 2019 at 2:25 AM Björn Töpel [off-list ref] wrote:
quoted
Add three tests to test_verifier/basic_instr that make sure that the
high 32-bits of the destination register is cleared after an ALU32
and/or/xor.

Signed-off-by: Björn Töpel <redacted>
I think the patch intends for bpf-next, right? The patch itself looks
good to me.
Acked-by: Yonghong Song <redacted>
Thank you. Actually, it was intended for the bpf tree, as a test
follow up for this [1] fix.
Then maybe you want to add a Fixes tag and resubmit?
Why would the test case need a fixes tag? It's common practice that we have
BPF fixes that we queue to bpf tree along with kselftest test cases related
to them. Therefore, applied as well, thanks for following up!

Björn, in my email from the fix, I mentioned we should have test snippets
ideally for all of the alu32 insns to not miss something falling through the
cracks when JITs get added or changed. If you have some cycles to add the
remaining missing ones, that would be much appreciated.

Thanks,
Daniel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help