Merge pull request #12 from crosbymichael/add-dockerfile

Add dockerfile for easy builds
added travis-ci integration
Merge pull request #14 from ligurio/travis

added travis-ci integration
net: add ability to set mtu for devices

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
net: generate a random name for veth device

In a kernel a veth pair is created in a current namespace
and only then a link is moved in a target namespace. So
names of links should be uniq in the current namespace.

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
net: add ability to set dev for route nexthop

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
security: don't drop capabilities above last_cap (v2)

prctl(PR_CAPBSET_DROP) returns EINVAL in this case

v2: move linux_get_last_capability() in linux_kernel.c
Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Merge some fixes from Andrey
libct: add initial go bindings

This patch is a prototype. I'm going to implement all other functions,
when all of you will say that it's what we want.

Cc: Michael Crosby <crosbymichael@gmail.com>
Cc: Dmitry Guryanov <dguryanov@parallels.com>
Cc: Pavel Emelyanov <xemul@parallels.com>
Cc: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Andrey Vagin <avagin@openvz.org>
mount: add flags NOEXEC, NOSUID, NODEV, STRICTATIME

All these flags are used by libcontainer.
ct: return pid from spawn_execve()
ct: allow to set pdeathsig
libct: build a static version of the library

It will be used for libcontainer. libcontainer is used by tools,
which are executed in a container and libct may be not installed there.