2015-11-01 18:53:15 +03:00
|
|
|
package daemon
|
|
|
|
|
|
|
|
import (
|
2015-11-12 22:55:17 +03:00
|
|
|
"github.com/docker/docker/container"
|
2016-03-18 21:53:27 +03:00
|
|
|
"github.com/docker/docker/daemon/exec"
|
|
|
|
"github.com/docker/docker/libcontainerd"
|
2015-11-01 18:53:15 +03:00
|
|
|
)
|
|
|
|
|
2016-03-18 21:53:27 +03:00
|
|
|
func execSetPlatformOpt(c *container.Container, ec *exec.Config, p *libcontainerd.Process) error {
|
|
|
|
// Process arguments need to be escaped before sending to OCI.
|
2016-03-29 03:35:56 +03:00
|
|
|
p.Args = escapeArgs(p.Args)
|
2016-03-18 21:53:27 +03:00
|
|
|
return nil
|
2015-11-01 18:53:15 +03:00
|
|
|
}
|