Lines Matching defs:spec
493 get_spec(char *line, char *spec, size_t ssz)
498 if (strlcpy(spec, line, ssz) >= ssz) {
504 cp = spec;
517 (void) memmove(spec, start, strlen(start) + 1);
523 path_match(char *rsrc, char *spec)
532 if (realpath(spec, s) == NULL)
555 "rsrc=%s spec=%s: %s\n", rsrc, spec, strerror(errno));
593 char spec[MNT_LINE_MAX + 1];
597 if (get_spec(line, spec, sizeof (spec)) == -1) {
602 if (path_match(rsrc, spec) != 0) {