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)
Added NetworkLinkDelIp() into netlink_unsupported.go

Docker-DCO-1.1-Signed-off-by: Milos Gajdos <milosgajdos83@gmail.com> (github: milosgajdos83)
Tabbed the test build spec in Makefile

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

Docker-DCO-1.1-Signed-off-by: Milos Gajdos <milosgajdos83@gmail.com> (github: milosgajdos83)
Merge branch 'master' of https://github.com/docker/libcontainer into 145-PercentUsage
Add myself as maintainer.
Docker-DCO-1.1-Signed-off-by: Mrunal Patel <mrunalp@gmail.com> (github: mrunalp)
Merge pull request #151 from mrunalp/add_maintainer

Add myself as maintainer.
Expose setting interface by fd in network pkg

Signed-off-by: Michael Crosby <michael@docker.com>
Fixing a copy-cat from original PR.

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

Signed-off-by: Alexandr Morozov <lk4d4math@gmail.com>
Merge pull request #153 from LK4D4/travis_badge

Add travis status badge
Merge pull request #149 from milosgajdos83/modify-PR118

Modification of erikh/netlink-remove-address PR
Merge pull request #152 from crosbymichael/addsetns-by-fd

Expose setting interface by fd in network pkg
Remove nsinit main calling pkg

Signed-off-by: Michael Crosby <michael@docker.com>
Make nsinit package main only

Signed-off-by: Michael Crosby <michael@docker.com>
Improve execin to support registering funcs

This also changes the functionality of the default exec in to just be an
existing func that is called than handles the implementation to exec a
user user's process inside the container.  This implements this
functionallity in nsinit but is a base for how we will be handling these
types of features inside docker.

Signed-off-by: Michael Crosby <michael@docker.com>
Removed an extra float64()

Docker-DCO-1.1-Signed-off-by: Nicholas Weaver <lynxbat@gmail.com> (github: lynxbat)
Add ip func example for listing namespace interfaces

Signed-off-by: Michael Crosby <michael@docker.com>
Cleanup and rename loadContainer to loadConfig

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