Home
last modified time | relevance | path

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

/freebsd/libexec/tftpd/
H A Dtftpd.c120 char *chroot_dir = NULL; in main() local
172 chroot_dir = optarg; in main()
208 else if (chroot_dir) { in main()
212 if (ipchroot > 0 && chroot_dir == NULL) { in main()
319 if (chroot_dir) { in main()
333 asprintf(&tempchroot, "%s/%s", chroot_dir, hbuf); in main()
338 chroot_dir = tempchroot; in main()
345 if (chroot(chroot_dir)) { in main()
347 chroot_dir, strerror(errno)); in main()
/freebsd/contrib/tcpdump/
H A Dtcpdump.c776 droproot(const char *username, const char *chroot_dir) in droproot() argument
780 if (chroot_dir && !username) in droproot()
785 if (chroot_dir) { in droproot()
786 if (chroot(chroot_dir) != 0 || chdir ("/") != 0) in droproot()
788 chroot_dir, pcap_strerror(errno)); in droproot()
1506 const char *chroot_dir = NULL; in main() local
2024 if (!chroot_dir) in main()
2025 chroot_dir = WITH_CHROOT; in main()
2360 if (chroot_dir) { in main()
2381 if (username || chroot_dir) in main()
[all …]
/freebsd/usr.sbin/bsdconfig/timezone/
H A DUSAGE26 Usage: bsdconfig @PROGRAM_NAME@ [-ehnrSsvX] [-C chroot_dir] [zinfo_file | zinfo_name]