File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -595,13 +595,13 @@ func WithUser(userstr string) SpecOpts {
595595 setProcess (s )
596596 s .Process .User .AdditionalGids = nil
597597 // While the Linux kernel allows the max UID to be MaxUint32 - 2,
598- // and the OCI Runtime Spec has no definition about the max UID,
599- // the runc implementation is known to require the UID to be <= MaxInt32.
600- //
601- // containerd follows runc's limitation here.
602- //
603- // In future we may relax this limitation to allow MaxUint32 - 2,
604- // or, amend the OCI Runtime Spec to codify the implementation limitation.
598+ // and the OCI Runtime Spec has no definition about the max UID,
599+ // the runc implementation is known to require the UID to be <= MaxInt32.
600+ //
601+ // containerd follows runc's limitation here.
602+ //
603+ // In future we may relax this limitation to allow MaxUint32 - 2,
604+ // or, amend the OCI Runtime Spec to codify the implementation limitation.
605605 const (
606606 minUserID = 0
607607 maxUserID = math .MaxInt32
Original file line number Diff line number Diff line change @@ -105,7 +105,6 @@ guest:x:100:guest
105105 },
106106 }
107107 for _ , testCase := range testCases {
108- testCase := testCase
109108 t .Run (testCase .user , func (t * testing.T ) {
110109 t .Parallel ()
111110 s := Spec {
You can’t perform that action at this time.
0 commit comments