Searched refs:tmp_path (Results 1 – 2 of 2) sorted by relevance
| /xnu-10063.121.3/tests/vm/ |
| H A D | vm_tainted_executable.c | 48 char tmp_path[] = "/tmp/hell0-XXXXXX"; variable 64 fd2 = mkstemp(tmp_path); 65 T_QUIET; T_ASSERT_POSIX_SUCCESS(fd2, "mkstemp(%s)", tmp_path); 97 T_LOG("launching '%s'", tmp_path); 98 child_argv[0] = tmp_path; 100 …T_QUIET; T_ASSERT_POSIX_SUCCESS(posix_spawn(&child_pid, tmp_path, NULL, NULL, child_argv, NULL), N… 109 T_QUIET; T_ASSERT_POSIX_SUCCESS(unlink(tmp_path), NULL);
|
| /xnu-10063.121.3/tests/ |
| H A D | proc_info.c | 469 static char tmp_path[PATH_MAX] = {}; in proc_info_caller() local 614 tmp_fd = CONF_TMP_FILE_OPEN(tmp_path); in proc_info_caller() 650 …T_LOG("file: %s is opened as fd %d and mapped at %llx with size %lu", tmp_path, tmp_fd, (uint64_t)… in proc_info_caller() 660 retval = unlink(tmp_path); in proc_info_caller() 662 T_ASSERT_POSIX_SUCCESS(retval, "unlink(%s) failed", tmp_path); in proc_info_caller() 711 retval = unlink(tmp_path); in proc_info_caller()
|