/external/clang/test/Analysis/ |
H A D | chroot.c | 3 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 D | vpn_server.py | 167 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 D | chroot.c | 0 /* 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 D | net_interface.py | 48 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 D | aes_perf.exp | 20 chromeos_image:<path-to-your-chroot>/src/build/images/<board>/test-image/chromiumos_test_image.bin
|
H A D | official-image.exp | 22 # 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 D | telemetry-crosperf-suites.exp | 44 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 D | telemetry-crosperf.exp | 24 # 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 D | bloat_perf.exp | 24 chromeos_image:<path-to-your-chroot>/src/build/images/<board>/test-image/chromiumos_test_image.bin
|
H A D | morejs_perf.exp | 24 chromeos_image:<path-to-your-chroot>/src/build/images/<board>/test-image/chromiumos_test_image.bin
|
H A D | non-telemetry-tests.exp | 30 chromeos_image:<path-to-your-chroot>/src/build/images/<board>/test-image/chromiumos_test_image.bin
|
H A D | page_cycler.exp | 27 chromeos_image:<path-to-your-chroot>/src/build/images/<board>/test-image/chromiumos_test_image.bin
|
H A D | telemetry-crosperf-with-external-chrome-src.exp | 2 # 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 D | telemetry-crosperf-with-profiler.exp | 33 chromeos_image:<path-to-your-chroot>/src/build/images/<board>/test-image/chromiumos_test_image.bin
|
H A D | telemetry-without-autotest.exp | 30 chromeos_image:<path-to-your-chroot>/src/build/images/<board>/test-image/chromiumos_test_image.bin
|
H A D | trybot-image.exp | 23 # 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 D | page_cycler_perf.exp | 44 chromeos_image:<path-to-your-chroot>/src/build/images/<board>/test-image/chromiumos_test_image.bin
|
/external/toolchain-utils/crosperf/ |
H A D | compare_machines.py | 18 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 D | test_using_qemu.sh | 13 # 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 D | quicktest.sh | 150 # 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 D | chroot01.c | 25 * 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 D | chroot02.c | 25 * 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 D | servo-stat | 19 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 D | ro_debug_cmds.ct | 31 change_root_directory, chroot;
|
/external/ipsec-tools/src/racoon/ |
H A D | localconf.h | 74 char *chroot; /* chroot path */ member in struct:localconf
|