Home
last modified time | relevance | path

Searched refs:bpf_mod_race_config (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_mod_race.c13 } bpf_mod_race_config = { -1 }; variable
22 return task->tgid == bpf_mod_race_config.tgid; in check_thread_id()
79 bpf_copy_from_user(&dst, 1, bpf_mod_race_config.fault_addr); in BPF_PROG()
80 return bpf_mod_race_config.inject_error; in BPF_PROG()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_mod_race.c110 skel->rodata->bpf_mod_race_config.tgid = getpid(); in test_bpf_mod_race_config()
111 skel->rodata->bpf_mod_race_config.inject_error = -4242; in test_bpf_mod_race_config()
112 skel->rodata->bpf_mod_race_config.fault_addr = fault_addr; in test_bpf_mod_race_config()