From: Dmitry V. Levin Date: Sun, 22 Nov 2015 18:21:54 +0000 (+0000) Subject: Implement iopl syscall decoding X-Git-Tag: v4.11~125 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dcd00c39435387c3634e53375d4c47aaed8743fe;p=strace Implement iopl syscall decoding * iopl.c: New file. * Makefile.am (strace_SOURCES): Add it. * linux/dummy.h (sys_iopl): Remove stub alias. --- diff --git a/Makefile.am b/Makefile.am index 9f3d62dd..f4271adc 100644 --- a/Makefile.am +++ b/Makefile.am @@ -74,6 +74,7 @@ strace_SOURCES = \ io.c \ ioctl.c \ ioperm.c \ + iopl.c \ ioprio.c \ ipc_defs.h \ ipc_msg.c \ diff --git a/iopl.c b/iopl.c new file mode 100644 index 00000000..0f2bb322 --- /dev/null +++ b/iopl.c @@ -0,0 +1,8 @@ +#include "defs.h" + +SYS_FUNC(iopl) +{ + tprintf("%d", (int) tcp->u_arg[0]); + + return RVAL_DECODED; +} diff --git a/linux/dummy.h b/linux/dummy.h index fca11ef1..65f6f245 100644 --- a/linux/dummy.h +++ b/linux/dummy.h @@ -32,7 +32,6 @@ #endif /* still unfinished */ -#define sys_iopl printargs #define sys_kcmp printargs #define sys_kexec_file_load printargs #define sys_lookup_dcookie printargs