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
| ||
|
Date: Wed, 24 Jun 2020 11:18:53 -0700 From: Alexei Starovoitov <alexei.starovoitov@...il.com> To: Andrii Nakryiko <andrii.nakryiko@...il.com> Cc: John Fastabend <john.fastabend@...il.com>, Yonghong Song <yhs@...com>, Daniel Borkmann <daniel@...earbox.net>, Andrii Nakryiko <andriin@...com>, bpf <bpf@...r.kernel.org>, Networking <netdev@...r.kernel.org>, Alexei Starovoitov <ast@...com>, Kernel Team <kernel-team@...com> Subject: Re: [PATCH v3 bpf-next 2/3] selftests/bpf: add variable-length data concatenation pattern test On Tue, Jun 23, 2020 at 11:51 PM Andrii Nakryiko <andrii.nakryiko@...il.com> wrote: > > long > represent reality, it causes more straightforward code generation, if > you don't aritifically down-cast types. yep. s/int/long/ conversion in bpf_helpers_def.h definitely improves generated code. > But even better is to just fix types of your local variables to match > native BPF size. I've applied int to long conversion for test_get_stack_rawtp.c test for now. Let's try to keep 100% passing rate for test_progs and test_progs-no_alu32 :)
Powered by blists - more mailing lists