check_path
error = check_path(xc, fileid_src, fileid_targ_dir);
int check_path(struct Xconn *, fileid_t, fileid_t);
check_path = optarg;
if (check_path == NULL)
check_path = getenv("CHECK_PATH");
if ((check_path == NULL) || (check_path[0] == '\0')) {
check_path = def_check_path;
const char *check_path; /* path to prepend to check files for output
extern char *check_path;
if (strlcpy(check_file, check_path, sizeof(check_file))
check_path(conf, &st);
if (check_path(path, &st) < 0) {
if (check_path(arg0, &st) < 0) {
if (check_path(daemon, &st) < 0) {
} else if (check_path(daemon, &st) >= 0) {
(void) check_path(buf[0] ? buf : "/", &stbuf);
int check_path(const char *, struct stat *);
if (check_path(REAL_DAEMON_DIR, &st) < 0) {
(void) check_path(hosts_allow_table, &st);
(void) check_path(hosts_deny_table, &st);
if (check_path(REAL_DAEMON_DIR, &st) < 0) {
(void) check_path(hosts_allow_table, &st);
(void) check_path(hosts_deny_table, &st);