nstype is not flag set but specific type value against which it is
compared in kernel (see kernel/nsproxy.c, SYSCALL_DEFINE2(setns, ...)).
* xlat/setns_types.in: New file.
* clone.c: Use printxval and setns_types for nstype parameter.
#endif
#include "xlat/clone_flags.h"
+#include "xlat/setns_types.h"
#if defined IA64
# define ARG_FLAGS 0
{
printfd(tcp, tcp->u_arg[0]);
tprints(", ");
- printflags(clone_flags, tcp->u_arg[1], "CLONE_???");
+ printxval(setns_types, tcp->u_arg[1], "CLONE_NEW???");
return RVAL_DECODED;
}
--- /dev/null
+0
+CLONE_NEWNS 0x00020000
+CLONE_NEWCGROUP 0x02000000
+CLONE_NEWUTS 0x04000000
+CLONE_NEWIPC 0x08000000
+CLONE_NEWUSER 0x10000000
+CLONE_NEWPID 0x20000000
+CLONE_NEWNET 0x40000000