Update go-runc to b85ac701de5065a66918203dd18f05

This includes fixes for pipe ownership and NullIO options.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby
2017-08-11 17:15:25 -04:00
parent f2ee71c56c
commit fa3454e54d
4 changed files with 52 additions and 16 deletions

View File

@@ -142,7 +142,7 @@ func (e *execProcess) Start(ctx context.Context) (err error) {
}
defer socket.Close()
} else {
if io, err = runc.NewPipeIO(0, 0); err != nil {
if io, err = runc.NewPipeIO(); err != nil {
return errors.Wrap(err, "failed to create runc io pipes")
}
e.io = io

View File

@@ -125,7 +125,7 @@ func newInitProcess(context context.Context, plat platform, path, namespace, wor
}
defer socket.Close()
} else {
if io, err = runc.NewPipeIO(0, 0); err != nil {
if io, err = runc.NewPipeIO(); err != nil {
return nil, errors.Wrap(err, "failed to create OCI runtime io pipes")
}
p.io = io