Lines Matching defs:path
169 hook_alloc(const char *path, char **args)
183 (void)strlcpy(hp->hp_comm, path, sizeof(hp->hp_comm));
190 pjdlog_error("Exec path too long, correct configuration file.");
330 hook_exec(const char *path, ...)
334 va_start(ap, path);
335 hook_execv(path, ap);
340 hook_execv(const char *path, va_list ap)
350 if (path == NULL || path[0] == '\0')
354 args[0] = __DECONST(char *, path);
362 hp = hook_alloc(path, args);
371 pjdlog_errno(LOG_ERR, "Unable to fork to execute %s", path);
383 execv(path, args);
384 pjdlog_errno(LOG_ERR, "Unable to execute %s", path);