2015-11-01 07:53:15 -08:00
|
|
|
package daemon
|
|
|
|
|
|
|
|
import (
|
2015-11-12 11:55:17 -08:00
|
|
|
"github.com/docker/docker/container"
|
2016-03-18 11:53:27 -07:00
|
|
|
"github.com/docker/docker/daemon/exec"
|
|
|
|
"github.com/docker/docker/libcontainerd"
|
2015-11-01 07:53:15 -08:00
|
|
|
)
|
|
|
|
|
2016-03-18 11:53:27 -07: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-28 17:35:56 -07:00
|
|
|
p.Args = escapeArgs(p.Args)
|
2016-03-18 11:53:27 -07:00
|
|
|
return nil
|
2015-11-01 07:53:15 -08:00
|
|
|
}
|