podman/pkg/spec
baude f0c7116848 fix compat api privileged and entrypoint code
when adding /dev to a privileged container using the compatibility API, we need to make sure we dont pass on devices that are simply symlinks.  this was already being done by specgen but not on the compat. side.

the entrypoint code that was recently rewritten for the compatibility layer was also failing due to the odd inputs that docker is willing to accept in its json, specifically [] vs "".  in the case of the latter, this was being made into a []string with a len of one but no content.  this would then be used to prefix the command to run in the container and would fail.  For example " ls" vs "ls".

Signed-off-by: baude <bbaude@redhat.com>
2020-10-01 15:18:11 -05:00
..
config_linux.go fix compat api privileged and entrypoint code 2020-10-01 15:18:11 -05:00
config_linux_cgo.go Switch to containers/common for seccomp 2020-08-27 21:14:59 +02:00
config_linux_nocgo.go Split up create config handling of namespaces and security 2019-11-07 21:23:23 -05:00
config_unsupported.go apiv2 container create using specgen 2020-02-19 15:20:15 -06:00
containerconfig.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
createconfig.go handle play kube with pod.spec.hostAliases 2020-08-31 22:12:35 +08:00
namespaces.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
parse.go apiv2 container create using specgen 2020-02-19 15:20:15 -06:00
ports.go Spell check strings and comments 2018-05-25 08:45:15 +00:00
security.go run, create: add new security-opt proc-opts 2020-08-12 23:46:38 +02:00
spec.go fix compat api privileged and entrypoint code 2020-10-01 15:18:11 -05:00
spec_test.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
storage.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
storage_test.go Use EqualValues instead of reflect equality 2019-05-01 10:19:05 -04:00