Home | History | Annotate | Download | only in tcpdump

Lines Matching refs:chroot

372 /* Drop root privileges and chroot if necessary */
379 fprintf(stderr, "tcpdump: Chroot without dropping root is insecure\n");
386 if (chroot(chroot_dir) != 0 || chdir ("/") != 0) {
387 fprintf(stderr, "tcpdump: Couldn't chroot/chdir to '%.64s': %s\n",