- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 111 for chroot1 (0.33 sec)
-
src/syscall/exec_libc.go
} } // Restore the signal mask. We do this after TIOCSPGRP to avoid // having the kernel send a SIGTTOU signal to the process group. runtime_AfterForkInChild() // Chroot if chroot != nil { err1 = chroot1(uintptr(unsafe.Pointer(chroot))) if err1 != 0 { goto childerror } } // User and groups if cred = sys.Credential; cred != nil { ngroups = uintptr(len(cred.Groups))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 29 18:51:35 UTC 2023 - 8.2K bytes - Viewed (0) -
src/runtime/syscall_aix.go
} //go:linkname syscall_chdir syscall.chdir //go:nosplit func syscall_chdir(path uintptr) (err uintptr) { _, err = syscall1(&libc_chdir, path) return } //go:linkname syscall_chroot1 syscall.chroot1 //go:nosplit func syscall_chroot1(path uintptr) (err uintptr) { _, err = syscall1(&libc_chroot, path) return } // like close, but must not split stack, for fork. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 6.3K bytes - Viewed (0) -
src/syscall/exec_linux_test.go
cmd.Env = append(cmd.Environ(), "GO_WANT_HELPER_PROCESS=1") cmd.SysProcAttr = &syscall.SysProcAttr{Chroot: d, Unshareflags: syscall.CLONE_NEWNS} out, err := cmd.CombinedOutput() if err != nil { if testenv.SyscallIsNotSupported(err) { t.Skipf("skipping: could not start process with CLONE_NEWNS and Chroot %q: %v", d, err) } t.Fatalf("unshare failed: %v\n%s", err, out) } else if len(out) != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 07:45:37 UTC 2024 - 20.6K bytes - Viewed (0) -
dockerscripts/docker-entrypoint.sh
if [ -n "${MINIO_USERNAME}" ] && [ -n "${MINIO_GROUPNAME}" ]; then if [ -n "${MINIO_UID}" ] && [ -n "${MINIO_GID}" ]; then chroot --userspec=${MINIO_UID}:${MINIO_GID} / "$@" else echo "${MINIO_USERNAME}:x:1000:1000:${MINIO_USERNAME}:/:/sbin/nologin" >>/etc/passwd echo "${MINIO_GROUPNAME}:x:1000" >>/etc/group chroot --userspec=${MINIO_USERNAME}:${MINIO_GROUPNAME} / "$@" fi else exec "$@" fi }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Nov 03 21:18:18 UTC 2023 - 675 bytes - Viewed (0) -
src/syscall/exec_bsd.go
} // Restore the signal mask. We do this after TIOCSPGRP to avoid // having the kernel send a SIGTTOU signal to the process group. runtime_AfterForkInChild() // Chroot if chroot != nil { _, _, err1 = RawSyscall(SYS_CHROOT, uintptr(unsafe.Pointer(chroot)), 0, 0) if err1 != 0 { goto childerror } } // User and groups if cred = sys.Credential; cred != nil { ngroups = uintptr(len(cred.Groups))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 29 18:51:35 UTC 2023 - 7.9K bytes - Viewed (0) -
src/syscall/exec_freebsd.go
} // Restore the signal mask. We do this after TIOCSPGRP to avoid // having the kernel send a SIGTTOU signal to the process group. runtime_AfterForkInChild() // Chroot if chroot != nil { _, _, err1 = RawSyscall(SYS_CHROOT, uintptr(unsafe.Pointer(chroot)), 0, 0) if err1 != 0 { goto childerror } } // User and groups if cred = sys.Credential; cred != nil { ngroups = uintptr(len(cred.Groups))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 29 18:51:35 UTC 2023 - 8.4K bytes - Viewed (0) -
src/syscall/exec_libc2.go
// Restore the signal mask. We do this after TIOCSPGRP to avoid // having the kernel send a SIGTTOU signal to the process group. runtime_AfterForkInChild() // Chroot if chroot != nil { _, _, err1 = rawSyscall(abi.FuncPCABI0(libc_chroot_trampoline), uintptr(unsafe.Pointer(chroot)), 0, 0) if err1 != 0 { goto childerror } } // User and groups if cred = sys.Credential; cred != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 29 18:51:35 UTC 2023 - 8.2K bytes - Viewed (0) -
src/syscall/exec_unix.go
return 0, err } if (runtime.GOOS == "freebsd" || runtime.GOOS == "dragonfly") && len(argv) > 0 && len(argv[0]) > len(argv0) { argvp[0] = argv0p } var chroot *byte if sys.Chroot != "" { chroot, err = BytePtrFromString(sys.Chroot) if err != nil { return 0, err } } var dir *byte if attr.Dir != "" { dir, err = BytePtrFromString(attr.Dir) if err != nil { return 0, err
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:03:59 UTC 2024 - 8.7K bytes - Viewed (0) -
src/syscall/exec_linux.go
if err1 != 0 { goto childerror } } } // Chroot if chroot != nil { _, _, err1 = RawSyscall(SYS_CHROOT, uintptr(unsafe.Pointer(chroot)), 0, 0) if err1 != 0 { goto childerror } } // User and groups if cred = sys.Credential; cred != nil { ngroups = uintptr(len(cred.Groups))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 07:45:37 UTC 2024 - 23K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/fingerprint/classpath/impl/DefaultClasspathFingerprinterTest.groovy
then: fileCollectionFingerprint.empty } def "root elements are unsorted, non-root elements are sorted amongst themselves"() { def rootFile1 = file("root1.txt") << "root1" def rootDir = file("dir").createDir() rootDir.file("file1.txt") << "file1" rootDir.file("file2.txt") << "file2" def rootFile2 = file("root2.txt") << "root2" when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:33 UTC 2023 - 9.7K bytes - Viewed (0)