File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -346,16 +346,7 @@ func (p *initProcess) start() (retErr error) {
346346 return newSystemErrorWithCausef (err , "getting pipe fds for pid %d" , childPid )
347347 }
348348 p .setExternalDescriptors (fds )
349- // Do this before syncing with child so that no children
350- // can escape the cgroup
351- if err := p .manager .Apply (childPid ); err != nil {
352- return newSystemErrorWithCause (err , "applying cgroup configuration for process" )
353- }
354- if p .intelRdtManager != nil {
355- if err := p .intelRdtManager .Apply (childPid ); err != nil {
356- return newSystemErrorWithCause (err , "applying Intel RDT configuration for process" )
357- }
358- }
349+
359350 // Now it's time to setup cgroup namesapce
360351 if p .config .Config .Namespaces .Contains (configs .NEWCGROUP ) && p .config .Config .Namespaces .PathOf (configs .NEWCGROUP ) == "" {
361352 if _ , err := p .messageSockPair .parent .Write ([]byte {createCgroupns }); err != nil {
You can’t perform that action at this time.
0 commit comments