/prebuilts/go/linux-x86/src/syscall/ |
exec_solaris.go | 12 Chroot string // Chroot. 56 func forkAndExecInChild(argv0 *byte, argv, envv []*byte, chroot, dir *byte, attr *ProcAttr, sys *SysProcAttr, pipe int) (pid int, err Errno) { 131 // Chroot 132 if chroot != nil { 133 err1 = chroot1(uintptr(unsafe.Pointer(chroot)))
|
exec_unix.go | 167 var chroot *byte 168 if sys.Chroot != "" { 169 chroot, err = BytePtrFromString(sys.Chroot) 193 pid, err1 = forkAndExecInChild(argv0p, argvp, envvp, chroot, dir, attr, sys, p[1])
|
exec_linux.go | 23 Chroot string // Chroot. 59 func forkAndExecInChild(argv0 *byte, argv, envv []*byte, chroot, dir *byte, attr *ProcAttr, sys *SysProcAttr, pipe int) (pid int, err Errno) { 190 // Chroot 191 if chroot != nil { 192 _, _, err1 = RawSyscall(SYS_CHROOT, uintptr(unsafe.Pointer(chroot)), 0, 0)
|
exec_linux_test.go | 18 // Check if we are in a chroot by checking if the inode of / is
|
/prebuilts/misc/common/swig/include/2.0.11/perl5/ |
perlkw.swg | 125 PERLBN(chroot);
|
/external/ipsec-tools/src/racoon/ |
localconf.c | 107 lcconf->chroot = NULL;
|
/prebuilts/go/darwin-x86/src/syscall/ |
exec_linux.go | 23 Chroot string // Chroot. 59 func forkAndExecInChild(argv0 *byte, argv, envv []*byte, chroot, dir *byte, attr *ProcAttr, sys *SysProcAttr, pipe int) (pid int, err Errno) { 190 // Chroot 191 if chroot != nil { 192 _, _, err1 = RawSyscall(SYS_CHROOT, uintptr(unsafe.Pointer(chroot)), 0, 0)
|
exec_linux_test.go | 18 // Check if we are in a chroot by checking if the inode of / is
|
/external/toybox/ |
Android.mk | 91 toys/other/chroot.c \ 264 chroot \
|
/external/libchrome/sandbox/linux/suid/ |
sandbox.c | 70 // We will chroot() to the helper's /proc/self directory. Anything there will 140 if (chroot(safedir)) 141 FatalError("Cannot chroot into /proc/ directory"); 144 FatalError("Cannot chdir to / after chroot");
|
/external/ltp/testcases/kernel/security/tomoyo/ |
tomoyo_filesystem_test.c | 514 /* Test chroot(). */ 516 set_profile(3, "file::chroot"); 520 show_prompt("chroot('/tmp/mount/') for '/tmp/mount/'", 0); 523 if (chroot("/tmp/mount/") == 0) 533 show_prompt("chroot('/tmp/mount/') for '/tmp/mount/'", 1); 536 if (chroot("/tmp/mount/") == EOF && errno == EPERM) 547 show_prompt("chroot('/tmp/mount/') for " 551 if (chroot("/tmp/mount/") == 0) 562 set_profile(0, "file::chroot");
|
/external/minijail/ |
libminijail.c | 150 int chroot : 1; member in struct:minijail::__anon27967 553 j->flags.chroot = 1; 579 * for example: "-b /some/path/exe,/chroot/path/exe" 581 * /chroot/path/exe Then when getting the original path of 582 * "/chroot/path/exe", the source of that mount, 590 * mount, take the suffix of the chroot path relative to the 602 /* If there is a chroot path, append |path_inside_chroot| to that. */ 606 /* No chroot, so the path outside is the same as it is inside. */ 1185 if (chroot(j->chrootdir)) 1251 if (chroot("/")) [all...] |
/external/libcap/progs/ |
capsh.c | 248 } else if (!memcmp("--chroot=", argv[i], 9)) { 276 status = chroot(argv[i]+9); 290 fprintf(stderr, "Unable to chroot/chdir to [%s]", argv[i]+9); 581 " --chroot=path chroot(2) to this path\n"
|
/external/strace/linux/32/ |
syscallent.h | 55 [ 51] = { 1, TF, SEN(chroot), "chroot" },
|
/external/strace/linux/s390x/ |
syscallent.h | 91 [ 61] = { 1, TF, SEN(chroot), "chroot" },
|
/external/toolchain-utils/dejagnu/ |
gdb_dejagnu.py | 30 'Launches gdb dejagnu test in chroot for chromeos toolchain, compares ' 45 'root/chroot/usr/local/toolchain_root/gdb", which is ' 60 '\'chroot\' (delete chroot) and ' 74 options.cleanup == 'chroot' or 88 self._chromeos_chroot = path.join(chromeos_root, 'chroot') 223 if self._cleanup == 'chroot' or self._cleanup == 'chromeos': 224 self._l.LogOutput('[Cleanup]: Deleting chroot inside \'{0}\''.format( 229 self._l.LogWarning('Warning - failed to delete chroot.') 262 # This method ensures necessary mount points before executing chroot comamnd [all...] |
run_dejagnu.py | 30 'Launches gcc dejagnu test in chroot for chromeos toolchain, compares ' 45 'root/chroot/usr/local/toolchain_root/gcc", which is ' 78 '\'chroot\' (delete chroot) and ' 101 options.cleanup == 'chroot' or options.cleanup == 'chromeos'): 116 self._chromeos_chroot = path.join(chromeos_root, 'chroot') 153 'inside chroot the command:') 167 # Optionally cleanup mounted diretory, chroot and chromeos tree. 168 if self._cleanup == 'mount' or self._cleanup == 'chroot' or \ 177 if self._cleanup == 'chroot' or self._cleanup == 'chromeos' [all...] |
/external/strace/linux/64/ |
syscallent.h | 52 [ 51] = { 1, TF, SEN(chroot), "chroot" },
|
/external/strace/linux/avr32/ |
syscallent.h | 62 [ 34] = { 1, TF, SEN(chroot), "chroot" },
|
/external/strace/linux/hppa/ |
syscallent.h | 66 [ 61] = { 1, TF, SEN(chroot), "chroot" },
|
/external/strace/linux/x86_64/ |
syscallent.h | 162 [161] = { 1, TF, SEN(chroot), "chroot" },
|
/external/strace/linux/xtensa/ |
syscallent.h | 169 [174] = { 1, TF, SEN(chroot), "chroot" },
|
/external/strace/linux/arm/ |
syscallent.h | 90 [ 61] = { 1, TF, SEN(chroot), "chroot" },
|
/external/strace/linux/crisv10/ |
syscallent.h | 62 [ 61] = { 1, TF, SEN(chroot), "chroot" },
|
/external/strace/linux/i386/ |
syscallent.h | 90 [ 61] = { 1, TF, SEN(chroot), "chroot" },
|