]> git.proxmox.com Git - mirror_lxc.git/commitdiff
start: remove duplicate macros
authorChristian Brauner <christian.brauner@ubuntu.com>
Sun, 26 Aug 2018 22:59:12 +0000 (00:59 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Tue, 28 Aug 2018 18:22:24 +0000 (20:22 +0200)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/start.c

index 086a874f080c2379d13045e639bd8c3feaea2b44..b5c24897452affc27ee9214352f856c672c5c1d4 100644 (file)
 #include <sys/capability.h>
 #endif
 
-#if !HAVE_DECL_PR_CAPBSET_DROP
-#define PR_CAPBSET_DROP 24
-#endif
-
-#if !HAVE_DECL_PR_SET_NO_NEW_PRIVS
-#define PR_SET_NO_NEW_PRIVS 38
-#endif
-
-#if !HAVE_DECL_PR_GET_NO_NEW_PRIVS
-#define PR_GET_NO_NEW_PRIVS 39
-#endif
-
 #include "af_unix.h"
 #include "caps.h"
 #include "cgroup.h"
@@ -79,6 +67,7 @@
 #include "lxccontainer.h"
 #include "lxclock.h"
 #include "lxcseccomp.h"
+#include "macro.h"
 #include "mainloop.h"
 #include "monitor.h"
 #include "namespace.h"