/external/clang/test/Analysis/ |
chroot.c | 1 // RUN: %clang_cc1 -analyze -analyzer-checker=alpha.unix.Chroot -analyzer-store region -verify %s 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}}
|
/bionic/libc/arch-arm/syscalls/ |
chroot.S | 5 ENTRY(chroot) function 16 END(chroot)
|
/bionic/libc/arch-arm64/syscalls/ |
chroot.S | 5 ENTRY(chroot) function 14 END(chroot)
|
/bionic/libc/arch-mips/syscalls/ |
chroot.S | 5 ENTRY(chroot) function 19 END(chroot)
|
/bionic/libc/arch-x86_64/syscalls/ |
chroot.S | 5 ENTRY(chroot) function 15 END(chroot)
|
/external/toybox/toys/other/ |
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)) 12 config CHROOT 13 bool "chroot" 16 usage: chroot NEWPATH [commandline...] 27 if (chdir(*toys.optargs) || chroot(".")) perror_exit_raw(*toys.optargs);
|
/external/autotest/client/cros/ |
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.run([self.IPSEC_COMMAND, 'stop'], ignore_status=True [all...] |
/bionic/libc/arch-mips64/syscalls/ |
chroot.S | 5 ENTRY(chroot) function 25 END(chroot)
|
/bionic/libc/arch-x86/syscalls/ |
chroot.S | 5 ENTRY(chroot) function 29 END(chroot)
|
/external/toolchain-utils/crosperf/experiment_files/ |
aes_perf.exp | 20 chromeos_image:<path-to-your-chroot>/src/build/images/<board>/test-image/chromiumos_test_image.bin
|
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>
|
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
|
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
|
bloat_perf.exp | 24 chromeos_image:<path-to-your-chroot>/src/build/images/<board>/test-image/chromiumos_test_image.bin
|
morejs_perf.exp | 24 chromeos_image:<path-to-your-chroot>/src/build/images/<board>/test-image/chromiumos_test_image.bin
|
non-telemetry-tests.exp | 30 chromeos_image:<path-to-your-chroot>/src/build/images/<board>/test-image/chromiumos_test_image.bin
|
page_cycler.exp | 27 chromeos_image:<path-to-your-chroot>/src/build/images/<board>/test-image/chromiumos_test_image.bin
|
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
|
telemetry-crosperf-with-profiler.exp | 33 chromeos_image:<path-to-your-chroot>/src/build/images/<board>/test-image/chromiumos_test_image.bin
|
telemetry-without-autotest.exp | 30 chromeos_image:<path-to-your-chroot>/src/build/images/<board>/test-image/chromiumos_test_image.bin
|
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>
|
/external/autotest/client/cros/cellular/ |
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/openssh/regress/ |
sftp-chroot.sh | 1 # $OpenBSD: sftp-chroot.sh,v 1.5 2016/09/26 21:34:38 bluhm Exp $ 4 tid="sftp in chroot" 6 CHROOT=/var/run 8 PRIVDATA=${CHROOT}/${FILENAME} 15 if ! $OBJ/check-perm -m chroot "$CHROOT" ; then 16 echo "skipped: $CHROOT is unsuitable as ChrootDirectory" 23 start_sshd -oChrootDirectory=$CHROOT -oForceCommand="internal-sftp -d /"
|
/external/toolchain-utils/crosperf/ |
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/ |
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 \
|