Lines Matching refs:CHROOT
205 #ifdef CHROOT
210 #endif /* CHROOT */
326 #if !defined(LETS_GET_SMALL) && defined(CHROOT)
329 #endif /* !LETS_GET_SMALL && CHROOT*/
663 #if !defined(LETS_GET_SMALL) && defined(CHROOT)
666 #endif /* !LETS_GET_SMALL && CHROOT */
852 #ifdef CHROOT
854 if (chroot(rootdir) != 0) {
855 warning("failed to chroot to `%s': %m",
859 #endif /* CHROOT */
932 #ifdef CHROOT
934 * If init.root sysctl does not point to "/", we'll chroot and run
947 #endif /* CHROOT */
950 * Regardless of whether in chroot or not, we booted successfully.
1212 #ifdef CHROOT
1213 /* If /etc/rc ran in chroot, we want to kill any survivors. */
1217 #endif /* CHROOT */
1299 #ifdef CHROOT
1300 /* If /etc/rc did proceed inside chroot, we have to try as well. */
1302 if (chroot(rootdir) != 0) {
1303 stall("can't chroot getty `%s' inside `%s': %m",
1307 #endif /* CHROOT */
1756 #ifdef CHROOT
1764 #endif /* CHROOT */
1769 #if !defined(LETS_GET_SMALL) && defined(CHROOT)
1847 /* We certainly won't chroot. */
1862 #endif /* !LETS_GET_SMALL && CHROOT */