Searched refs:chroot_dir (Results 1 – 2 of 2) sorted by relevance
588 droproot(const char *username, const char *chroot_dir) in droproot() argument592 if (chroot_dir && !username) { in droproot()600 if (chroot_dir) { in droproot()601 if (chroot(chroot_dir) != 0 || chdir ("/") != 0) { in droproot()603 program_name, chroot_dir, pcap_strerror(errno)); in droproot()1114 char *chroot_dir = NULL; in main() local1559 if (!chroot_dir) in main()1560 chroot_dir = WITH_CHROOT; in main()1820 if (chroot_dir) { in main()1837 if (username || chroot_dir) in main()[all …]
274 def CreateMountPointsFromString(mount_strings, chroot_dir): argument288 mount_point = MountPoint(external_dir, chroot_dir + '/' + mount_dir,