Searched refs:chroot (Results 1 - 25 of 89) sorted by relevance

1234

/external/clang/test/Analysis/
H A Dchroot.c3 extern int chroot(const char* path);
10 chroot("/usr/local"); // root changed.
11 foo(); // expected-warning {{No call of chdir("/") immediately after chroot}}
15 chroot("/usr/local"); // root changed.
21 chroot("/usr/local"); // root changed.
23 foo(); // expected-warning {{No call of chdir("/") immediately after chroot}}
/external/autotest/client/cros/
H A Dvpn_server.py167 chroot = self._chroot
168 chroot.add_root_directories(self.ROOT_DIRECTORIES)
169 chroot.add_config_templates(self.IPSEC_COMMON_CONFIGS)
170 chroot.add_config_templates(self.IPSEC_TYPED_CONFIGS[self._auth_type])
171 chroot.add_config_values({
182 chroot.add_startup_command('%s start' % self.IPSEC_COMMAND)
183 chroot.add_startup_command('%s -c /%s -C /tmp/l2tpd.control' %
187 chroot.startup()
192 chroot = self._chroot
193 chroot
[all...]
/external/toybox/toys/other/
H A Dchroot.c0 /* chroot.c - Run command in new root directory.
5 * TODO: The test for root is "==" so root can trivially escape a chroot by
6 * moving it below cwd, ala mkdir("sub"); chroot("sub"); chdir("../../../..")
10 USE_CHROOT(NEWTOY(chroot, "^<1", TOYFLAG_USR|TOYFLAG_SBIN))
13 bool "chroot"
16 usage: chroot NEWPATH [commandline...]
27 if (chdir(*toys.optargs) || chroot(".")) perror_exit_raw(*toys.optargs);
/external/autotest/client/cros/cellular/
H A Dnet_interface.py48 self.chroot = network_chroot.NetworkChroot(self.PEER_IFACE_NAME,
51 self.chroot.add_config_templates(self.NETWORK_CHROOT_CONFIG)
52 self.chroot.add_startup_command(
54 self.chroot.add_startup_command(
57 self.chroot.add_startup_command(self._dnsmasq_command)
59 self.chroot.add_startup_command(self._test_endpoint_command)
89 self.chroot.run(cmd)
122 self.chroot.startup()
133 self.chroot.shutdown()
/external/toolchain-utils/crosperf/experiment_files/
H A Daes_perf.exp20 chromeos_image:<path-to-your-chroot>/src/build/images/<board>/test-image/chromiumos_test_image.bin
H A Dofficial-image.exp22 # Replace <path-to-your-chroot-goes-here> with the actual directory path
23 # to the top of your ChromimumOS chroot.
25 chromeos_root:<path-to-your-chroot-goes-here>
34 # Replace <path-to-your-chroot-goes-here> with actual path.
35 chromeos_root:<path-to-your-chroot-goes-here>
H A Dtelemetry-crosperf-suites.exp44 chromeos_image:<path-to-your-chroot>/src/build/images/<board>/test-image/chromiumos_test_image.bin
50 chromeos_image:<path-to-your-other-chroot-goes-here>/src/build/images/<board-goes-here>/latest/chromiumos_test_image.bin
H A Dtelemetry-crosperf.exp24 # Replace <path-to-your-chroot-goes-here> and <board-goes-here> below.
26 chromeos_image:<path-to-your-chroot>/src/build/images/<board>/vanilla-image/chromiumos_test_image.bin
31 chromeos_image:<path-to-your-chroot>/src/build/images/<board>/test-image/chromiumos_test_image.bin
H A Dbloat_perf.exp24 chromeos_image:<path-to-your-chroot>/src/build/images/<board>/test-image/chromiumos_test_image.bin
H A Dmorejs_perf.exp24 chromeos_image:<path-to-your-chroot>/src/build/images/<board>/test-image/chromiumos_test_image.bin
H A Dnon-telemetry-tests.exp30 chromeos_image:<path-to-your-chroot>/src/build/images/<board>/test-image/chromiumos_test_image.bin
H A Dpage_cycler.exp27 chromeos_image:<path-to-your-chroot>/src/build/images/<board>/test-image/chromiumos_test_image.bin
H A Dtelemetry-crosperf-with-external-chrome-src.exp2 # chrome source tree (rather than using the one inside the chroot).
25 chromeos_image:<path-to-your-chroot>/src/build/images/<board>/test-image/chromiumos_test_image.bin
H A Dtelemetry-crosperf-with-profiler.exp33 chromeos_image:<path-to-your-chroot>/src/build/images/<board>/test-image/chromiumos_test_image.bin
H A Dtelemetry-without-autotest.exp30 chromeos_image:<path-to-your-chroot>/src/build/images/<board>/test-image/chromiumos_test_image.bin
H A Dtrybot-image.exp23 # Replace <path-to-your-chroot-goes-here> with the actual directory path
24 # to the top of your ChromimumOS chroot.
26 chromeos_root:<path-to-your-chroot-goes-here>
H A Dpage_cycler_perf.exp44 chromeos_image:<path-to-your-chroot>/src/build/images/<board>/test-image/chromiumos_test_image.bin
/external/toolchain-utils/crosperf/
H A Dcompare_machines.py18 print('\n compare_machines.py --chromeos_root=/path/to/chroot/ '
41 chroot = options.chromeos_root
45 cm = CrosMachine(m, chroot, 'average')
/external/vboot_reference/tests/
H A Dtest_using_qemu.sh13 # BUILD_RUN - path to build directory inside chroot
14 # HOME - home directory inside chroot
15 # QEMU_RUN - path to QEMU binary inside chroot
16 # SYSROOT - path to root for target platform, outside chroot
27 sudo chroot ${SYSROOT} ${QEMU_RUN} -drop-ld-preload \
/external/libcap/progs/
H A Dquicktest.sh150 # Verify we can chroot
151 pass_capsh --chroot=$(/bin/pwd)
152 pass_capsh --chroot=$(/bin/pwd) ==
153 fail_capsh --chroot=$(/bin/pwd) -- -c "echo oops"
/external/ltp/testcases/kernel/syscalls/chroot/
H A Dchroot01.c25 * Testcase to check the whether chroot sets errno to EPERM.
28 * As a non-root user attempt to perform chroot() to a directory. The
29 * chroot() call should fail with EPERM
80 TEST(chroot(path));
85 tst_resm(TFAIL | TTERRNO, "chroot failed unexpectedly");
87 tst_resm(TPASS, "chroot set errno to EPERM.");
H A Dchroot02.c25 * Test functionality of chroot(2)
42 * Change testcase to chroot into a temporary directory
87 if (chroot(tst_get_tmpdir()) == -1) {
88 perror("chroot failed");
105 tst_resm(TFAIL, "chroot functionality incorrect");
107 tst_resm(TPASS, "chroot functionality correct");
/external/autotest/contrib/
H A Dservo-stat19 PYTHON=$(readlink -f $REPO/chroot/usr/bin/python2.7)
20 HDCTOOLS=$(readlink -f $REPO/chroot/usr/lib/python2.7/site-packages/servo)
/external/e2fsprogs/debugfs/
H A Dro_debug_cmds.ct31 change_root_directory, chroot;
/external/ipsec-tools/src/racoon/
H A Dlocalconf.h74 char *chroot; /* chroot path */ member in struct:localconf

Completed in 1445 milliseconds

1234