Searched refs:sysctl_path (Results 1 - 2 of 2) sorted by relevance
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_sysctl.c | 1435 const char *sysctl_path) 1448 fd = open(sysctl_path, O_RDONLY | O_CLOEXEC); 1450 log_err("open(%s) failed", sysctl_path); 1455 log_err("read(%s) failed", sysctl_path); 1491 static int load_sysctl_prog(struct sysctl_test *test, const char *sysctl_path) argument 1495 : load_sysctl_prog_insns(test, sysctl_path); 1498 static int access_sysctl(const char *sysctl_path, argument 1504 fd = open(sysctl_path, test->open_flags | O_CLOEXEC); 1546 char sysctl_path[128]; local 1552 snprintf(sysctl_path, sizeo 1434 load_sysctl_prog_insns(struct sysctl_test *test, const char *sysctl_path) argument [all...] |
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | unpriv_bpf_disabled.c | 38 static int sysctl_set(const char *sysctl_path, char *old_val, const char *new_val) argument 43 fp = fopen(sysctl_path, "r+");
|
Completed in 220 milliseconds