- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for unshareFs (0.17 sec)
-
src/syscall/exec_linux_test.go
} t.Fatalf("unshare failed: %v\n%s", err, out) } else if len(out) != 0 { if bytes.HasPrefix(out, []byte(mountNotSupported)) { t.Skipf("skipping: helper process reported %s", out) } t.Fatalf("unexpected output from helper process: %s", out) } // How do we tell if the namespace was really unshared? It turns out
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 07:45:37 UTC 2024 - 20.6K bytes - Viewed (0) -
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) -
tools/istio-iptables/pkg/dependencies/implementation_linux.go
} // setupSandbox builds the sandbox. setupSandbox := func() error { // First, unshare the mount namespace. This allows us to create custom mounts without impacting the host if err := unix.Unshare(unix.CLONE_NEWNS); err != nil { return fmt.Errorf("failed to unshare to new mount namespace: %v", err) } if err := n.Set(); err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Mar 12 20:49:10 UTC 2024 - 12K bytes - Viewed (0) -
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) -
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) -
platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/resolve/scenarios/VersionRangeResolveTestScenarios.groovy
expectedStrict: ["11", "11", "11"] ).and( ignore: "Resolution is currently order-dependent (and should not be!)", versions: [FIXED_11, RANGE_10_12, RANGE_12_14], // Intersecting ranges with unshared fixed version expected: "12", expectedStrict: [REJECTED, "12", "13"], conflicts: true ).and( versions: [FIXED_11, RANGE_10_11, FIXED_13, RANGE_10_14], expected: "13",
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 27.8K bytes - Viewed (0) -
docs/changelogs/changelog_4x.md
shares connections when hosts share both IP addresses and certificates, such as `squareup.com` and `www.squareup.com`. If a server refuses such sharing it will return HTTP 421 and OkHttp will automatically retry on an unshared connection. * Fix: Don't crash if a TLS tunnel's response body is truncated. * Fix: Don't track unusable routes beyond their usefulness. We had a bug where we could track
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Wed Apr 17 13:25:31 UTC 2024 - 25.2K bytes - Viewed (0) -
src/runtime/os_linux.go
_CLONE_NEWIPC = 0x8000000 // As of QEMU 2.8.0 (5ea2fc84d), user emulation requires all six of these // flags to be set when creating a thread; attempts to share the other // five but leave SYSVSEM unshared will fail with -EINVAL. // // In non-QEMU environments CLONE_SYSVSEM is inconsequential as we do not // use System V semaphores. cloneFlags = _CLONE_VM | /* share memory */ _CLONE_FS | /* share cwd, etc */
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 25.9K bytes - Viewed (0) -
src/syscall/zsyscall_linux_s390x.go
if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Unshare(flags int) (err error) { _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0) if e1 != 0 { err = errnoErr(e1) } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 08 17:55:49 UTC 2023 - 35.3K bytes - Viewed (0) -
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)