Merge pull request #247 from rhatdan/selinux

Add new interfaces for label/selinux
Use RTA_PREFSRC instead of RTA_SRC to make AddRoute() works with a provided source ip address.

Docker-DCO-1.1-Signed-off-by: Albert Zhang <zhgwenming@gmail.com> (github: zhgwenming)
use system.Set{u,g}id to fix Set{u,g}id on Go 1.4

Docker-DCO-1.1-Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com> (github: unclejack)
Merge pull request #251 from unclejack/fix_go1.4_syscalls

use system.Set{u,g}id to fix Set{u,g}id on Go 1.4
enable hairpin mode on virtual interface bridge port

This is to support being able to DNAT/MASQ traffic from a container back into itself (dotcloud/docker#4442)

Docker-DCO-1.1-Signed-off-by: Patrick Hemmer <patrick.hemmer@gmail.com> (github: phemmer)
Sample configuration for ip routing Source Address Selection

Docker-DCO-1.1-Signed-off-by: Albert Zhang <zhgwenming@gmail.com> (github: zhgwenming)
Add drone.yml file

Update Drone commands to match the bits of the Travis config we need

Signed-off-by: Andrew Page <admwiggin@gmail.com>
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
Fix GOPATH after Drone mucks with it

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

Fix GOPATH after Drone mucks with it
Remove travis.yml

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
Merge pull request #255 from crosbymichael/add-drone

Add drone.yml file
Fix vet errors

Signed-off-by: Alexandr Morozov <lk4d4@docker.com>
Merge pull request #254 from LK4D4/vet_fixes

Fix vet errors
Remove syncpipe pkg

This removes the entire syncpipe package and replaces it with standard
operations on the pipes.  The syncpipe type just never felt right and
probably should not have been there.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
Merge pull request #252 from crosbymichael/syncpipe

Remove syncpipe pkg
Merge pull request #62 from phemmer/docker/4442-hairpin-nat

enable hairpin mode on virtual interface bridge port
Test update for routing Source Address Selection

Docker-DCO-1.1-Signed-off-by: Albert Zhang <zhgwenming@gmail.com> (github: zhgwenming)
Merge pull request #250 from zhgwenming/master

Make AddRoute() works with a provided source ip address.
user: *: refactor and expand libcontainer/user API

This patch refactors most of GetUserGroupSupplementaryHome and its
signature, to make using it much simpler. The private parsing ftunctions
have also been exposed (parsePasswdFile, parseGroupFile) to allow custom
data source to be used (increasing the versatility of the user/ tools).

In addition, file path wrappers around the formerly private API
functions have been added to make usage of the API for callers easier if
the files that are being parsed are on the filesystem (while the
io.Reader APIs are exposed for non-traditional usecases).

Signed-off-by: Aleksa Sarai <cyphar@cyphar.com> (github: cyphar)
user: lookup: added os/user-like lookup API

This patch adds an os/user-like user lookup API, implemented in pure Go.
It also has some features not present in the standard library
implementation (such as group lookups).

Signed-off-by: Aleksa Sarai <cyphar@cyphar.com> (github: cyphar)