Skip to content

Commit 2aa180e

Browse files
committed
Implement ioperm syscall decoding
* ioperm.c: New file. * Makefile.am (strace_SOURCES): Add it. * linux/dummy.h (sys_ioperm): Remove stub alias.
1 parent a17f593 commit 2aa180e

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

Makefile.am

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ strace_SOURCES = \
7373
inotify.c \
7474
io.c \
7575
ioctl.c \
76+
ioperm.c \
7677
ioprio.c \
7778
ipc_defs.h \
7879
ipc_msg.c \

ioperm.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#include "defs.h"
2+
3+
SYS_FUNC(ioperm)
4+
{
5+
tprintf("%#lx, %#lx, %d",
6+
tcp->u_arg[0], tcp->u_arg[1], (int) tcp->u_arg[2]);
7+
8+
return RVAL_DECODED;
9+
}

linux/dummy.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
#endif
3333

3434
/* still unfinished */
35-
#define sys_ioperm printargs
3635
#define sys_iopl printargs
3736
#define sys_kcmp printargs
3837
#define sys_kexec_file_load printargs

0 commit comments

Comments
 (0)