Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 192 for Unshare (0.19 sec)

  1. src/syscall/exec_linux_test.go

    		// This test expects there to be at least 1 more network interface
    		// in addition to the local network interface, so that it can tell
    		// that unshare worked.
    		t.Skip("not enough network interfaces to test unshare with")
    	}
    
    	cmd := testenv.Command(t, "cat", path)
    	cmd.SysProcAttr = &syscall.SysProcAttr{
    		Unshareflags: syscall.CLONE_NEWNET,
    	}
    	out, err := cmd.CombinedOutput()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  2. src/syscall/exec_linux.go

    				goto childerror
    			}
    		}
    
    		// The unshare system call in Linux doesn't unshare mount points
    		// mounted with --shared. Systemd mounts / with --shared. For a
    		// long discussion of the pros and cons of this see debian bug 739593.
    		// The Go model of unsharing is more like Plan 9, where you ask
    		// to unshare and the namespaces are unconditionally unshared.
    		// To make this model work we must further mark / as MS_PRIVATE.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 23K bytes
    - Viewed (0)
  3. src/syscall/syscall_linux_test.go

    		// The Go build system's swarming user is known not to be root.
    		// Unfortunately, it sometimes appears as root due the current
    		// implementation of a no-network check using 'unshare -n -r'.
    		// Since this test does need root to work, we need to skip it.
    		t.Skip("skipping root only test on a non-root builder")
    	}
    
    	if runtime.GOOS == "android" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 23K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/zsymaddr_zos_s390x.s

    	MOVD $·Syncfs(SB), R8
    	MOVD R8, ret+0(FP)
    	RET
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    TEXT ·get_UnshareAddr(SB), NOSPLIT|NOFRAME, $0-8
    	MOVD $·Unshare(SB), R8
    	MOVD R8, ret+0(FP)
    	RET
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    TEXT ·get_LinkatAddr(SB), NOSPLIT|NOFRAME, $0-8
    	MOVD $·Linkat(SB), R8
    	MOVD R8, ret+0(FP)
    	RET
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. go.mod

    	github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0
    	github.com/hashicorp/go-multierror v1.1.1
    	github.com/hashicorp/go-version v1.7.0
    	github.com/hashicorp/golang-lru/v2 v2.0.7
    	github.com/howardjohn/unshare-go v0.4.0
    	github.com/kr/pretty v0.3.1
    	github.com/kylelemons/godebug v1.1.0
    	github.com/lestrrat-go/jwx v1.2.29
    	github.com/mattn/go-isatty v0.0.20
    	github.com/miekg/dns v1.1.59
    	github.com/mitchellh/copystructure v1.2.0
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 15:32:28 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  6. src/syscall/syscall_linux.go

    //sysnb	Times(tms *Tms) (ticks uintptr, err error)
    //sysnb	Umask(mask int) (oldmask int)
    //sysnb	Uname(buf *Utsname) (err error)
    //sys	Unmount(target string, flags int) (err error) = SYS_UMOUNT2
    //sys	Unshare(flags int) (err error)
    //sys	write(fd int, p []byte) (n int, err error)
    //sys	exitThread(code int) (err error) = SYS_EXIT
    //sys	readlen(fd int, p *byte, np int) (n int, err error) = SYS_READ
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  7. go.sum

    github.com/hexops/gotextdiff v1.0.3 h1:gitA9+qJrrTCsiCl7+kh75nPqQt1cx4ZkudSTLoUqJM=
    github.com/hexops/gotextdiff v1.0.3/go.mod h1:pSWU5MAI3yDq+fZBTazCSJysOMbxWL1BSow5/V2vxeg=
    github.com/howardjohn/unshare-go v0.4.0 h1:gqPNhMC5Ng4sJPv3XfIxKDjE7cyXRsRh+sPFPbesTgo=
    github.com/howardjohn/unshare-go v0.4.0/go.mod h1:cJjyFAN6qTA70ovC2VR23iAZuJ8X3J/ibAbT693pJ8g=
    github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU=
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 15:32:28 UTC 2024
    - 101.6K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_zos_s390x.go

    	runtime.ExitSyscall()
    	if int64(r0) == -1 {
    		err = errnoErr2(e1, e2)
    	}
    	return
    }
    
    //go:nosplit
    func get_UnshareAddr() *(func(flags int) (err error))
    
    var Unshare = enter_Unshare
    
    func enter_Unshare(flags int) (err error) {
    	funcref := get_UnshareAddr()
    	if funcptrtest(GetZosLibVec()+SYS_UNSHARE<<4, "") == 0 {
    		*funcref = impl_Unshare
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 88.2K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    //sys   Chroot(path string) (err error) = SYS___CHROOT_A
    //sys   Select(nmsgsfds int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (ret int, err error) = SYS_SELECT
    //sysnb Uname(buf *Utsname) (err error) = SYS_____OSNAME_A
    //sys   Unshare(flags int) (err error) = SYS_UNSHARE
    
    func Ptsname(fd int) (name string, err error) {
    	runtime.EnterSyscall()
    	r0, e2, e1 := CallLeFuncWithPtrReturn(GetZosLibVec()+SYS___PTSNAME_A<<4, uintptr(fd))
    	runtime.ExitSyscall()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  10. src/cmd/go/internal/load/pkg.go

    		// attach the profile to the main package and its
    		// dependencies.
    		// If we're building multiple main packages, they may
    		// have different profiles. We may need to split (unshare)
    		// the dependency graph so they can attach different
    		// profiles.
    		for _, p := range pkgs {
    			if p.Name != "main" {
    				continue
    			}
    			pmain := p
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
Back to top