DefaultCreateCommand supports command w/ flags

namespaces.DefaultCreateCommand prepends the user-supplied command to
execute with "--", so that "nsinit init" does not attempt to interpret
it.

Docker-DCO-1.1-Signed-off-by: Bernerd Schaefer <bj.schaefer@gmail.com> (github: bernerdschaefer)
Merge pull request #136 from bernerdschaefer/nsinit-exec-with-flags

DefaultCreateCommand supports command w/ flags
Move locking to caller.
Docker-DCO-1.1-Signed-off-by: Mrunal Patel <mrunalp@gmail.com> (github: mrunalp)
Merge pull request #137 from mrunalp/dev/moveuplockthread

Lock the thread first thing in init.
Add "update-vendor.sh" script and vendor our current deps (minus Docker, since that'd make a circle)

Also, updated .travis.yml to use the new "vendor" directory (since this is pretty pointless without that :D)

Signed-off-by: Andrew Page <admwiggin@gmail.com>
Run update-vendor.sh to vendor our deps

Signed-off-by: Andrew Page <admwiggin@gmail.com>
Merge pull request #140 from tianon/vendor

Add "update-vendor.sh" script and vendor our current deps...
Docker 'runin' demands passing flags before 'nsenter' cli option.
Docker does not require RunIn API. Hence that API has been removed.
nsinit CLI has been modified to work around the nsenter changes.

Docker-DCO-1.1-Signed-off-by: Vishnu Kannan <vishnuk@google.com> (github: vishh)
Check for "nsenter" in args before parsing flags. Addressed comments.
Docker-DCO-1.1-Signed-off-by: Vishnu Kannan <vishnuk@google.com> (github: vishh)
Remove debug message.
Docker-DCO-1.1-Signed-off-by: Vishnu Kannan <vishnuk@google.com> (github: vishh)
Merge pull request #141 from vishh/runin_support

Change nsenter to support docker 'runin'
Move nsenter C code to separate file

Signed-off-by: Michael Crosby <michael@docker.com>
Add linux style formatting

Signed-off-by: Michael Crosby <michael@docker.com>
Merge pull request #144 from crosbymichael/move-c-code

Move nsenter C code to separate file
Fixed rtnetlink attributes packaging into netlink message.

I've also added NetworkLinkDel() function which allows deleting
of the existing network links.

Docker-DCO-1.1-Signed-off-by: Milos Gajdos <milosgajdos83@gmail.com> (github: milosgajdos83)
Replaced log.Fatalf() with t.Fatalf()

No need to import log package.

Docker-DCO-1.1-Signed-off-by: Milos Gajdos <milosgajdos83@gmail.com> (github: milosgajdos83)
Replacing t.Fatal() with t.Fatalf()

Docker-DCO-1.1-Signed-off-by: Milos Gajdos <milosgajdos83@gmail.com> (github: milosgajdos83)
Merge pull request #139 from milosgajdos83/tenus-libcontainer

 RtAttr packaging fix. Added NetworkLinkDel() func and a new test.
Make syncpipe transport generic data

Signed-off-by: Michael Crosby <michael@docker.com>
Refactor execin code to be simpler

Signed-off-by: Michael Crosby <michael@docker.com>