Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 145 for chroot1 (0.14 sec)

  1. 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)
  2. cluster/gce/gci/mounter/mounter.go

    limitations under the License.
    */
    
    package main
    
    import (
    	"fmt"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"strings"
    )
    
    const (
    	// Location of the mount file to use
    	chrootCmd        = "chroot"
    	mountCmd         = "mount"
    	rootfs           = "rootfs"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 20 22:26:16 UTC 2019
    - 2.8K bytes
    - Viewed (0)
  3. 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)
  4. src/cmd/go/testdata/script/list_shadow.txt

    env GOPATH=$WORK/gopath/src/shadow/root1${:}$WORK/gopath/src/shadow/root2
    
    # The math in root1 is not "math" because the standard math is.
    go list -f '({{.ImportPath}}) ({{.ConflictDir}})' ./shadow/root1/src/math
    stdout '^\(.*(\\|/)src(\\|/)shadow(\\|/)root1(\\|/)src(\\|/)math\) \('$GOROOT'(\\|/)?src(\\|/)math\)$'
    
    # The foo in root1 is "foo".
    go list -f '({{.ImportPath}}) ({{.ConflictDir}})' ./shadow/root1/src/foo
    stdout '^\(foo\) \(\)$'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 15 00:06:54 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. cluster/gce/gci/flexvolume_node_setup.sh

        docker rm -f "${MOUNTER_DEFAULT_NAME}" &> /dev/null || /bin/true
      fi
    }
    
    trap flex_clean ERR
    
    # Generates a bash script that wraps all calls to the actual driver inside mount utilities
    # in the chroot environment. Kubelet sees this script as the FlexVolume driver.
    generate_chroot_wrapper() {
      if [ ! -d ${MOUNTER_PATH}/flexvolume ]; then
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 13 17:58:51 UTC 2020
    - 5.8K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. src/cmd/go/testdata/script/link_matching_actionid.txt

    # source files, with GOROOT in two different locations.
    # Verifies golang.org/issue/38989
    
    [short] skip
    [!symlink] skip
    
    # Symlink the compiler to a local path
    env GOROOT=$WORK/goroot1
    symlink $GOROOT -> $TESTGO_GOROOT
    
    # Set up fresh GOCACHE
    env GOCACHE=$WORK/gocache1
    mkdir $GOCACHE
    
    # Build a simple binary
    go build -o binary1 -trimpath -x main.go
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 17 14:18:11 UTC 2020
    - 835 bytes
    - Viewed (0)
Back to top