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
| ||
|
Message-ID: <49517916-e848-8dfe-48c5-f2240c6e740d@linux.dev> Date: Thu, 5 Oct 2023 10:12:40 -0700 From: Martin KaFai Lau <martin.lau@...ux.dev> To: Daan De Meyer <daan.j.demeyer@...il.com> Cc: kernel-team@...a.com, netdev@...r.kernel.org, bpf <bpf@...r.kernel.org> Subject: Re: [PATCH bpf-next v7 9/9] selftests/bpf: Add tests for cgroup unix socket address hooks On 10/3/23 2:30 AM, Daan De Meyer wrote: > These selftests are written in prog_tests style instead of adding > them to the existing test_sock_addr tests. Migrating the existing > sock addr tests to prog_tests style is left for future work. This > commit adds support for testing bind() sockaddr hooks, even though > there's no unix socket sockaddr hook for bind(). We leave this code > intact for when the INET and INET6 tests are migrated in the future > which do support intercepting bind(). > > Signed-off-by: Daan De Meyer <daan.j.demeyer@...il.com> > --- > tools/testing/selftests/bpf/bpf_kfuncs.h | 14 + > tools/testing/selftests/bpf/network_helpers.c | 34 + > tools/testing/selftests/bpf/network_helpers.h | 1 + > .../selftests/bpf/prog_tests/section_names.c | 25 + > .../selftests/bpf/prog_tests/sock_addr.c | 612 ++++++++++++++++++ The progs/*_unix_prog.c is missing again, probably due to the rename. Please monitor the CI test result: https://patchwork.kernel.org/project/netdevbpf/patch/20231003093025.475450-2-daan.j.demeyer@gmail.com/ https://github.com/kernel-patches/bpf/actions/runs/6391271804/job/17346211558 A 'git status' to check for untracked file before 'git format-patch' can help also.
Powered by blists - more mailing lists