Home | History | Annotate | Download | only in minijail

Lines Matching defs:chroot

103 	       "  -b:         binds <src> to <dest> in chroot. Multiple "
105 " -k: mount <src> to <dest> in chroot. Multiple "
108 " -C <dir>: chroot to <dir>\n"
142 " -t: mount tmpfs at /tmp inside chroot\n"
165 int pivot_root = 0, chroot = 0;
215 fprintf(stderr, "Could not set chroot because "
220 fprintf(stderr, "Could not set chroot.\n");
223 chroot = 1;
229 if (chroot) {
318 /* Only allow bind mounts when entering a chroot or using pivot_root. */
319 if (binding && !(chroot || pivot_root)) {
320 fprintf(stderr, "Can't add bind mounts without chroot or"