Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 127 for chroot1 (0.16 sec)

  1. 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)
  2. src/runtime/syscall2_solaris.go

    // license that can be found in the LICENSE file.
    
    package runtime
    
    import _ "unsafe" // for go:linkname
    
    //go:cgo_import_dynamic libc_chdir chdir "libc.so"
    //go:cgo_import_dynamic libc_chroot chroot "libc.so"
    //go:cgo_import_dynamic libc_close close "libc.so"
    //go:cgo_import_dynamic libc_execve execve "libc.so"
    //go:cgo_import_dynamic libc_fcntl fcntl "libc.so"
    //go:cgo_import_dynamic libc_forkx forkx "libc.so"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildIncludeCycleIntegrationTest.groovy

                includeBuild '../rootBuild'
            """
    
            when:
            execute(rootBuild, ':root1:compileJava')
    
            then:
            result.assertTasksExecuted(':root2:compileJava', ':buildA:compileJava', ':root1:compileJava')
    
            and:
            canRunFromCache(rootBuild, ':root1:compileJava')
        }
    
        def "can depend back on root build and back on an included build"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Aug 19 21:32:57 UTC 2022
    - 7.6K bytes
    - Viewed (0)
  4. src/syscall/exec_freebsd_test.go

    	// and remove jails.
    	if os.Getuid() != 0 {
    		t.Skip("kernel prohibits jail system calls in unprivileged process")
    	}
    
    	jid, root := prepareJail(t)
    
    	// Since jail attach does an implicit chroot to the jail's path,
    	// we need the binary there, and it must be statically linked.
    	x := filepath.Join(root, "syscall.test")
    	cmd := exec.Command(testenv.GoToolPath(t), "test", "-c", "-o", x, "syscall")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 22 20:38:48 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  5. build/build-image/rsyncd.sh

    k8s:${PASSWORD}
    EOF
    chmod go= "${SECRETS}"
    
    USER_CONFIG=
    if [[ "$(id -u)" == "0" ]]; then
      USER_CONFIG="  uid = 0"$'\n'"  gid = 0"
    fi
    
    cat <<EOF >"${CONFFILE}"
    pid file = ${PIDFILE}
    use chroot = no
    log file = /dev/stdout
    reverse lookup = no
    munge symlinks = no
    port = 8730
    [k8s]
      numeric ids = true
      $USER_CONFIG
      hosts deny = *
      hosts allow = ${ALLOW} ${ALLOW_HOST-}
      auth users = k8s
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 04 15:58:52 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. src/io/fs/sub.go

    // accesses outside "/prefix", because the implementation of [os.DirFS]
    // does not check for symbolic links inside "/prefix" that point to
    // other directories. That is, [os.DirFS] is not a general substitute for a
    // chroot-style security mechanism, and Sub does not change that fact.
    func Sub(fsys FS, dir string) (FS, error) {
    	if !ValidPath(dir) {
    		return nil, &PathError{Op: "sub", Path: dir, Err: ErrInvalid}
    	}
    	if dir == "." {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 10 02:10:17 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/OutputFileChangesTest.groovy

                missing("root")
            ) == [removed("root")]
        }
    
        def "deep addition"() {
            expect:
            changes(
                directory("root1", [
                    regularFile("root1/one", 0x1234)
                ]),
                directory("root2", [
                    regularFile("root2/one", 0x1234),
                    regularFile("root2/two", 0x2345)
                ])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 7.3K bytes
    - Viewed (0)
Back to top