HomeSort by: relevance | last modified time | path
    Searched refs:chroot (Results 1 - 25 of 37) sorted by relevancy

1 2

  /src/usr.sbin/chroot/
Makefile 4 PROG= chroot
5 MAN= chroot.8
chroot.c 1 /* $NetBSD: chroot.c,v 1.19 2011/09/20 14:28:52 christos Exp $ */
40 static char sccsid[] = "@(#)chroot.c 8.1 (Berkeley) 6/9/93";
42 __RCSID("$NetBSD: chroot.c,v 1.19 2011/09/20 14:28:52 christos Exp $");
176 if (chdir(argv[0]) == -1 || chroot(".") == -1)
  /src/distrib/evbarm/instkernel/sshramdisk/
mtree.conf 26 ./var/chroot
27 ./var/chroot/sshd
  /src/tests/kernel/
t_proccwd.c 97 ATF_TC(chroot);
98 ATF_TC_HEAD(chroot, tc)
109 ATF_TC_BODY(chroot, tc)
133 ASSERT(chroot(buf) == 0);
151 ATF_TP_ADD_TC(tp, chroot);
  /src/usr.sbin/rtadvd/
rtadvd_hostops.c 29 .op_chroot = chroot,
prog_ops.h 73 #define prog_chroot chroot
  /src/distrib/vax/inst-common/
instbin.conf 8 progs gawk cat chmod chown chroot cp df disklabel ed expr fsck ftp
  /src/tests/lib/libc/sys/
t_chroot.c 49 atf_tc_set_md_var(tc, "descr", "A basic test of chroot(2)");
71 if (chroot(buf) != 0)
76 if (chroot("/root") != -1)
96 atf_tc_fail("chroot(2) failed");
104 atf_tc_fail("chroot(2) did not change the root directory");
113 atf_tc_set_md_var(tc, "descr", "Test error conditions of chroot(2)");
124 ATF_REQUIRE_ERRNO(ENAMETOOLONG, chroot(buf) == -1);
127 ATF_REQUIRE_ERRNO(EFAULT, chroot((void *)-1) == -1);
130 ATF_REQUIRE_ERRNO(ENOENT, chroot("/a/b/c/d/e/f/g/h/i/j") == -1);
136 atf_tc_set_md_var(tc, "descr", "Test permissions with chroot(2)")
    [all...]
t_ptrace.c 176 FORKEE_ASSERT(chroot(buf) == 0);
  /src/distrib/amiga/floppies/inst-common/
instbin.conf 8 progs gawk cat chmod chown chroot cp dd df disklabel ed expr fsck_ffs ftp
  /src/distrib/amiga/floppies/upgr/
upgrade.sh 248 $DONTDOIT chroot /mnt fsck -p -c 2
276 $DONTDOIT chroot /mnt mount -at ffs > /dev/null 2>&1
  /src/distrib/alpha/instkernel/ramdisk/
upgrade.sh 204 chroot /mnt fsck -f -p $upgrargs
248 chroot /mnt mount -at ffs > /dev/null 2>&1
  /src/tests/lib/libexecinfo/
t_backtrace_sandbox.c 62 if (chroot("/tmp") != 0)
78 atf_tc_fail("resolving symbols in chroot failed");
  /src/lib/libpam/modules/pam_chroot/
pam_chroot.c 91 "%s has no chroot directory", user);
99 if (chroot(dir) == -1) {
100 openpam_log(PAM_LOG_ERROR, "chroot(): %s", strerror(errno));
  /src/tests/lib/libc/gen/
t_arc4random.c 284 ATF_TC(chroot);
285 ATF_TC_HEAD(chroot, tc)
288 "Test arc4random in an empty chroot");
291 ATF_TC_BODY(chroot, tc)
297 * Create an empty chroot.
302 * In a child process, enter the chroot and verify that we
305 * (atf gets unhappy if we chroot in the same process, when it
312 if (chroot("root") == -1)
313 err(1, "chroot");
315 errx(1, "open /dev/urandom must fail in empty chroot");
    [all...]
  /src/usr.sbin/
Makefile 8 certctl chroot cnwctl cpuctl crash \
  /src/etc/defaults/
rc.conf 255 # chroot(2) cage, uncomment the following after migrating the contents
256 # of /etc/namedb to /var/chroot/named/etc/namedb
258 #named_chrootdir="/var/chroot/named"
261 # chroot(2) cage, uncomment the following, after ensuring that:
265 #ntpd_chrootdir="/var/chroot/ntpd"
414 unbound_chrootdir=/var/chroot/unbound
418 nsd_chrootdir=/var/chroot/nsd
  /src/libexec/httpd/lua/
bozo.lua 55 opt.add_option{"-t", "--chroot", action="store", dest="chroot", help="--chroot dir"}
135 if options.chroot then
136 bozohttpd.set_pref(httpd, prefs, "chroot dir", options.chroot)
  /src/regress/sys/kern/getcwd/
getcwd.c 90 * chroot interactions:
91 * chroot, at / inside the directory.
92 * chroot, at some other inside directory.
98 * chroot interactions:
99 * chroot to mounted directory.
100 * (i.e., proc a: chroot /foo; sleep;
279 fprintf(stderr, "Not root; skipping chroot tests\n");
301 /* chroot to root of filesystem (assuming MFS /tmp) */
302 chroot ("/tmp");
304 /* chroot to further down *
    [all...]
  /src/dist/pf/sbin/pflogd/
privsep.c 101 if (chroot(pw->pw_dir) != 0)
102 err(1, "unable to chroot");
  /src/libexec/ftpd/
extern.h 269 char *chroot; /* Directory to chroot(2) to at login */ member in struct:ftpclass
364 curclass.type == CLASS_CHROOT ? "CHROOT" : \
  /src/include/
unistd.h 227 int chroot(const char *);
  /src/lib/libc/sys/
Makefile.inc 102 chdir.S chflags.S chmod.S chown.S chroot.S \
261 chflags.2 chmod.2 chown.2 chroot.2 clock_getcpuclockid2.2 \
309 MLINKS+=chroot.2 fchroot.2
  /src/dist/pf/libexec/tftp-proxy/
tftp-proxy.c 52 #define CHROOT_DIR "/var/chroot/tftp-proxy"
130 if (chroot(CHROOT_DIR) || chdir("/")) {
131 syslog(LOG_ERR, "chroot %s: %m", CHROOT_DIR);
  /src/regress/sys/kern/unfdpass/
unfdpass.c 199 ((chroot(".") < 0)))
200 err(1, "chroot");

Completed in 26 milliseconds

1 2