Lines Matching defs:path
67 char *path;
118 path = user;
119 } else { /* path */
120 if ((path = strtok((char *) 0, whitespace)) == 0)
123 if (path[0] == '?') /* IRIX optional service */
124 path++;
125 if (STR_EQ(path, "internal"))
127 if (path[strspn(path, "-0123456789")] == 0) {
130 * ConvexOS puts RPC version numbers before path names. Jukka
133 if ((path = strtok((char *) 0, whitespace)) == 0)
145 * ...stuff... path arg_count arguments mod_count modules
155 inet_chk(protocol, path, arg0, arg1);
164 static void inet_chk(protocol, path, arg0, arg1)
166 char *path;
173 char *base_name_path = base_name(path);
180 if (check_path(path, &st) < 0) {
181 tcpd_warn("%s: not found: %m", path);
183 tcpd_warn("%s: not executable", path);
214 tcpd_warn("%s: file is set-uid or set-gid", path);
221 tcpd_warn("%s inserted before %s", path, arg0);
228 if (arg0[0] == '/') { /* absolute path */
252 if (STR_EQ(path, daemon)) {
315 static char *base_name(path)
316 char *path;
320 if ((cp = strrchr(path, '/')) != 0)
321 path = cp + 1;
322 return (path);