Searched refs:dotsshdir (Results 1 – 1 of 1) sorted by relevance
/freebsd/crypto/openssh/ |
H A D | hostfile.c | 478 char *dotsshdir = NULL, *p; in hostfile_create_user_ssh_dir() local 485 dotsshdir = tilde_expand_filename("~/" _PATH_SSH_USER_DIR, getuid()); in hostfile_create_user_ssh_dir() 486 if (strlen(dotsshdir) > len || strncmp(filename, dotsshdir, len) != 0) in hostfile_create_user_ssh_dir() 488 if (stat(dotsshdir, &st) == 0) in hostfile_create_user_ssh_dir() 491 error("Could not stat %s: %s", dotsshdir, strerror(errno)); in hostfile_create_user_ssh_dir() 494 ssh_selinux_setfscreatecon(dotsshdir); in hostfile_create_user_ssh_dir() 496 if (mkdir(dotsshdir, 0700) == -1) in hostfile_create_user_ssh_dir() 498 dotsshdir, strerror(errno)); in hostfile_create_user_ssh_dir() 500 logit("Created directory '%s'.", dotsshdir); in hostfile_create_user_ssh_dir() 506 free(dotsshdir); in hostfile_create_user_ssh_dir()
|