The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxc/pull/1560
This e-mail was sent by the LXC bot, direct replies will not reach the author unless they happen to be subscribed to this list. === Description (from pull-request) ===
From 684d00d5f61f64390ae5aef711f9d01d7dfd7ca1 Mon Sep 17 00:00:00 2001 From: Dima Krasner <[email protected]> Date: Sun, 14 May 2017 12:24:59 +0300 Subject: [PATCH] conf: fix build without libpcap --- src/lxc/conf.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/lxc/conf.c b/src/lxc/conf.c index 35bdb24..76a1901 100644 --- a/src/lxc/conf.c +++ b/src/lxc/conf.c @@ -130,6 +130,14 @@ lxc_log_define(lxc_conf, lxc); #define LO_FLAGS_AUTOCLEAR 4 #endif +#ifndef CAP_SETUID +#define CAP_SETUID 7 +#endif + +#ifndef CAP_SETGID +#define CAP_SETGID 6 +#endif + /* needed for cgroup automount checks, regardless of whether we * have included linux/capability.h or not */ #ifndef CAP_SYS_ADMIN
_______________________________________________ lxc-devel mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-devel
