Searched refs:chroot_directory (Results 1 – 5 of 5) sorted by relevance
166 char *chroot_directory; member183 int chroot_requested(char *chroot_directory);
185 permanently_set_uid(struct passwd *pw, char *chroot_directory) in permanently_set_uid() argument238 if (chroot_requested(chroot_directory) && in permanently_set_uid()
154 options->chroot_directory = NULL; in initialize_server_options()1303 charptr = &options->chroot_directory; in process_server_config_line()1455 M_CP_STROPT(chroot_directory); in copy_set_server_options()1490 chroot_requested(char *chroot_directory) in chroot_requested() argument1492 return (chroot_directory != NULL && in chroot_requested()1493 strcasecmp(chroot_directory, "none") != 0); in chroot_requested()
1267 if (chroot_requested(options.chroot_directory)) { in chroot_if_needed()1268 tmp = tilde_expand_filename(options.chroot_directory, in chroot_if_needed()1447 if (!chroot_requested(options.chroot_directory)) in do_child()1777 } else if (chroot_requested(options.chroot_directory)) { in session_subsystem_req()1780 strlcpy(chdirsub, options.chroot_directory, in session_subsystem_req()1787 options.chroot_directory, in session_subsystem_req()
1646 permanently_set_uid(authctxt->pw, options.chroot_directory); in main()