]> granicus.if.org Git - strace/commit
clone: use separate xlat for nstype parameter of setns syscall
authorEugene Syromyatnikov <evgsyr@gmail.com>
Tue, 18 Oct 2016 18:17:33 +0000 (21:17 +0300)
committerEugene Syromyatnikov <evgsyr@gmail.com>
Fri, 28 Oct 2016 23:54:01 +0000 (02:54 +0300)
commit7b0ae21f5ca4f7628f382e3560fc73b29642b90c
tree12f80d9bacbd56b0762b640feae9458f704817ac
parentaece0f417f95252016aecb4375032bfb04366afa
clone: use separate xlat for nstype parameter of setns syscall

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.
clone.c
xlat/setns_types.in [new file with mode: 0644]