Searched refs:port_buf (Results 1 - 1 of 1) sorted by relevance

/ast/src/cmd/cs/
H A Dcs.c200 static char port_buf[PATH_MAX + 1]; local
275 if (pathgetlink(p, port_buf, sizeof(port_buf)) > 0 && (port = strrchr(port_buf, '/')))
310 sfsprintf(port_buf, sizeof(port_buf) - 1, "%s/%s/%s/%s%s", CS_SVC_DIR, label[0], label[2], label[2], CS_SVC_SUFFIX);
312 if (!pathpath(port_buf, "", PATH_ABSOLUTE|PATH_EXECUTE, serv_buf, sizeof(serv_buf)) || stat(serv_buf, &st) || st.st_uid != uid)

Completed in 10 milliseconds