mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
Merge branch 'selftests-bpf-fix-for-veristat-file-prog-filters-processing'
Eduard Zingerman says: ==================== selftests/bpf: fix for veristat file/prog filters processing At the moment veristat filtering behaves unexpectedly for the following filter expression: -f !file/prog The expression rejects all programs with name 'prog', and all programs in a file with name 'file'. Fix the expression to exclude only a program 'prog' from a file 'file', also add a set of tests to exercise filtering logic. Changelog: v1 -> v2: - added fixes tag for patch #1 (bot+bpf-ci); - extended test cases for '!*foo*' and '*foo*' filters in patch #2 (bot+bpf-ci); - added patch #3, replacing direct read() calls with calls to read_output(), guaranteeing input buffer null termination (bot+bpf-ci). v1: https://lore.kernel.org/bpf/20260811-veristat-filter-fix-v1-0-b5b43c431550@gmail.com/ --- ==================== Link: https://patch.msgid.link/20260811-veristat-filter-fix-v2-0-6c234c4cd6ef@gmail.com Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
This commit is contained in:
commit
4d9551b39a
4 changed files with 190 additions and 33 deletions
Loading…
Add table
Add a link
Reference in a new issue