Searched refs:dotsshdir (Results 1 – 1 of 1) sorted by relevance
| /freebsd/crypto/openssh/ |
| H A D | hostfile.c | 506 char *dotsshdir = NULL, *p; in hostfile_create_user_ssh_dir() local 513 dotsshdir = tilde_expand_filename("~/" _PATH_SSH_USER_DIR, getuid()); in hostfile_create_user_ssh_dir() 514 if (strlen(dotsshdir) > len || strncmp(filename, dotsshdir, len) != 0) in hostfile_create_user_ssh_dir() 516 if (stat(dotsshdir, &st) == 0) in hostfile_create_user_ssh_dir() 519 error("Could not stat %s: %s", dotsshdir, strerror(errno)); in hostfile_create_user_ssh_dir() 522 ssh_selinux_setfscreatecon(dotsshdir); in hostfile_create_user_ssh_dir() 524 if (mkdir(dotsshdir, 0700) == -1) in hostfile_create_user_ssh_dir() 526 dotsshdir, strerror(errno)); in hostfile_create_user_ssh_dir() 528 logit("Created directory '%s'.", dotsshdir); in hostfile_create_user_ssh_dir() 534 free(dotsshdir); in hostfile_create_user_ssh_dir()
|