Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CgroupFD (0.12 sec)

  1. src/syscall/exec_linux_test.go

    			t.Skipf("skipping: %v", err)
    		}
    		t.Fatal(err)
    	}
    	t.Cleanup(func() { syscall.Rmdir(subCgroup) })
    
    	cgroupFD, err := syscall.Open(subCgroup, O_PATH, 0)
    	if err != nil {
    		t.Fatal(&os.PathError{Op: "open", Path: subCgroup, Err: err})
    	}
    	t.Cleanup(func() { syscall.Close(cgroupFD) })
    
    	return cgroupFD, "/" + path.Base(subCgroup)
    }
    
    func TestUseCgroupFD(t *testing.T) {
    	testenv.MustHaveExec(t)
    
    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

    	GidMappingsEnableSetgroups bool
    	AmbientCaps                []uintptr // Ambient capabilities.
    	UseCgroupFD                bool      // Whether to make use of the CgroupFD field.
    	CgroupFD                   int       // File descriptor of a cgroup to put the new process into.
    	// PidFD, if not nil, is used to store the pidfd of a child, if the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 23K bytes
    - Viewed (0)
Back to top