Home
last modified time | relevance | path

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

/Linux-v5.10/tools/testing/selftests/bpf/
Dtest_progs.c261 int sysctl_fd; in is_jit_enabled() local
263 sysctl_fd = open(jit_sysctl, 0, O_RDONLY); in is_jit_enabled()
264 if (sysctl_fd != -1) { in is_jit_enabled()
267 if (read(sysctl_fd, &tmpc, sizeof(tmpc)) == 1) in is_jit_enabled()
269 close(sysctl_fd); in is_jit_enabled()