Lines Matching refs:qpath
6178 char qpath[MAXPATHLEN]; local
6222 len = sm_strlcpy(qpath, qg->qg_qdir, sizeof(qpath));
6223 if (len >= sizeof(qpath))
6226 qg->qg_qdir, (int) sizeof(qpath));
6232 if (strncmp(basedir, qpath, blen) != 0 &&
6233 (strncmp(basedir, qpath, blen - 1) != 0 || len != blen - 1))
6236 qpath, basedir);
6250 qg->qg_qdir, (int) sizeof(qpath));
6261 cp = &qpath[len - 1];
6271 if ((cp = SM_LAST_DIR_DELIM(qpath)) == NULL)
6276 qpath);
6280 if (cp == qpath)
6287 (void) sm_strlcpy(qpath + 1, qpath, sizeof(qpath) - 1);
6428 i = safedirpath(qpath, RunAsUid, RunAsGid, NULL, sff, 0, 0);
6431 syserr("can not opendir(%s)", qpath);
6434 qpath, sm_errstring(i));