]> granicus.if.org Git - strace/commitdiff
mips: enable indirect ipc subcall support
authorDmitry V. Levin <ldv@altlinux.org>
Tue, 13 Jan 2015 15:46:43 +0000 (18:46 +0300)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 13 Jan 2015 16:03:55 +0000 (16:03 +0000)
* linux/mips/syscallent-n32.h [LINUX_MIPSN32]: Define SYS_socket_subcall,
include "subcall.h".
* linux/mips/syscallent-n64.h [LINUX_MIPSN64]: Likewise.
* linux/mips/syscallent-o32.h [LINUX_MIPSO32]: Likewise.

linux/mips/syscallent-n32.h
linux/mips/syscallent-n64.h
linux/mips/syscallent-o32.h

index 6e80132c2098972ae2e00a3d8a38af3c8dac9d04..2a8ad22a902d2159ecc116d7db51843e53f9d419 100644 (file)
 [6318] = { 2,  TD,             sys_memfd_create,               "memfd_create",         },
 [6319] = { 3,  TD,             sys_bpf,                        "bpf",                  },
 [6320] = { 5,  TD|TF|TP|SE|SI, sys_execveat,                   "execveat",             },
+[6321 ... 6399] = { },
+
+# define SYS_socket_subcall      6400
+# include "subcall.h"
 
 #else
 
-#include "syscallent-n32-stub.h"
+# include "syscallent-n32-stub.h"
 
 #endif
index dd4d7d4040e3f0f2e67dcc6fd3e84fb0eae9d276..f3f3087031da12b44fc6979419b75833259919a0 100644 (file)
 [5314] = { 2,  TD,             sys_memfd_create,               "memfd_create",         },
 [5315] = { 3,  TD,             sys_bpf,                        "bpf",                  },
 [5316] = { 5,  TD|TF|TP|SE|SI, sys_execveat,                   "execveat",             },
+[5317 ... 5399] = { },
+
+# define SYS_socket_subcall      5400
+# include "subcall.h"
+
+/* end of Linux N64 */ [SYS_socket_subcall + SYS_socket_nsubcalls + SYS_ipc_nsubcalls ... 5999] = { },
 
 #else
 
-#include "syscallent-n64-stub.h"
+# include "syscallent-n64-stub.h"
+/* end of Linux N64 */ [5400 ... 5999] = { },
 
 #endif
-
-[5317 ... 5999] = { }, /* end of Linux N64 */
index bd35aa47db90e8483fa11ad7e7c05e302c94384c..59c24da2ca5e7f1ff9570f17a9be14ba5b59ae35 100644 (file)
 [4354] = { 2,  TD,             sys_memfd_create,               "memfd_create",         },
 [4355] = { 3,  TD,             sys_bpf,                        "bpf",                  },
 [4356] = { 5,  TD|TF|TP|SE|SI, sys_execveat,                   "execveat",             },
+[4357 ... 4399] = { },
+
+# define SYS_socket_subcall      4400
+# include "subcall.h"
+
+/* end of Linux o32 */ [SYS_socket_subcall + SYS_socket_nsubcalls + SYS_ipc_nsubcalls ... 4999] = { },
 
 #else
 
-#include "syscallent-o32-stub.h"
+# include "syscallent-o32-stub.h"
+/* end of Linux o32 */ [4400 ... 4999] = { },
 
 #endif
-
-[4357 ... 4999] = { }, /* end of Linux o32 */