check_for
target_ok = target_ok && check_for(p->mode, p->path);
static int check_for(unsigned int mode, const char *pathname);