|
|
@ -1,18 +1,18 @@
|
|
|
|
diff -up lxc-2.0.8/src/lxc/caps.h.orig lxc-2.0.8/src/lxc/caps.h
|
|
|
|
diff -up lxc-2.0.9/src/lxc/caps.h~ lxc-2.0.9/src/lxc/caps.h
|
|
|
|
--- lxc-2.0.8/src/lxc/caps.h.orig 2017-05-11 17:23:06.000000000 +0000
|
|
|
|
--- lxc-2.0.9/src/lxc/caps.h~ 2017-10-19 19:13:25.000000000 +0200
|
|
|
|
+++ lxc-2.0.8/src/lxc/caps.h 2017-06-10 07:04:48.702079368 +0000
|
|
|
|
+++ lxc-2.0.9/src/lxc/caps.h 2017-10-20 19:31:11.958292398 +0200
|
|
|
|
@@ -28,6 +28,7 @@
|
|
|
|
@@ -29,6 +29,7 @@
|
|
|
|
#define __LXC_CAPS_H
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if HAVE_LIBCAP
|
|
|
|
#if HAVE_LIBCAP
|
|
|
|
+#include <linux/types.h>
|
|
|
|
+#include <linux/types.h>
|
|
|
|
#include <sys/capability.h>
|
|
|
|
#include <sys/capability.h>
|
|
|
|
|
|
|
|
|
|
|
|
extern int lxc_caps_down(void);
|
|
|
|
extern int lxc_caps_down(void);
|
|
|
|
diff -up lxc-2.0.8/src/lxc/conf.c.orig lxc-2.0.8/src/lxc/conf.c
|
|
|
|
diff -up lxc-2.0.9/src/lxc/conf.c~ lxc-2.0.9/src/lxc/conf.c
|
|
|
|
--- lxc-2.0.8/src/lxc/conf.c.orig 2017-05-11 17:23:06.000000000 +0000
|
|
|
|
--- lxc-2.0.9/src/lxc/conf.c~ 2017-10-19 19:13:25.000000000 +0200
|
|
|
|
+++ lxc-2.0.8/src/lxc/conf.c 2017-06-10 07:08:18.448806856 +0000
|
|
|
|
+++ lxc-2.0.9/src/lxc/conf.c 2017-10-20 19:31:54.505837167 +0200
|
|
|
|
@@ -90,6 +90,7 @@
|
|
|
|
@@ -91,6 +91,7 @@
|
|
|
|
#include "lsm/lsm.h"
|
|
|
|
#include "lsm/lsm.h"
|
|
|
|
|
|
|
|
|
|
|
|
#if HAVE_LIBCAP
|
|
|
|
#if HAVE_LIBCAP
|
|
|
@ -20,10 +20,10 @@ diff -up lxc-2.0.8/src/lxc/conf.c.orig lxc-2.0.8/src/lxc/conf.c
|
|
|
|
#include <sys/capability.h>
|
|
|
|
#include <sys/capability.h>
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
diff -up lxc-2.0.8/src/lxc/start.c.orig lxc-2.0.8/src/lxc/start.c
|
|
|
|
diff -up lxc-2.0.9/src/lxc/start.c~ lxc-2.0.9/src/lxc/start.c
|
|
|
|
--- lxc-2.0.8/src/lxc/start.c.orig 2017-05-11 17:23:06.000000000 +0000
|
|
|
|
--- lxc-2.0.9/src/lxc/start.c~ 2017-10-19 19:13:25.000000000 +0200
|
|
|
|
+++ lxc-2.0.8/src/lxc/start.c 2017-06-10 07:05:33.166293224 +0000
|
|
|
|
+++ lxc-2.0.9/src/lxc/start.c 2017-10-20 19:32:21.793545209 +0200
|
|
|
|
@@ -47,6 +47,7 @@
|
|
|
|
@@ -49,6 +49,7 @@
|
|
|
|
#include <sys/wait.h>
|
|
|
|
#include <sys/wait.h>
|
|
|
|
|
|
|
|
|
|
|
|
#if HAVE_LIBCAP
|
|
|
|
#if HAVE_LIBCAP
|
|
|
|