aboutsummaryrefslogtreecommitdiff
path: root/util-linux/nsenter.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/nsenter.c')
-rw-r--r--util-linux/nsenter.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/util-linux/nsenter.c b/util-linux/nsenter.c
index 0dad595cd..b08b3dae7 100644
--- a/util-linux/nsenter.c
+++ b/util-linux/nsenter.c
@@ -60,6 +60,22 @@
60//usage:#endif 60//usage:#endif
61 61
62#include <sched.h> 62#include <sched.h>
63#ifndef CLONE_NEWUTS
64# define CLONE_NEWUTS 0x04000000
65#endif
66#ifndef CLONE_NEWIPC
67# define CLONE_NEWIPC 0x08000000
68#endif
69#ifndef CLONE_NEWUSER
70# define CLONE_NEWUSER 0x10000000
71#endif
72#ifndef CLONE_NEWPID
73# define CLONE_NEWPID 0x20000000
74#endif
75#ifndef CLONE_NEWNET
76# define CLONE_NEWNET 0x40000000
77#endif
78
63#include "libbb.h" 79#include "libbb.h"
64 80
65struct namespace_descr { 81struct namespace_descr {