Remove parser of create_module syscall

Since create_module syscall is present only in kernels before Linux 2.6
and strace does not support those kernels, there is no use to keep this
parser any longer.

* bjm.c (SYS_FUNC(create_module)): Remove.
* linux/dummy.h (sys_create_module): Add stub alias.
This commit is contained in:
Eugene Syromyatnikov 2016-10-16 14:42:32 +03:00
parent 6a1632c7e1
commit d71973c31f
2 changed files with 1 additions and 8 deletions

8
bjm.c
View File

@ -33,14 +33,6 @@
#include "xlat/delete_module_flags.h"
SYS_FUNC(create_module)
{
printpath(tcp, tcp->u_arg[0]);
tprintf(", %lu", tcp->u_arg[1]);
return RVAL_DECODED | RVAL_HEX;
}
SYS_FUNC(delete_module)
{
printstr(tcp, tcp->u_arg[0], -1);

View File

@ -134,6 +134,7 @@
/* unimplemented */
#define sys_afs_syscall printargs
#define sys_break printargs
#define sys_create_module printargs
#define sys_ftime printargs
#define sys_get_kernel_syms printargs
#define sys_getpmsg printargs