Searched refs:chroot_dir (Results 1 - 2 of 2) sorted by relevance

/freebsd-11-stable/libexec/tftpd/
H A Dtftpd.c129 char *chroot_dir = NULL; local
175 chroot_dir = optarg;
208 else if (chroot_dir) {
212 if (ipchroot > 0 && chroot_dir == NULL) {
343 if (chroot_dir) {
357 asprintf(&tempchroot, "%s/%s", chroot_dir, hbuf);
362 chroot_dir = tempchroot;
369 if (chroot(chroot_dir)) {
371 chroot_dir, strerror(errno));
/freebsd-11-stable/contrib/tcpdump/
H A Dtcpdump.c597 droproot(const char *username, const char *chroot_dir) argument
601 if (chroot_dir && !username) {
609 if (chroot_dir) {
610 if (chroot(chroot_dir) != 0 || chdir ("/") != 0) {
612 program_name, chroot_dir, pcap_strerror(errno));
1157 char *chroot_dir = NULL; local
1602 if (!chroot_dir)
1603 chroot_dir = WITH_CHROOT;
1869 if (chroot_dir) {
1886 if (username || chroot_dir)
[all...]

Completed in 111 milliseconds