Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

selftests/bpf: drop serial restriction

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>

authored by

Sun Jian and committed by
Alexei Starovoitov
aa181c7d 70ce840d

+1 -2
+1 -2
tools/testing/selftests/bpf/prog_tests/probe_user.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 #include <test_progs.h> 3 3 4 - /* TODO: corrupts other tests uses connect() */ 5 - void serial_test_probe_user(void) 4 + void test_probe_user(void) 6 5 { 7 6 static const char *const prog_names[] = { 8 7 "handle_sys_connect",