Searched refs:measured_dir (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | test_ima.c | 18 static int _run_measured_process(const char *measured_dir, u32 *monitored_pid, in _run_measured_process() argument 26 execlp("./ima_setup.sh", "./ima_setup.sh", cmd, measured_dir, in _run_measured_process() 40 return _run_measured_process(measured_dir, monitored_pid, "run"); in run_measured_process() 69 const char *measured_dir; in test_test_ima() local 89 measured_dir = mkdtemp(measured_dir_template); in test_test_ima() 90 if (CHECK(measured_dir == NULL, "mkdtemp", "err %d\n", errno)) in test_test_ima() 93 snprintf(cmd, sizeof(cmd), "./ima_setup.sh setup %s", measured_dir); in test_test_ima() 104 err = run_measured_process(measured_dir, &skel->bss->monitored_pid); in test_test_ima() 119 err = run_measured_process(measured_dir, &skel->bss->monitored_pid); in test_test_ima() 144 err = _run_measured_process(measured_dir, &skel->bss->monitored_pid, in test_test_ima() [all …]
|