Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/testing/selftests/bpf/
A Dtest_progs.c517 int sysctl_fd; in is_jit_enabled() local
519 sysctl_fd = open(jit_sysctl, 0, O_RDONLY); in is_jit_enabled()
520 if (sysctl_fd != -1) { in is_jit_enabled()
523 if (read(sysctl_fd, &tmpc, sizeof(tmpc)) == 1) in is_jit_enabled()
525 close(sysctl_fd); in is_jit_enabled()

Completed in 5 milliseconds