Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_progs.c201 int sysctl_fd; in is_jit_enabled() local
203 sysctl_fd = open(jit_sysctl, 0, O_RDONLY); in is_jit_enabled()
204 if (sysctl_fd != -1) { in is_jit_enabled()
207 if (read(sysctl_fd, &tmpc, sizeof(tmpc)) == 1) in is_jit_enabled()
209 close(sysctl_fd); in is_jit_enabled()