Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for unshareFs (0.23 sec)

  1. 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)
  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. 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)
  4. src/main/java/jcifs/dcerpc/DcerpcHandle.java

         * 
         * @param url
         * @param tc
         * @param unshared
         *            whether an exclusive connection should be used
         * @return a DCERPC handle for the given url
         * @throws MalformedURLException
         * @throws DcerpcException
         */
        public static DcerpcHandle getHandle ( String url, CIFSContext tc, boolean unshared ) throws MalformedURLException, DcerpcException {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jun 30 10:11:57 UTC 2019
    - 12.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFileInputStream.java

            this(file, 0, SmbConstants.O_RDONLY, SmbConstants.DEFAULT_SHARING, false);
        }
    
    
        SmbFileInputStream ( SmbFile file, int openFlags, int access, int sharing, boolean unshared ) throws SmbException {
            this.file = file;
            this.unsharedFile = unshared;
            this.openFlags = openFlags;
            this.access = access;
            this.sharing = sharing;
    
            try ( SmbTreeHandleInternal th = file.ensureTreeConnected() ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun May 17 08:55:14 UTC 2020
    - 13.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/runtime/proc_test.go

    	}
    }
    
    func TestLockOSThreadAvoidsStatePropagation(t *testing.T) {
    	want := "OK\n"
    	skip := "unshare not permitted\n"
    	output := runTestProg(t, "testprog", "LockOSThreadAvoidsStatePropagation", "GOMAXPROCS=1")
    	if output == skip {
    		t.Skip("unshare syscall not permitted on this system")
    	} else if output != want {
    		t.Errorf("want %q, got %q", want, output)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 25.8K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top