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>
Fix issues in nsenter.c and console handling

Signed-off-by: Michael Crosby <michael@docker.com>
After parsing flags check that the command is nsenter

Signed-off-by: Michael Crosby <michael@docker.com>
Fixes logic for calculating percentage for cgroups.Stats.CpuStats.CpuUsage.PercentUsage
Previous logic divided a uint64 by a uint64 losing precision before multiplying by clock ticks and cpus
This fix maintains precision before converting back to uint64

Docker-DCO-1.1-Signed-off-by: Nicholas Weaver <lynxbat@gmail.com> (github: lynxbat)
This is a modification of erikh/netlink-remove-address PR

This is a modification of original PR by @erikh (R118)
to keep the netlink codebase more consistent and my OCD
under control :-)

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