Home
last modified time | relevance | path

Searched refs:chroot_dir (Results 1 – 3 of 3) sorted by relevance

/freebsd-13.1/libexec/tftpd/
H A Dtftpd.c131 char *chroot_dir = NULL; in main() local
177 chroot_dir = optarg; in main()
210 else if (chroot_dir) { in main()
214 if (ipchroot > 0 && chroot_dir == NULL) { in main()
345 if (chroot_dir) { in main()
359 asprintf(&tempchroot, "%s/%s", chroot_dir, hbuf); in main()
364 chroot_dir = tempchroot; in main()
371 if (chroot(chroot_dir)) { in main()
373 chroot_dir, strerror(errno)); in main()
/freebsd-13.1/contrib/tcpdump/
H A Dtcpdump.c597 droproot(const char *username, const char *chroot_dir) in droproot() argument
601 if (chroot_dir && !username) { in droproot()
609 if (chroot_dir) { in droproot()
610 if (chroot(chroot_dir) != 0 || chdir ("/") != 0) { in droproot()
612 program_name, chroot_dir, pcap_strerror(errno)); in droproot()
1157 char *chroot_dir = NULL; in main() local
1602 if (!chroot_dir) in main()
1603 chroot_dir = WITH_CHROOT; in main()
1869 if (chroot_dir) { in main()
1886 if (username || chroot_dir) in main()
[all …]
/freebsd-13.1/usr.sbin/bsdconfig/timezone/
H A DUSAGE27 Usage: bsdconfig @PROGRAM_NAME@ [-ehnrSsvX] [-C chroot_dir] [zinfo_file | zinfo_name]