Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for setupSandbox (4.11 sec)

  1. tools/istio-iptables/pkg/dependencies/implementation_linux.go

    	chErr := make(chan error, 1)
    	n, nerr := netns.GetCurrentNS()
    	if nerr != nil {
    		return fmt.Errorf("failed to get current namespace: %v", nerr)
    	}
    	// 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 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 12 20:49:10 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top