Re: [PATCH v2] Implement decoding of ustat syscall

2017-01-06 Thread Dmitry V. Levin
On Fri, Jan 06, 2017 at 10:27:05PM +0800, JingPiao Chen wrote: [...] > +#include "defs.h" > +#include DEF_MPERS_TYPE(struct_ustat) > +#include > +typedef struct ustat struct_ustat; > +#include MPERS_DEFS This is correct. > + > +SYS_FUNC(ustat) > +{ > + struct_ustat ust; > + > + if (enter

[PATCH v2] Implement decoding of ustat syscall

2017-01-06 Thread JingPiao Chen
* ustat.c: New file. * Makefile.am (strace_SOURCES): Add it. * linux/dummy.h: Remove. * tests/ustat.c: New file. * tests/ustat.test: New test. * tests/.gitignore: Add ustat. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add ustat.test. --- Can you give me a hand? Is't like this?