]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
selftests/bpf: drop serial restriction
authorSun Jian <sun.jian.kdev@gmail.com>
Fri, 6 Mar 2026 08:33:30 +0000 (16:33 +0800)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 11 Mar 2026 16:34:22 +0000 (09:34 -0700)
Patch 1/2 added PID filtering to the probe_user BPF program to avoid
cross-test interference from the global connect() hooks.

With the interference removed, drop the serial_ prefix and remove the
stale TODO comment so the test can run in parallel.

Tested:
  ./test_progs -t probe_user -v
  ./test_progs -j$(nproc) -t probe_user

Signed-off-by: Sun Jian <sun.jian.kdev@gmail.com>
Acked-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Link: https://lore.kernel.org/r/20260306083330.518627-2-sun.jian.kdev@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/prog_tests/probe_user.c

index b3e17a329cb47164b33eed0cccf3cb9b6c1865a4..7a9d13aa2c874ab5aede4298eda6f7867d1c271a 100644 (file)
@@ -1,8 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0
 #include <test_progs.h>
 
-/* TODO: corrupts other tests uses connect() */
-void serial_test_probe_user(void)
+void test_probe_user(void)
 {
        static const char *const prog_names[] = {
                "handle_sys_connect",