Home
last modified time | relevance | path

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

/Linux-v5.4/tools/testing/selftests/bpf/
Dtest_progs.c194 int sysctl_fd; in is_jit_enabled() local
196 sysctl_fd = open(jit_sysctl, 0, O_RDONLY); in is_jit_enabled()
197 if (sysctl_fd != -1) { in is_jit_enabled()
200 if (read(sysctl_fd, &tmpc, sizeof(tmpc)) == 1) in is_jit_enabled()
202 close(sysctl_fd); in is_jit_enabled()