- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for chroot1 (0.27 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) -
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) -
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) -
src/os/exec_posix.go
var ( Interrupt Signal = syscall.SIGINT Kill Signal = syscall.SIGKILL ) func startProcess(name string, argv []string, attr *ProcAttr) (p *Process, err error) { // If there is no SysProcAttr (ie. no Chroot or changed // UID/GID), double-check existence of the directory we want // to chdir into. We can make the error clearer this way. if attr != nil && attr.Sys == nil && attr.Dir != "" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 22:06:47 UTC 2024 - 3.7K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/options/generic.go
func AddKubeadmOtherFlags(flagSet *pflag.FlagSet, rootfsPath *string) { flagSet.StringVar( rootfsPath, "rootfs", *rootfsPath, "The path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.", ) } // AddPatchesFlag adds the --patches flag to the given flagset func AddPatchesFlag(fs *pflag.FlagSet, patchesDir *string) { const usage = `Path to a directory that contains files named ` +
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 11 10:21:20 UTC 2024 - 5.5K bytes - Viewed (0)