Searched refs:dotsshdir (Results 1 – 1 of 1) sorted by relevance
/netbsd-src/crypto/external/bsd/openssh/dist/ |
H A D | hostfile.c | 479 char *dotsshdir = NULL, *p; in hostfile_create_user_ssh_dir() local 486 dotsshdir = tilde_expand_filename("~/" _PATH_SSH_USER_DIR, getuid()); in hostfile_create_user_ssh_dir() 487 if (strlen(dotsshdir) > len || strncmp(filename, dotsshdir, len) != 0) in hostfile_create_user_ssh_dir() 489 if (stat(dotsshdir, &st) == 0) in hostfile_create_user_ssh_dir() 492 error("Could not stat %s: %s", dotsshdir, strerror(errno)); in hostfile_create_user_ssh_dir() 494 if (mkdir(dotsshdir, 0700) == -1) in hostfile_create_user_ssh_dir() 496 dotsshdir, strerror(errno)); in hostfile_create_user_ssh_dir() 498 logit("Created directory '%s'.", dotsshdir); in hostfile_create_user_ssh_dir() 501 free(dotsshdir); in hostfile_create_user_ssh_dir()
|