Searched refs:chroot_directory (Results 1 – 5 of 5) sorted by relevance
178 if (options.chroot_directory != NULL && in platform_setusercontext_post_groups()179 strcasecmp(options.chroot_directory, "none") != 0) in platform_setusercontext_post_groups()
174 char *chroot_directory; member
158 options->chroot_directory = NULL; in initialize_server_options()361 CLEAR_ON_NONE(options->chroot_directory); in fill_default_server_options()1676 charptr = &options->chroot_directory; in process_server_config_line()2057 M_CP_STROPT(chroot_directory); in copy_set_server_options()2058 if (option_clear_or_none(dst->chroot_directory)) { in copy_set_server_options()2059 free(dst->chroot_directory); in copy_set_server_options()2060 dst->chroot_directory = NULL; in copy_set_server_options()2303 dump_cfg_string(sChrootDirectory, o->chroot_directory); in dump_config()
1369 if (!in_chroot && options.chroot_directory != NULL && in do_setusercontext()1370 strcasecmp(options.chroot_directory, "none") != 0) { in do_setusercontext()1371 tmp = tilde_expand_filename(options.chroot_directory, in do_setusercontext()1379 free(options.chroot_directory); in do_setusercontext()1380 options.chroot_directory = NULL; in do_setusercontext()1410 } else if (options.chroot_directory != NULL && in do_setusercontext()1411 strcasecmp(options.chroot_directory, "none") != 0) { in do_setusercontext()
166 if (options.chroot_directory == NULL || in allowed_user()167 strcasecmp(options.chroot_directory, "none") == 0) { in allowed_user()