Implement iopl syscall decoding

* iopl.c: New file.
* Makefile.am (strace_SOURCES): Add it.
* linux/dummy.h (sys_iopl): Remove stub alias.
This commit is contained in:
Дмитрий Левин 2015-11-22 18:21:54 +00:00
parent 2aa180e36a
commit dcd00c3943
3 changed files with 9 additions and 1 deletions

View File

@ -74,6 +74,7 @@ strace_SOURCES = \
io.c \
ioctl.c \
ioperm.c \
iopl.c \
ioprio.c \
ipc_defs.h \
ipc_msg.c \

8
iopl.c Normal file
View File

@ -0,0 +1,8 @@
#include "defs.h"
SYS_FUNC(iopl)
{
tprintf("%d", (int) tcp->u_arg[0]);
return RVAL_DECODED;
}

View File

@ -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