Searched refs:chroot_dir (Results 1 – 2 of 2) sorted by relevance
597 droproot(const char *username, const char *chroot_dir) in droproot() argument601 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()1123 char *chroot_dir = NULL; in main() local1568 if (!chroot_dir) in main()1569 chroot_dir = WITH_CHROOT; in main()1829 if (chroot_dir) { in main()1846 if (username || chroot_dir) in main()[all …]
266 def CreateMountPointsFromString(mount_strings, chroot_dir): argument280 mount_point = MountPoint(external_dir, chroot_dir + '/' + mount_dir,