| 199 | } |
| 200 | |
| 201 | static bool profile_paths(Child *child, const char *root, const char *stem) { |
| 202 | return path_fits(snprintf(child->profile, sizeof(child->profile), "%s/%s/%s.%ld.profraw", root, |
| 203 | tf_current_suite, stem, (long)child->pid), |
| 204 | sizeof(child->profile)) && |
| 205 | path_fits(snprintf(child->marker, sizeof(child->marker), "%s/%s/%s.%ld.forked", root, |
| 206 | tf_current_suite, stem, (long)child->pid), |
| 207 | sizeof(child->marker)); |
| 208 | } |
| 209 | |
| 210 | static bool hold_obstruction(Child *child) { |
| 211 | if (mkdir(child->profile, 0700) != 0) |
no test coverage detected