Home
last modified time | relevance | path

Searched refs:chroot_directory (Results 1 – 5 of 5) sorted by relevance

/titanic_50/usr/src/cmd/ssh/include/
H A Dservconf.h166 char *chroot_directory; member
183 int chroot_requested(char *chroot_directory);
/titanic_50/usr/src/cmd/ssh/libssh/common/
H A Duidswap.c185 permanently_set_uid(struct passwd *pw, char *chroot_directory) in permanently_set_uid() argument
238 if (chroot_requested(chroot_directory) && in permanently_set_uid()
/titanic_50/usr/src/cmd/ssh/sshd/
H A Dservconf.c154 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() argument
1492 return (chroot_directory != NULL && in chroot_requested()
1493 strcasecmp(chroot_directory, "none") != 0); in chroot_requested()
H A Dsession.c1267 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()
H A Dsshd.c1646 permanently_set_uid(authctxt->pw, options.chroot_directory); in main()