summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/strace/strace-4.7
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2013-06-21 16:12:20 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-06-21 13:24:49 +0100
commit4e5ba5f88285e94de4b78399306b07e0b57e7f03 (patch)
treea51d247b69aef7be536f30fdf4619f9f121ccdca /meta/recipes-devtools/strace/strace-4.7
parent011608a7b08c7fe5ad065da5179e1946ce250c57 (diff)
downloadpoky-4e5ba5f88285e94de4b78399306b07e0b57e7f03.tar.gz
strace: update to 4.8
Update strace to 4.8: * Update License file. * Remove the backport patches which are already in version 4.8. * Add file git-version-gen from git repo. Without this file configure fails. (From OE-Core rev: 3ae2592b40900caaebe2452c875912f82f9e5200) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/strace/strace-4.7')
-rw-r--r--meta/recipes-devtools/strace/strace-4.7/0003-util-fix-building-when-glibc-has-a-stub-process_vm_r.patch54
-rw-r--r--meta/recipes-devtools/strace/strace-4.7/0014-x32-update-syscall-table.patch91
-rw-r--r--meta/recipes-devtools/strace/strace-4.7/0018-x32-update-g-s-etsockopt-syscall-numbers.patch43
-rw-r--r--meta/recipes-devtools/strace/strace-4.7/0024-x32-add-64bit-annotation-too.patch231
-rw-r--r--meta/recipes-devtools/strace/strace-4.7/0025-Add-e-trace-memory-option.patch2898
-rw-r--r--meta/recipes-devtools/strace/strace-4.7/0026-linux-add-new-errno-values-for-EPROBE_DEFER-and-EOPE.patch36
-rw-r--r--meta/recipes-devtools/strace/strace-4.7/0027-Add-AArch64-support-to-strace.patch542
-rw-r--r--meta/recipes-devtools/strace/strace-4.7/0028-Enhance-quotactl-decoding.patch391
-rw-r--r--meta/recipes-devtools/strace/strace-4.7/0029-Filter-out-redundant-32-ioctl-entries.patch145
-rw-r--r--meta/recipes-devtools/strace/strace-4.7/0030-Move-asm-generic-ioctl-definitions-to-linux-ioctlent.patch571
-rw-r--r--meta/recipes-devtools/strace/strace-4.7/0031-Add-support-for-tracing-32-bit-ARM-EABI-binaries-on-.patch963
-rw-r--r--meta/recipes-devtools/strace/strace-4.7/0032-Fix-kernel-release-string-parsing.patch38
12 files changed, 0 insertions, 6003 deletions
diff --git a/meta/recipes-devtools/strace/strace-4.7/0003-util-fix-building-when-glibc-has-a-stub-process_vm_r.patch b/meta/recipes-devtools/strace/strace-4.7/0003-util-fix-building-when-glibc-has-a-stub-process_vm_r.patch
deleted file mode 100644
index 2fd80ec2b2..0000000000
--- a/meta/recipes-devtools/strace/strace-4.7/0003-util-fix-building-when-glibc-has-a-stub-process_vm_r.patch
+++ /dev/null
@@ -1,54 +0,0 @@
1Upstream-Status: Backport
2
3From 24ee60b836ad33bb4ac694ca99d6c94a8cc5ff92 Mon Sep 17 00:00:00 2001
4From: Mike Frysinger <vapier@gentoo.org>
5Date: Fri, 4 May 2012 19:37:29 -0400
6Subject: [PATCH 03/31] util: fix building when glibc has a stub
7 process_vm_readv
8
9If you have a newer glibc which provides process_vm_readv, but it is built
10against older kernel headers which lack __NR_process_vm_readv, the library
11will contain a stub implementation that just returns ENOSYS. Autoconf
12checks for this case explicitly and will declare it as unavailable. So we
13end up in a case where the headers provide the prototype, but autoconf has
14not defined HAVE_PROCESS_VM_READV, so we hit the same build failure again:
15
16util.c:738:16: error: static declaration of 'process_vm_readv' follows non-static declaration
17/usr/include/bits/uio.h:58:16: note: previous declaration of 'process_vm_readv' was here
18
19So rename our local function to something unique, and add a define so the
20callers all hit the right place.
21
22* util.c (strace_process_vm_readv): Rename from process_vm_readv.
23(process_vm_readv): Define to strace_process_vm_readv.
24
25Signed-off-by: Mike Frysinger <vapier@gentoo.org>
26---
27 util.c | 4 +++-
28 1 file changed, 3 insertions(+), 1 deletion(-)
29
30diff --git a/util.c b/util.c
31index d347bd8..f27acdf 100644
32--- a/util.c
33+++ b/util.c
34@@ -735,7 +735,8 @@ static bool process_vm_readv_not_supported = 0;
35
36 #if defined(__NR_process_vm_readv)
37 static bool process_vm_readv_not_supported = 0;
38-static ssize_t process_vm_readv(pid_t pid,
39+/* Have to avoid duplicating with the C library headers. */
40+static ssize_t strace_process_vm_readv(pid_t pid,
41 const struct iovec *lvec,
42 unsigned long liovcnt,
43 const struct iovec *rvec,
44@@ -744,6 +745,7 @@ static ssize_t process_vm_readv(pid_t pid,
45 {
46 return syscall(__NR_process_vm_readv, (long)pid, lvec, liovcnt, rvec, riovcnt, flags);
47 }
48+#define process_vm_readv strace_process_vm_readv
49 #else
50 static bool process_vm_readv_not_supported = 1;
51 # define process_vm_readv(...) (errno = ENOSYS, -1)
52--
531.8.0
54
diff --git a/meta/recipes-devtools/strace/strace-4.7/0014-x32-update-syscall-table.patch b/meta/recipes-devtools/strace/strace-4.7/0014-x32-update-syscall-table.patch
deleted file mode 100644
index b977e9db41..0000000000
--- a/meta/recipes-devtools/strace/strace-4.7/0014-x32-update-syscall-table.patch
+++ /dev/null
@@ -1,91 +0,0 @@
1Upstream-Status: Backport
2
3From d7df59197d406b14af21cbc734d286c27108e2db Mon Sep 17 00:00:00 2001
4From: Mike Frysinger <vapier@gentoo.org>
5Date: Mon, 4 Jun 2012 14:01:59 -0400
6Subject: [PATCH 14/31] x32: update syscall table
7
8This syncs with the syscall table as it is in linux 3.4.
9
10* linux/x32/syscallent.h (59): Fix comment typo.
11(78): Add missing getdents entry.
12(174): Delete create_module entry (not in the kernel).
13(181, 182, 183, 184, 185): Add missing entries.
14(524, 536, 539, 540): Fix spacing.
15
16Signed-off-by: Mike Frysinger <vapier@gentoo.org>
17---
18 linux/x32/syscallent.h | 24 ++++++++++++------------
19 1 file changed, 12 insertions(+), 12 deletions(-)
20
21diff --git a/linux/x32/syscallent.h b/linux/x32/syscallent.h
22index fcb6a23..ee4c4ce 100644
23--- a/linux/x32/syscallent.h
24+++ b/linux/x32/syscallent.h
25@@ -57,7 +57,7 @@
26 { 5, TP, sys_clone, "clone" }, /* 56 */
27 { 0, TP, sys_fork, "fork" }, /* 57 */
28 { 0, TP, sys_vfork, "vfork" }, /* 58 */
29- { }, /* 47 */
30+ { }, /* 59 */
31 { 1, TP, sys_exit, "_exit" }, /* 60 */
32 { 4, TP, sys_wait4, "wait4" }, /* 61 */
33 { 2, TS, sys_kill, "kill" }, /* 62 */
34@@ -76,7 +76,7 @@
35 { 1, TD, sys_fdatasync, "fdatasync" }, /* 75 */
36 { 2, TF, sys_truncate, "truncate" }, /* 76 */
37 { 2, TD, sys_ftruncate, "ftruncate" }, /* 77 */
38- { }, /* 78 */
39+ { 3, TD, sys_getdents, "getdents" }, /* 78 */
40 { 2, TF, sys_getcwd, "getcwd" }, /* 79 */
41 { 1, TF, sys_chdir, "chdir" }, /* 80 */
42 { 1, TD, sys_fchdir, "fchdir" }, /* 81 */
43@@ -172,18 +172,18 @@
44 { 2, 0, sys_setdomainname, "setdomainname" }, /* 171 */
45 { 1, 0, sys_iopl, "iopl" }, /* 172 */
46 { 3, 0, sys_ioperm, "ioperm" }, /* 173 */
47- { 2, 0, sys_create_module, "create_module" }, /* 174 */
48+ { }, /* 174 */
49 { 3, 0, sys_init_module, "init_module" }, /* 175 */
50 { 2, 0, sys_delete_module, "delete_module" }, /* 176 */
51 { }, /* 177 */
52 { }, /* 178 */
53 { 4, 0, sys_quotactl, "quotactl" }, /* 179 */
54 { }, /* 180 */
55- { }, /* 181 */
56- { }, /* 182 */
57- { }, /* 183 */
58- { }, /* 184 */
59- { }, /* 185 */
60+ { 5, 0, sys_getpmsg, "getpmsg" }, /* 181 */
61+ { 5, 0, sys_putpmsg, "putpmsg" }, /* 182 */
62+ { 5, 0, sys_afs_syscall, "afs_syscall" }, /* 183 */
63+ { 3, 0, sys_tuxcall, "tuxcall" }, /* 184 */
64+ { 3, 0, sys_security, "security" }, /* 185 */
65 { 0, 0, sys_gettid, "gettid" }, /* 186 */
66 { 4, TD, sys_readahead, "readahead" }, /* 187 */
67 { 5, TF, sys_setxattr, "setxattr" }, /* 188 */
68@@ -325,7 +325,7 @@
69 { 4, 0, sys_ptrace, "ptrace" }, /* 521 */
70 { 2, TS, sys_rt_sigpending, "rt_sigpending" }, /* 522 */
71 { 4, TS, sys_rt_sigtimedwait, "rt_sigtimedwait" }, /* 523 */
72- { 3, TS, sys_rt_sigqueueinfo, "rt_sigqueueinfo" }, /* 524 */
73+ { 3, TS, sys_rt_sigqueueinfo, "rt_sigqueueinfo" }, /* 524 */
74 { 2, TS, sys_sigaltstack, "sigaltstack" }, /* 525 */
75 { 3, 0, sys_timer_create, "timer_create" }, /* 526 */
76 { 2, 0, sys_mq_notify, "mq_notify" }, /* 527 */
77@@ -337,8 +337,8 @@
78 { 6, 0, sys_move_pages, "move_pages" }, /* 533 */
79 { 5, TD, sys_preadv, "preadv" }, /* 534 */
80 { 5, TD, sys_pwritev, "pwritev" }, /* 535 */
81- { 4, TP|TS, sys_rt_tgsigqueueinfo, "rt_tgsigqueueinfo"}, /* 536 */
82+ { 4, TP|TS, sys_rt_tgsigqueueinfo, "rt_tgsigqueueinfo" }, /* 536 */
83 { 5, TN, sys_recvmmsg, "recvmmsg" }, /* 537 */
84 { 4, TN, sys_sendmmsg, "sendmmsg" }, /* 538 */
85- { 6, 0, sys_process_vm_readv, "process_vm_readv"}, /* 539 */
86- { 6, 0, sys_process_vm_writev, "process_vm_writev"}, /* 540 */
87+ { 6, 0, sys_process_vm_readv, "process_vm_readv" }, /* 539 */
88+ { 6, 0, sys_process_vm_writev, "process_vm_writev" }, /* 540 */
89--
901.8.0
91
diff --git a/meta/recipes-devtools/strace/strace-4.7/0018-x32-update-g-s-etsockopt-syscall-numbers.patch b/meta/recipes-devtools/strace/strace-4.7/0018-x32-update-g-s-etsockopt-syscall-numbers.patch
deleted file mode 100644
index 4a1e2f7bec..0000000000
--- a/meta/recipes-devtools/strace/strace-4.7/0018-x32-update-g-s-etsockopt-syscall-numbers.patch
+++ /dev/null
@@ -1,43 +0,0 @@
1Upstream-Status: Backport
2
3From f04b5de5a5a743f0b3ca0895379dd2ba702ea174 Mon Sep 17 00:00:00 2001
4From: Mike Frysinger <vapier@gentoo.org>
5Date: Wed, 22 Aug 2012 11:56:15 -0400
6Subject: [PATCH 18/31] x32: update {g,s}etsockopt syscall numbers
7
8Starting with linux 3.6 (and backported to earlier kernels), these two
9syscalls have changed numbers (moving from native to compat entry points).
10Update the strace syscall list accordingly.
11
12* linux/x32/syscallent.h: Move setsockopt from 54 to 541, and move
13getsockopt from 55 to 542.
14
15Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16---
17 linux/x32/syscallent.h | 6 ++++--
18 1 file changed, 4 insertions(+), 2 deletions(-)
19
20diff --git a/linux/x32/syscallent.h b/linux/x32/syscallent.h
21index ee4c4ce..6385d45 100644
22--- a/linux/x32/syscallent.h
23+++ b/linux/x32/syscallent.h
24@@ -52,8 +52,8 @@
25 { 3, TN, sys_getsockname, "getsockname" }, /* 51 */
26 { 3, TN, sys_getpeername, "getpeername" }, /* 52 */
27 { 4, TN, sys_socketpair, "socketpair" }, /* 53 */
28- { 5, TN, sys_setsockopt, "setsockopt" }, /* 54 */
29- { 5, TN, sys_getsockopt, "getsockopt" }, /* 55 */
30+ { }, /* 54 */
31+ { }, /* 55 */
32 { 5, TP, sys_clone, "clone" }, /* 56 */
33 { 0, TP, sys_fork, "fork" }, /* 57 */
34 { 0, TP, sys_vfork, "vfork" }, /* 58 */
35@@ -342,3 +342,5 @@
36 { 4, TN, sys_sendmmsg, "sendmmsg" }, /* 538 */
37 { 6, 0, sys_process_vm_readv, "process_vm_readv" }, /* 539 */
38 { 6, 0, sys_process_vm_writev, "process_vm_writev" }, /* 540 */
39+ { 5, TN, sys_setsockopt, "setsockopt" }, /* 541 */
40+ { 5, TN, sys_getsockopt, "getsockopt" }, /* 542 */
41--
421.8.0
43
diff --git a/meta/recipes-devtools/strace/strace-4.7/0024-x32-add-64bit-annotation-too.patch b/meta/recipes-devtools/strace/strace-4.7/0024-x32-add-64bit-annotation-too.patch
deleted file mode 100644
index c0406a5bdc..0000000000
--- a/meta/recipes-devtools/strace/strace-4.7/0024-x32-add-64bit-annotation-too.patch
+++ /dev/null
@@ -1,231 +0,0 @@
1Upstream-Status: Backport
2
3From 85c217849046414a98d2d90173960f39defc145f Mon Sep 17 00:00:00 2001
4From: Mike Frysinger <vapier@gentoo.org>
5Date: Thu, 27 Sep 2012 01:12:39 -0400
6Subject: [PATCH 24/31] x32: add 64bit annotation too
7
8Since someone can invoke these entry points directly with syscall(),
9at least decode their name and show that they're 64bit versions rather
10than just showing syscall_###.
11
12* linux/x32/syscallent.h: Sync all missing entries below 312 with x86_64.
13
14Signed-off-by: Mike Frysinger <vapier@gentoo.org>
15---
16 linux/x32/syscallent.h | 84 +++++++++++++++++++++++++-------------------------
17 1 file changed, 42 insertions(+), 42 deletions(-)
18
19diff --git a/linux/x32/syscallent.h b/linux/x32/syscallent.h
20index 6385d45..978af94 100644
21--- a/linux/x32/syscallent.h
22+++ b/linux/x32/syscallent.h
23@@ -11,14 +11,14 @@
24 { 3, 0, sys_mprotect, "mprotect" }, /* 10 */
25 { 2, 0, sys_munmap, "munmap" }, /* 11 */
26 { 1, 0, sys_brk, "brk" }, /* 12 */
27- { }, /* 13 */
28+ { 4, TS, printargs, "64:rt_sigaction" }, /* 13 */
29 { 4, TS, sys_rt_sigprocmask, "rt_sigprocmask"}, /* 14 */
30- { }, /* 15 */
31- { }, /* 16 */
32+ { 0, TS, printargs, "64:rt_sigreturn" }, /* 15 */
33+ { 3, TD, printargs, "64:ioctl" }, /* 16 */
34 { 5, TD, sys_pread, "pread" }, /* 17 */
35 { 5, TD, sys_pwrite, "pwrite" }, /* 18 */
36- { }, /* 19 */
37- { }, /* 20 */
38+ { 3, TD, printargs, "64:readv" }, /* 19 */
39+ { 3, TD, printargs, "64:writev" }, /* 20 */
40 { 2, TF, sys_access, "access" }, /* 21 */
41 { 1, TD, sys_pipe, "pipe" }, /* 22 */
42 { 5, TD, sys_select, "select" }, /* 23 */
43@@ -43,21 +43,21 @@
44 { 3, TN, sys_connect, "connect" }, /* 42 */
45 { 3, TN, sys_accept, "accept" }, /* 43 */
46 { 6, TN, sys_sendto, "sendto" }, /* 44 */
47- { }, /* 45 */
48- { }, /* 46 */
49- { }, /* 47 */
50+ { 6, TN, printargs, "64:recvfrom" }, /* 45 */
51+ { 3, TN, printargs, "64:sendmsg" }, /* 46 */
52+ { 5, TN, printargs, "64:recvmsg" }, /* 47 */
53 { 2, TN, sys_shutdown, "shutdown" }, /* 48 */
54 { 3, TN, sys_bind, "bind" }, /* 49 */
55 { 2, TN, sys_listen, "listen" }, /* 50 */
56 { 3, TN, sys_getsockname, "getsockname" }, /* 51 */
57 { 3, TN, sys_getpeername, "getpeername" }, /* 52 */
58 { 4, TN, sys_socketpair, "socketpair" }, /* 53 */
59- { }, /* 54 */
60- { }, /* 55 */
61+ { 5, TN, printargs, "64:setsockopt" }, /* 54 */
62+ { 5, TN, printargs, "64:getsockopt" }, /* 55 */
63 { 5, TP, sys_clone, "clone" }, /* 56 */
64 { 0, TP, sys_fork, "fork" }, /* 57 */
65 { 0, TP, sys_vfork, "vfork" }, /* 58 */
66- { }, /* 59 */
67+ { 3, TF|TP, printargs, "64:execve" }, /* 59 */
68 { 1, TP, sys_exit, "_exit" }, /* 60 */
69 { 4, TP, sys_wait4, "wait4" }, /* 61 */
70 { 2, TS, sys_kill, "kill" }, /* 62 */
71@@ -99,7 +99,7 @@
72 { 2, 0, sys_getrusage, "getrusage" }, /* 98 */
73 { 1, 0, sys_sysinfo, "sysinfo" }, /* 99 */
74 { 1, 0, sys_times, "times" }, /* 100 */
75- { }, /* 101 */
76+ { 4, 0, printargs, "64:ptrace" }, /* 101 */
77 { 0, NF, sys_getuid, "getuid" }, /* 102 */
78 { 3, 0, sys_syslog, "syslog" }, /* 103 */
79 { 0, NF, sys_getgid, "getgid" }, /* 104 */
80@@ -125,14 +125,14 @@
81 { 1, 0, sys_getsid, "getsid" }, /* 124 */
82 { 2, 0, sys_capget, "capget" }, /* 125 */
83 { 2, 0, sys_capset, "capset" }, /* 126 */
84- { }, /* 127 */
85- { }, /* 128 */
86- { }, /* 129 */
87+ { 2, TS, printargs, "64:rt_sigpending" }, /* 127 */
88+ { 4, TS, printargs, "64:rt_sigtimedwait" }, /* 128 */
89+ { 3, TS, printargs, "64:rt_sigqueueinfo" }, /* 129 */
90 { 2, TS, sys_rt_sigsuspend, "rt_sigsuspend" }, /* 130 */
91- { }, /* 131 */
92+ { 2, TS, printargs, "64:sigaltstack"}, /* 131 */
93 { 2, TF, sys_utime, "utime" }, /* 132 */
94 { 3, TF, sys_mknod, "mknod" }, /* 133 */
95- { }, /* 134 */
96+ { 1, TF, printargs, "64:uselib" }, /* 134 */
97 { 1, 0, sys_personality, "personality" }, /* 135 */
98 { 2, 0, sys_ustat, "ustat" }, /* 136 */
99 { 2, TF, sys_statfs, "statfs" }, /* 137 */
100@@ -154,7 +154,7 @@
101 { 0, 0, sys_vhangup, "vhangup" }, /* 153 */
102 { 3, 0, sys_modify_ldt, "modify_ldt" }, /* 154 */
103 { 2, TF, sys_pivotroot, "pivot_root" }, /* 155 */
104- { }, /* 156 */
105+ { 1, 0, printargs, "64:_sysctl" }, /* 156 */
106 { 5, 0, sys_prctl, "prctl" }, /* 157 */
107 { 2, TP, sys_arch_prctl, "arch_prctl" }, /* 158 */
108 { 1, 0, sys_adjtimex, "adjtimex" }, /* 159 */
109@@ -172,13 +172,13 @@
110 { 2, 0, sys_setdomainname, "setdomainname" }, /* 171 */
111 { 1, 0, sys_iopl, "iopl" }, /* 172 */
112 { 3, 0, sys_ioperm, "ioperm" }, /* 173 */
113- { }, /* 174 */
114+ { 2, 0, printargs, "64:create_module" }, /* 174 */
115 { 3, 0, sys_init_module, "init_module" }, /* 175 */
116 { 2, 0, sys_delete_module, "delete_module" }, /* 176 */
117- { }, /* 177 */
118- { }, /* 178 */
119+ { 1, 0, printargs, "64:get_kernel_syms" }, /* 177 */
120+ { 5, 0, printargs, "64:query_module" }, /* 178 */
121 { 4, 0, sys_quotactl, "quotactl" }, /* 179 */
122- { }, /* 180 */
123+ { 3, 0, printargs, "64:nfsservctl" }, /* 180 */
124 { 5, 0, sys_getpmsg, "getpmsg" }, /* 181 */
125 { 5, 0, sys_putpmsg, "putpmsg" }, /* 182 */
126 { 5, 0, sys_afs_syscall, "afs_syscall" }, /* 183 */
127@@ -203,24 +203,24 @@
128 { 6, 0, sys_futex, "futex" }, /* 202 */
129 { 3, 0, sys_sched_setaffinity, "sched_setaffinity" },/* 203 */
130 { 3, 0, sys_sched_getaffinity, "sched_getaffinity" },/* 204 */
131- { }, /* 205 */
132+ { 1, 0, printargs, "64:set_thread_area" }, /* 205 */
133 { 2, 0, sys_io_setup, "io_setup" }, /* 206 */
134 { 1, 0, sys_io_destroy, "io_destroy" }, /* 207 */
135 { 5, 0, sys_io_getevents, "io_getevents" }, /* 208 */
136 { 3, 0, sys_io_submit, "io_submit" }, /* 209 */
137 { 3, 0, sys_io_cancel, "io_cancel" }, /* 210 */
138- { }, /* 211 */
139+ { 1, 0, printargs, "64:get_thread_area" }, /* 211 */
140 { 4, 0, sys_lookup_dcookie, "lookup_dcookie"}, /* 212 */
141 { 1, TD, sys_epoll_create, "epoll_create" }, /* 213 */
142- { }, /* 214 */
143- { }, /* 215 */
144+ { 4, 0, printargs, "64:epoll_ctl_old" }, /* 214 */
145+ { 4, 0, printargs, "64:epoll_wait_old" }, /* 215 */
146 { 5, 0, sys_remap_file_pages, "remap_file_pages"}, /* 216 */
147 { 3, TD, sys_getdents64, "getdents64" }, /* 217 */
148 { 1, 0, sys_set_tid_address, "set_tid_address"}, /* 218 */
149 { 0, 0, sys_restart_syscall, "restart_syscall"}, /* 219 */
150 { 5, TI, sys_semtimedop, "semtimedop" }, /* 220 */
151 { 4, TD, sys_fadvise64_64, "fadvise64" }, /* 221 */
152- { }, /* 222 */
153+ { 3, 0, printargs, "64:timer_create"}, /* 222 */
154 { 4, 0, sys_timer_settime, "timer_settime" }, /* 223 */
155 { 2, 0, sys_timer_gettime, "timer_gettime" }, /* 224 */
156 { 1, 0, sys_timer_getoverrun, "timer_getoverrun"}, /* 225 */
157@@ -234,7 +234,7 @@
158 { 4, TD, sys_epoll_ctl, "epoll_ctl" }, /* 233 */
159 { 3, TS, sys_tgkill, "tgkill" }, /* 234 */
160 { 2, TF, sys_utimes, "utimes" }, /* 235 */
161- { }, /* 236 */
162+ { 5, 0, printargs, "64:vserver" }, /* 236 */
163 { 6, 0, sys_mbind, "mbind" }, /* 237 */
164 { 3, 0, sys_set_mempolicy, "set_mempolicy" }, /* 238 */
165 { 5, 0, sys_get_mempolicy, "get_mempolicy" }, /* 239 */
166@@ -242,10 +242,10 @@
167 { 1, 0, sys_mq_unlink, "mq_unlink" }, /* 241 */
168 { 5, 0, sys_mq_timedsend, "mq_timedsend" }, /* 242 */
169 { 5, 0, sys_mq_timedreceive, "mq_timedreceive" }, /* 243 */
170- { }, /* 244 */
171+ { 2, 0, printargs, "64:mq_notify" }, /* 244 */
172 { 3, 0, sys_mq_getsetattr, "mq_getsetattr" }, /* 245 */
173- { }, /* 246 */
174- { }, /* 247 */
175+ { 4, 0, printargs, "64:kexec_load" }, /* 246 */
176+ { 5, TP, printargs, "64:waitid" }, /* 247 */
177 { 5, 0, sys_add_key, "add_key" }, /* 248 */
178 { 4, 0, sys_request_key, "request_key" }, /* 249 */
179 { 5, 0, sys_keyctl, "keyctl" }, /* 250 */
180@@ -271,13 +271,13 @@
181 { 6, TD, sys_pselect6, "pselect6" }, /* 270 */
182 { 5, TD, sys_ppoll, "ppoll" }, /* 271 */
183 { 1, TP, sys_unshare, "unshare" }, /* 272 */
184- { }, /* 273 */
185- { }, /* 274 */
186+ { 2, 0, printargs, "64:set_robust_list" }, /* 273 */
187+ { 3, 0, printargs, "64:get_robust_list" }, /* 274 */
188 { 6, TD, sys_splice, "splice" }, /* 275 */
189 { 4, TD, sys_tee, "tee" }, /* 276 */
190 { 4, TD, sys_sync_file_range, "sync_file_range" }, /* 277 */
191- { }, /* 278 */
192- { }, /* 279 */
193+ { 4, TD, printargs, "64:vmsplice" }, /* 278 */
194+ { 6, 0, printargs, "64:move_pages" }, /* 279 */
195 { 4, TD|TF, sys_utimensat, "utimensat" }, /* 280 */
196 { 6, TD, sys_epoll_pwait, "epoll_pwait" }, /* 281 */
197 { 3, TD|TS, sys_signalfd, "signalfd" }, /* 282 */
198@@ -293,11 +293,11 @@
199 { 3, TD, sys_dup3, "dup3" }, /* 292 */
200 { 2, TD, sys_pipe2, "pipe2" }, /* 293 */
201 { 1, TD, sys_inotify_init1, "inotify_init1" }, /* 294 */
202- { }, /* 295 */
203- { }, /* 296 */
204- { }, /* 297 */
205+ { 5, TD, printargs, "64:preadv" }, /* 295 */
206+ { 5, TD, printargs, "64:pwritev" }, /* 296 */
207+ { 4, TP|TS, printargs, "64:rt_tgsigqueueinfo"}, /* 297 */
208 { 5, TD, sys_perf_event_open, "perf_event_open"}, /* 298 */
209- { }, /* 299 */
210+ { 5, TN, printargs, "64:recvmmsg" }, /* 299 */
211 { 2, TD, sys_fanotify_init, "fanotify_init" }, /* 300 */
212 { 5, TD|TF, sys_fanotify_mark, "fanotify_mark" }, /* 301 */
213 { 4, 0, sys_prlimit64, "prlimit64" }, /* 302 */
214@@ -305,11 +305,11 @@
215 { 3, TD, sys_open_by_handle_at, "open_by_handle_at"}, /* 304 */
216 { 2, 0, sys_clock_adjtime, "clock_adjtime" }, /* 305 */
217 { 1, TD, sys_syncfs, "syncfs" }, /* 306 */
218- { }, /* 307 */
219+ { 4, TN, printargs, "64:sendmmsg" }, /* 307 */
220 { 2, TD, sys_setns, "setns" }, /* 308 */
221 { 3, 0, sys_getcpu, "getcpu" }, /* 309 */
222- { }, /* 310 */
223- { }, /* 311 */
224+ { 6, 0, printargs, "64:process_vm_readv" }, /* 310 */
225+ { 6, 0, printargs, "64:process_vm_writev" }, /* 311 */
226
227 [312 ... 511] = {},
228
229--
2301.8.0
231
diff --git a/meta/recipes-devtools/strace/strace-4.7/0025-Add-e-trace-memory-option.patch b/meta/recipes-devtools/strace/strace-4.7/0025-Add-e-trace-memory-option.patch
deleted file mode 100644
index 03ecf5df40..0000000000
--- a/meta/recipes-devtools/strace/strace-4.7/0025-Add-e-trace-memory-option.patch
+++ /dev/null
@@ -1,2898 +0,0 @@
1Upstream-Status: Backport
2
3From 9679296d56e3c0a948b1b4dcce99fd3c9b253a3d Mon Sep 17 00:00:00 2001
4From: Namhyung Kim <namhyung.kim@lge.com>
5Date: Wed, 24 Oct 2012 11:41:57 +0900
6Subject: [PATCH 25/31] Add -e trace=memory option
7
8Add a new 'memory' category for tracing memory mapping related syscalls.
9
10Affected syscalls are: break, brk, get_mempolicy, madvise, mbind,
11migrate_pages, mincore, mlock, mlockall, mmap, move_pages, mprotect,
12mremap, msync, munlock, munlockall, munmap, remap_file_pages, and
13set_mempolicy.
14
15* defs.h (TRACE_MEMORY): New macro.
16* syscall.c (lookup_class): Handle trace=memory option.
17* strace.1: Document it.
18* linux/alpha/syscallent.h: Add TM flag to memory mapping related syscalls.
19* linux/arm/syscallent.h: Likewise.
20* linux/avr32/syscallent.h: Likewise.
21* linux/bfin/syscallent.h: Likewise.
22* linux/hppa/syscallent.h: Likewise.
23* linux/i386/syscallent.h: Likewise.
24* linux/ia64/syscallent.h: Likewise.
25* linux/m68k/syscallent.h: Likewise.
26* linux/microblaze/syscallent.h: Likewise.
27* linux/mips/syscallent.h: Likewise.
28* linux/powerpc/syscallent.h: Likewise.
29* linux/s390/syscallent.h: Likewise.
30* linux/s390x/syscallent.h: Likewise.
31* linux/sh/syscallent.h: Likewise.
32* linux/sh64/syscallent.h: Likewise.
33* linux/sparc/syscallent.h: Likewise.
34* linux/tile/syscallent.h: Likewise.
35* linux/x32/syscallent.h: Likewise.
36* linux/x86_64/syscallent.h: Likewise.
37
38Signed-off-by: Namhyung Kim <namhyung.kim@lge.com>
39---
40 defs.h | 3 +-
41 linux/alpha/syscallent.h | 42 +++----
42 linux/arm/syscallent.h | 38 +++----
43 linux/avr32/syscallent.h | 26 ++---
44 linux/bfin/syscallent.h | 38 +++----
45 linux/hppa/syscallent.h | 38 +++----
46 linux/i386/syscallent.h | 40 +++----
47 linux/ia64/syscallent.h | 36 +++---
48 linux/m68k/syscallent.h | 40 +++----
49 linux/microblaze/syscallent.h | 40 +++----
50 linux/mips/syscallent.h | 254 +++++++++++++++++++++---------------------
51 linux/powerpc/syscallent.h | 40 +++----
52 linux/s390/syscallent.h | 38 +++----
53 linux/s390x/syscallent.h | 36 +++---
54 linux/sh/syscallent.h | 40 +++----
55 linux/sh64/syscallent.h | 40 +++----
56 linux/sparc/syscallent.h | 38 +++----
57 linux/tile/syscallent.h | 36 +++---
58 linux/x32/syscallent.h | 38 +++----
59 linux/x86_64/syscallent.h | 36 +++---
60 strace.1 | 3 +
61 syscall.c | 4 +
62 22 files changed, 476 insertions(+), 468 deletions(-)
63
64diff --git a/defs.h b/defs.h
65index 7814bbd..d366b21 100644
66--- a/defs.h
67+++ b/defs.h
68@@ -447,7 +447,8 @@ extern const struct xlat open_access_modes[];
69 #define TRACE_PROCESS 010 /* Trace process-related syscalls. */
70 #define TRACE_SIGNAL 020 /* Trace signal-related syscalls. */
71 #define TRACE_DESC 040 /* Trace file descriptor-related syscalls. */
72-#define SYSCALL_NEVER_FAILS 0100 /* Syscall is always successful. */
73+#define TRACE_MEMORY 0100 /* Trace memory mapping-related syscalls. */
74+#define SYSCALL_NEVER_FAILS 0200 /* Syscall is always successful. */
75
76 typedef enum {
77 CFLAG_NONE = 0,
78diff --git a/linux/alpha/syscallent.h b/linux/alpha/syscallent.h
79index a2d048b..aa76a43 100644
80--- a/linux/alpha/syscallent.h
81+++ b/linux/alpha/syscallent.h
82@@ -43,7 +43,7 @@
83 { 3, TF, sys_mknod, "mknod" }, /* 14 */
84 { 2, TF, sys_chmod, "chmod" }, /* 15 */
85 { 3, TF, sys_chown, "chown" }, /* 16 */
86- { 1, 0, sys_brk, "brk" }, /* 17 */
87+ { 1, TM, sys_brk, "brk" }, /* 17 */
88 { 5, 0, printargs, "osf_getfsstat" }, /* 18, not implemented */
89 { 3, TF, sys_lseek, "lseek" }, /* 19 */
90 { 0, 0, sys_getpid, "getxpid" }, /* 20 */
91@@ -91,20 +91,20 @@
92 { 5, 0, printargs, "osf_old_fstat" }, /* 62, not implemented */
93 { 0, 0, sys_getpgrp, "getpgrp" }, /* 63 */
94 { 0, 0, sys_getpagesize, "getpagesize" }, /* 64 */
95- { 5, 0, printargs, "osf_mremap" }, /* 65, not implemented */
96+ { 5, TM, printargs, "osf_mremap" }, /* 65, not implemented */
97 { 0, TP, sys_fork, "vfork" }, /* 66 */
98 { 2, TF, sys_stat, "stat" }, /* 67 */
99 { 2, TF, sys_lstat, "lstat" }, /* 68 */
100- { 5, 0, printargs, "osf_sbrk" }, /* 69, not implemented */
101+ { 5, TM, printargs, "osf_sbrk" }, /* 69, not implemented */
102 { 5, 0, printargs, "osf_sstk" }, /* 70, not implemented */
103- { 6, TD, sys_mmap, "mmap" }, /* 71 */
104+ { 6, TD|TM, sys_mmap, "mmap" }, /* 71 */
105 { 5, 0, printargs, "osf_old_vadvise" }, /* 72, not implemented */
106- { 2, 0, sys_munmap, "munmap" }, /* 73 */
107- { 3, 0, sys_mprotect, "mprotect" }, /* 74 */
108- { 3, 0, sys_madvise, "madvise" }, /* 75 */
109+ { 2, TM, sys_munmap, "munmap" }, /* 73 */
110+ { 3, TM, sys_mprotect, "mprotect" }, /* 74 */
111+ { 3, TM, sys_madvise, "madvise" }, /* 75 */
112 { 0, 0, sys_vhangup, "vhangup" }, /* 76 */
113 { 5, 0, printargs, "osf_kmodcall" }, /* 77, not implemented */
114- { 5, 0, printargs, "osf_mincore" }, /* 78, not implemented */
115+ { 5, TM, printargs, "osf_mincore" }, /* 78, not implemented */
116 { 2, 0, sys_getgroups, "getgroups" }, /* 79 */
117 { 2, 0, sys_setgroups, "setgroups" }, /* 80 */
118 { 5, 0, printargs, "osf_old_getpgrp" }, /* 81, not implemented */
119@@ -243,7 +243,7 @@
120 { 5, 0, printargs, "osf_getaddressconf" }, /* 214, not implemented */
121 { 5, 0, printargs, "osf_msleep" }, /* 215, not implemented */
122 { 5, 0, printargs, "osf_mwakeup" }, /* 216, not implemented */
123- { 3, 0, sys_msync, "msync" }, /* 217 */
124+ { 3, TM, sys_msync, "msync" }, /* 217 */
125 { 5, 0, printargs, "osf_signal" }, /* 218, not implemented */
126 { 5, 0, printargs, "osf_utc_gettime" }, /* 219, not implemented */
127 { 5, 0, printargs, "osf_utc_adjtime" }, /* 220, not implemented */
128@@ -340,10 +340,10 @@
129 { 4, 0, sys_reboot, "reboot" }, /* 311 */
130 { 5, TP, sys_clone, "clone" }, /* 312 */
131 { 1, 0, sys_uselib, "uselib" }, /* 313 */
132- { 2, 0, sys_mlock, "mlock" }, /* 314 */
133- { 2, 0, sys_munlock, "munlock" }, /* 315 */
134- { 1, 0, sys_mlockall, "mlockall" }, /* 316 */
135- { 0, 0, sys_munlockall, "munlockall" }, /* 317 */
136+ { 2, TM, sys_mlock, "mlock" }, /* 314 */
137+ { 2, TM, sys_munlock, "munlock" }, /* 315 */
138+ { 1, TM, sys_mlockall, "mlockall" }, /* 316 */
139+ { 0, TM, sys_munlockall, "munlockall" }, /* 317 */
140 { 1, 0, sys_sysinfo, "sysinfo" }, /* 318 */
141 { 1, 0, sys_sysctl, "sysctl" }, /* 319 */
142 { 0, 0, sys_idle, "idle" }, /* 320 */
143@@ -367,7 +367,7 @@
144 { 5, 0, sys_afs_syscall, "afs_syscall" }, /* 338 */
145 { 1, 0, sys_uname, "uname" }, /* 339 */
146 { 2, 0, sys_nanosleep, "nanosleep" }, /* 340 */
147- { 5, 0, sys_mremap, "mremap" }, /* 341 */
148+ { 5, TM, sys_mremap, "mremap" }, /* 341 */
149 { 5, 0, sys_nfsservctl, "nfsservctl" }, /* 342 */
150 { 3, 0, sys_setresuid, "setresuid" }, /* 343 */
151 { 3, 0, sys_getresuid, "getresuid" }, /* 344 */
152@@ -401,7 +401,7 @@
153 { 3, 0, sys_getresgid, "getresgid" }, /* 372 */
154 { 4, 0, printargs, "dipc" }, /* 373, not implemented */
155 { 2, TF, sys_pivotroot, "pivot_root" }, /* 374 */
156- { 3, 0, sys_mincore, "mincore" }, /* 375 */
157+ { 3, TM, sys_mincore, "mincore" }, /* 375 */
158 { 3, 0, printargs, "pciconfig_iobase" }, /* 376 */
159 { 3, TD, sys_getdents64, "getdents64" }, /* 377 */
160 { 0, 0, sys_gettid, "gettid" }, /* 378 */
161@@ -436,7 +436,7 @@
162 { 1, TD, sys_epoll_create, "epoll_create" }, /* 407 */
163 { 4, TD, sys_epoll_ctl, "epoll_ctl" }, /* 408 */
164 { 4, TD, sys_epoll_wait, "epoll_wait" }, /* 409 */
165- { 5, 0, sys_remap_file_pages, "remap_file_pages" }, /* 410 */
166+ { 5, TM, sys_remap_file_pages, "remap_file_pages" }, /* 410 */
167 { 1, 0, sys_set_tid_address, "set_tid_address" }, /* 411 */
168 { 0, 0, sys_restart_syscall, "restart_syscall" }, /* 412 */
169 { 4, TD, printargs, "fadvise" }, /* 413 */
170@@ -455,9 +455,9 @@
171 { 2, TF, sys_lstat64, "lstat64" }, /* 426 */
172 { 2, TD, sys_fstat64, "fstat64" }, /* 427 */
173 { 5, 0, sys_vserver, "vserver" }, /* 428 ??? */
174- { 5, 0, printargs, "mbind" }, /* 429 ??? */
175- { 5, 0, printargs, "get_mempolicy" }, /* 430 ??? */
176- { 5, 0, printargs, "set_mempolicy" }, /* 431 ??? */
177+ { 5, TM, printargs, "mbind" }, /* 429 ??? */
178+ { 5, TM, printargs, "get_mempolicy" }, /* 430 ??? */
179+ { 5, TM, printargs, "set_mempolicy" }, /* 431 ??? */
180 { 4, 0, sys_mq_open, "mq_open" }, /* 432 */
181 { 1, 0, sys_mq_unlink, "mq_unlink" }, /* 433 */
182 { 5, 0, sys_mq_timedsend, "mq_timedsend" }, /* 434 */
183@@ -475,7 +475,7 @@
184 { 2, TD, sys_inotify_rm_watch, "inotify_rm_watch" }, /* 446 */
185 { 1, TD, sys_fdatasync, "fdatasync" }, /* 447 */
186 { 4, 0, sys_kexec_load, "kexec_load" }, /* 448 */
187- { 4, 0, sys_migrate_pages, "migrate_pages" }, /* 449 */
188+ { 4, TM, sys_migrate_pages, "migrate_pages" }, /* 449 */
189 { 4, TD|TF, sys_openat, "openat" }, /* 450 */
190 { 3, TD|TF, sys_mkdirat, "mkdirat" }, /* 451 */
191 { 4, TD|TF, sys_mknodat, "mknodat" }, /* 452 */
192@@ -498,7 +498,7 @@
193 { 4, TD, sys_sync_file_range, "sync_file_range" }, /* 469 */
194 { 4, TD, sys_tee, "tee" }, /* 470 */
195 { 4, TD, sys_vmsplice, "vmsplice" }, /* 471 */
196- { 6, 0, sys_move_pages, "move_pages" }, /* 472 */
197+ { 6, TM, sys_move_pages, "move_pages" }, /* 472 */
198 { 3, 0, sys_getcpu, "getcpu" }, /* 473 */
199 { 6, TD, sys_epoll_pwait, "epoll_pwait" }, /* 474 */
200 { 4, TD|TF, sys_utimensat, "utimensat" }, /* 475 */
201diff --git a/linux/arm/syscallent.h b/linux/arm/syscallent.h
202index 550335e..9b8da02 100644
203--- a/linux/arm/syscallent.h
204+++ b/linux/arm/syscallent.h
205@@ -43,7 +43,7 @@
206 { 3, TF, sys_mknod, "mknod" }, /* 14 */
207 { 2, TF, sys_chmod, "chmod" }, /* 15 */
208 { 3, TF, sys_chown, "lchown" }, /* 16 */
209- { 0, 0, sys_break, "break" }, /* 17 */
210+ { 0, TM, sys_break, "break" }, /* 17 */
211 { 2, TF, sys_oldstat, "oldstat" }, /* 18 */
212 { 3, 0, sys_lseek, "lseek" }, /* 19 */
213 { 0, 0, sys_getpid, "getpid" }, /* 20 */
214@@ -71,7 +71,7 @@
215 { 1, 0, sys_pipe, "pipe" }, /* 42 */
216 { 1, 0, sys_times, "times" }, /* 43 */
217 { 0, 0, sys_prof, "prof" }, /* 44 */
218- { 1, 0, sys_brk, "brk" }, /* 45 */
219+ { 1, TM, sys_brk, "brk" }, /* 45 */
220 { 1, 0, sys_setgid, "setgid" }, /* 46 */
221 { 0, NF, sys_getgid, "getgid" }, /* 47 */
222 { 3, TS, sys_signal, "signal" }, /* 48 */
223@@ -116,8 +116,8 @@
224 { 2, TF, sys_swapon, "swapon" }, /* 87 */
225 { 4, 0, sys_reboot, "reboot" }, /* 88 */
226 { 3, 0, sys_readdir, "readdir" }, /* 89 */
227- { 6, TD, sys_old_mmap, "old_mmap" }, /* 90 */
228- { 2, 0, sys_munmap, "munmap" }, /* 91 */
229+ { 6, TD|TM, sys_old_mmap, "old_mmap" }, /* 90 */
230+ { 2, TM, sys_munmap, "munmap" }, /* 91 */
231 { 2, TF, sys_truncate, "truncate" }, /* 92 */
232 { 2, 0, sys_ftruncate, "ftruncate" }, /* 93 */
233 { 2, 0, sys_fchmod, "fchmod" }, /* 94 */
234@@ -151,7 +151,7 @@
235 { 1, 0, sys_uname, "uname" }, /* 122 */
236 { 3, 0, sys_modify_ldt, "modify_ldt" }, /* 123 */
237 { 1, 0, sys_adjtimex, "adjtimex" }, /* 124 */
238- { 3, 0, sys_mprotect, "mprotect" }, /* 125 */
239+ { 3, TM, sys_mprotect, "mprotect" }, /* 125 */
240 { 3, TS, sys_sigprocmask, "sigprocmask" }, /* 126 */
241 { 2, 0, sys_create_module, "create_module" }, /* 127 */
242 { 3, 0, sys_init_module, "init_module" }, /* 128 */
243@@ -170,16 +170,16 @@
244 { 3, 0, sys_getdents, "getdents" }, /* 141 */
245 { 5, 0, sys_select, "select" }, /* 142 */
246 { 2, 0, sys_flock, "flock" }, /* 143 */
247- { 3, 0, sys_msync, "msync" }, /* 144 */
248+ { 3, TM, sys_msync, "msync" }, /* 144 */
249 { 3, 0, sys_readv, "readv" }, /* 145 */
250 { 3, 0, sys_writev, "writev" }, /* 146 */
251 { 1, 0, sys_getsid, "getsid" }, /* 147 */
252 { 1, 0, sys_fdatasync, "fdatasync" }, /* 148 */
253 { 1, 0, sys_sysctl, "_sysctl" }, /* 149 */
254- { 2, 0, sys_mlock, "mlock" }, /* 150 */
255- { 2, 0, sys_munlock, "munlock" }, /* 151 */
256- { 1, 0, sys_mlockall, "mlockall" }, /* 152 */
257- { 0, 0, sys_munlockall, "munlockall" }, /* 153 */
258+ { 2, TM, sys_mlock, "mlock" }, /* 150 */
259+ { 2, TM, sys_munlock, "munlock" }, /* 151 */
260+ { 1, TM, sys_mlockall, "mlockall" }, /* 152 */
261+ { 0, TM, sys_munlockall, "munlockall" }, /* 153 */
262 { 0, 0, sys_sched_setparam, "sched_setparam"}, /* 154 */
263 { 2, 0, sys_sched_getparam, "sched_getparam"}, /* 155 */
264 { 3, 0, sys_sched_setscheduler, "sched_setscheduler"}, /* 156 */
265@@ -189,7 +189,7 @@
266 { 1, 0, sys_sched_get_priority_min,"sched_get_priority_min"}, /* 160 */
267 { 2, 0, sys_sched_rr_get_interval,"sched_rr_get_interval"}, /* 161 */
268 { 2, 0, sys_nanosleep, "nanosleep" }, /* 162 */
269- { 5, 0, sys_mremap, "mremap" }, /* 163 */
270+ { 5, TM, sys_mremap, "mremap" }, /* 163 */
271 { 3, 0, sys_setresuid, "setresuid" }, /* 164 */
272 { 3, 0, sys_getresuid, "getresuid" }, /* 165 */
273 { 5, 0, sys_vm86, "vm86" }, /* 166 */
274@@ -219,7 +219,7 @@
275 { 5, 0, sys_putpmsg, "putpmsg" }, /* 189 */
276 { 0, TP, sys_vfork, "vfork" }, /* 190 */
277 { 2, 0, sys_getrlimit, "getrlimit" }, /* 191 */
278- { 6, TD, sys_mmap, "mmap2" }, /* 192 */
279+ { 6, TD|TM, sys_mmap, "mmap2" }, /* 192 */
280 { 4, TF, sys_truncate64, "truncate64" }, /* 193 */
281 { 4, TF, sys_ftruncate64, "ftruncate64" }, /* 194 */
282 { 2, TF, sys_stat64, "stat64" }, /* 195 */
283@@ -247,8 +247,8 @@
284 { 1, NF, sys_setfsgid, "setfsgid32" }, /* 216 */
285 { 3, 0, sys_getdents64, "getdents64" }, /* 217 */
286 { 2, TF, sys_pivotroot, "pivot_root" }, /* 218 */
287- { 3, 0, sys_mincore, "mincore" }, /* 219 */
288- { 3, 0, sys_madvise, "madvise" }, /* 220 */
289+ { 3, TM, sys_mincore, "mincore" }, /* 219 */
290+ { 3, TM, sys_madvise, "madvise" }, /* 220 */
291 { 3, 0, sys_fcntl, "fcntl64" }, /* 221 */
292 { 5, 0, NULL, NULL }, /* 222 */
293 { 5, 0, NULL, NULL }, /* 223 */
294@@ -281,7 +281,7 @@
295 { 1, TD, sys_epoll_create, "epoll_create" }, /* 250 */
296 { 4, TD, sys_epoll_ctl, "epoll_ctl" }, /* 251 */
297 { 4, TD, sys_epoll_wait, "epoll_wait" }, /* 252 */
298- { 5, 0, sys_remap_file_pages, "remap_file_pages"}, /* 253 */
299+ { 5, TM, sys_remap_file_pages, "remap_file_pages"}, /* 253 */
300 { 5, 0, NULL, NULL }, /* 254 */
301 { 5, 0, NULL, NULL }, /* 255 */
302 { 1, 0, sys_set_tid_address, "set_tid_address"}, /* 256 */
303@@ -347,9 +347,9 @@
304 { 0, TD, sys_inotify_init, "inotify_init" }, /* 316 */
305 { 3, TD, sys_inotify_add_watch, "inotify_add_watch" }, /* 317 */
306 { 2, TD, sys_inotify_rm_watch, "inotify_rm_watch" }, /* 318 */
307- { 6, 0, sys_mbind, "mbind" }, /* 319 */
308- { 3, 0, sys_set_mempolicy, "set_mempolicy" }, /* 320 */
309- { 5, 0, sys_get_mempolicy, "get_mempolicy" }, /* 321 */
310+ { 6, TM, sys_mbind, "mbind" }, /* 319 */
311+ { 3, TM, sys_set_mempolicy, "set_mempolicy" }, /* 320 */
312+ { 5, TM, sys_get_mempolicy, "get_mempolicy" }, /* 321 */
313 { 4, TD|TF, sys_openat, "openat" }, /* 322 */
314 { 3, TD|TF, sys_mkdirat, "mkdirat" }, /* 323 */
315 { 4, TD|TF, sys_mknodat, "mknodat" }, /* 324 */
316@@ -372,7 +372,7 @@
317 { 5, 0, NULL, NULL }, /* 341 */
318 { 4, TD, sys_tee, "tee" }, /* 342 */
319 { 4, TD, sys_vmsplice, "vmsplice" }, /* 343 */
320- { 6, 0, sys_move_pages, "move_pages" }, /* 344 */
321+ { 6, TM, sys_move_pages, "move_pages" }, /* 344 */
322 { 3, 0, sys_getcpu, "getcpu" }, /* 345 */
323 { 6, TD, sys_epoll_pwait, "epoll_pwait" }, /* 346 */
324 { 4, 0, sys_kexec_load, "kexec_load" }, /* 347 */
325diff --git a/linux/avr32/syscallent.h b/linux/avr32/syscallent.h
326index 102b17d..6076fca 100644
327--- a/linux/avr32/syscallent.h
328+++ b/linux/avr32/syscallent.h
329@@ -70,7 +70,7 @@
330 { 1, TD, sys_pipe, "pipe" }, /* 42 */
331 { 1, 0, sys_times, "times" }, /* 43 */
332 { 5, TP, sys_clone, "clone" }, /* 44 */
333- { 1, 0, sys_brk, "brk" }, /* 45 */
334+ { 1, TM, sys_brk, "brk" }, /* 45 */
335 { 1, 0, sys_setgid, "setgid" }, /* 46 */
336 { 0, NF, sys_getgid, "getgid" }, /* 47 */
337 { 2, TF, sys_getcwd, "getcwd" }, /* 48 */
338@@ -82,7 +82,7 @@
339 { 3, TD, sys_ioctl, "ioctl" }, /* 54 */
340 { 3, TD, sys_fcntl, "fcntl" }, /* 55 */
341 { 2, 0, sys_setpgid, "setpgid" }, /* 56 */
342- { 5, 0, sys_mremap, "mremap" }, /* 57 */
343+ { 5, TM, sys_mremap, "mremap" }, /* 57 */
344 { 3, 0, sys_setresuid, "setresuid" }, /* 58 */
345 { 3, 0, sys_getresuid, "getresuid" }, /* 59 */
346 { 2, 0, sys_setreuid, "setreuid" }, /* 60 */
347@@ -115,8 +115,8 @@
348 { 5, TD, sys_pwrite, "pwrite" }, /* 87 */
349 { 2, TF, sys_swapon, "swapon" }, /* 88 */
350 { 4, 0, sys_reboot, "reboot" }, /* 89 */
351- { 6, TD, sys_mmap, "mmap" }, /* 90 */
352- { 2, 0, sys_munmap, "munmap" }, /* 91 */
353+ { 6, TD|TM, sys_mmap, "mmap" }, /* 90 */
354+ { 2, TM, sys_munmap, "munmap" }, /* 91 */
355 { 2, TF, sys_truncate, "truncate" }, /* 92 */
356 { 2, TD, sys_ftruncate, "ftruncate" }, /* 93 */
357 { 2, TD, sys_fchmod, "fchmod" }, /* 94 */
358@@ -138,7 +138,7 @@
359 { 2, 0, sys_setdomainname, "setdomainname" }, /* 110 */
360 { 1, 0, sys_uname, "uname" }, /* 111 */
361 { 1, 0, sys_adjtimex, "adjtimex" }, /* 112 */
362- { 3, 0, sys_mprotect, "mprotect" }, /* 113 */
363+ { 3, TM, sys_mprotect, "mprotect" }, /* 113 */
364 { 0, TP, sys_vfork, "vfork" }, /* 114 */
365 { 3, 0, sys_init_module, "init_module" }, /* 115 */
366 { 2, 0, sys_delete_module, "delete_module" }, /* 116 */
367@@ -150,16 +150,16 @@
368 { 5, 0, sys_afs_syscall, "afs_syscall" }, /* 122 */
369 { 3, TD, sys_getdents, "getdents" }, /* 123 */
370 { 2, TD, sys_flock, "flock" }, /* 124 */
371- { 3, 0, sys_msync, "msync" }, /* 125 */
372+ { 3, TM, sys_msync, "msync" }, /* 125 */
373 { 3, TD, sys_readv, "readv" }, /* 126 */
374 { 3, TD, sys_writev, "writev" }, /* 127 */
375 { 1, 0, sys_getsid, "getsid" }, /* 128 */
376 { 1, TD, sys_fdatasync, "fdatasync" }, /* 129 */
377 { 1, 0, sys_sysctl, "_sysctl" }, /* 130 */
378- { 2, 0, sys_mlock, "mlock" }, /* 131 */
379- { 2, 0, sys_munlock, "munlock" }, /* 132 */
380- { 1, 0, sys_mlockall, "mlockall" }, /* 133 */
381- { 0, 0, sys_munlockall, "munlockall" }, /* 134 */
382+ { 2, TM, sys_mlock, "mlock" }, /* 131 */
383+ { 2, TM, sys_munlock, "munlock" }, /* 132 */
384+ { 1, TM, sys_mlockall, "mlockall" }, /* 133 */
385+ { 0, TM, sys_munlockall, "munlockall" }, /* 134 */
386 { 0, 0, sys_sched_setparam, "sched_setparam"}, /* 135 */
387 { 2, 0, sys_sched_getparam, "sched_getparam"}, /* 136 */
388 { 3, 0, sys_sched_setscheduler, "sched_setscheduler"}, /* 137 */
389@@ -197,8 +197,8 @@
390 { 2, TF, sys_lstat64, "lstat64" }, /* 169 */
391 { 2, TD, sys_fstat64, "fstat64" }, /* 170 */
392 { 2, TF, sys_pivotroot, "pivot_root" }, /* 171 */
393- { 3, 0, sys_mincore, "mincore" }, /* 172 */
394- { 3, 0, sys_madvise, "madvise" }, /* 173 */
395+ { 3, TM, sys_mincore, "mincore" }, /* 172 */
396+ { 3, TM, sys_madvise, "madvise" }, /* 173 */
397 { 3, TD, sys_getdents64, "getdents64" }, /* 174 */
398 { 3, TD, sys_fcntl, "fcntl64" }, /* 175 */
399 { 0, 0, sys_gettid, "gettid" }, /* 176 */
400@@ -233,7 +233,7 @@
401 { 1, TD, sys_epoll_create, "epoll_create" }, /* 205 */
402 { 4, TD, sys_epoll_ctl, "epoll_ctl" }, /* 206 */
403 { 4, TD, sys_epoll_wait, "epoll_wait" }, /* 207 */
404- { 5, 0, sys_remap_file_pages, "remap_file_pages"}, /* 208 */
405+ { 5, TM, sys_remap_file_pages, "remap_file_pages"}, /* 208 */
406 { 1, 0, sys_set_tid_address, "set_tid_address"}, /* 209 */
407 { 3, 0, sys_timer_create, "timer_create" }, /* 210 */
408 { 4, 0, sys_timer_settime, "timer_settime" }, /* 211 */
409diff --git a/linux/bfin/syscallent.h b/linux/bfin/syscallent.h
410index 1ecab75..7a9e618 100644
411--- a/linux/bfin/syscallent.h
412+++ b/linux/bfin/syscallent.h
413@@ -43,7 +43,7 @@
414 { 3, TF, sys_mknod, "mknod" }, /* 14 */
415 { 2, TF, sys_chmod, "chmod" }, /* 15 */
416 { 3, TF, sys_chown, "chown" }, /* 16 */
417- { 0, 0, sys_break, "break" }, /* 17 */
418+ { 0, TM, sys_break, "break" }, /* 17 */
419 { 2, TF, sys_oldstat, "oldstat" }, /* 18 */
420 { 3, TD, sys_lseek, "lseek" }, /* 19 */
421 { 0, 0, sys_getpid, "getpid" }, /* 20 */
422@@ -71,7 +71,7 @@
423 { 1, TD, sys_pipe, "pipe" }, /* 42 */
424 { 1, 0, sys_times, "times" }, /* 43 */
425 { 0, 0, sys_prof, "prof" }, /* 44 */
426- { 1, 0, sys_brk, "brk" }, /* 45 */
427+ { 1, TM, sys_brk, "brk" }, /* 45 */
428 { 1, 0, sys_setgid, "setgid" }, /* 46 */
429 { 0, NF, sys_getgid, "getgid" }, /* 47 */
430 { 3, TS, sys_signal, "signal" }, /* 48 */
431@@ -116,8 +116,8 @@
432 { 2, TF, sys_swapon, "swapon" }, /* 87 */
433 { 4, 0, sys_reboot, "reboot" }, /* 88 */
434 { 3, TD, sys_readdir, "readdir" }, /* 89 */
435- { 6, TD, sys_old_mmap, "old_mmap" }, /* 90 */
436- { 2, 0, sys_munmap, "munmap" }, /* 91 */
437+ { 6, TD|TM, sys_old_mmap, "old_mmap" }, /* 90 */
438+ { 2, TM, sys_munmap, "munmap" }, /* 91 */
439 { 2, TF, sys_truncate, "truncate" }, /* 92 */
440 { 2, TD, sys_ftruncate, "ftruncate" }, /* 93 */
441 { 2, TD, sys_fchmod, "fchmod" }, /* 94 */
442@@ -151,7 +151,7 @@
443 { 1, 0, sys_uname, "uname" }, /* 122 */
444 { 3, 0, sys_modify_ldt, "modify_ldt" }, /* 123 */
445 { 1, 0, sys_adjtimex, "adjtimex" }, /* 124 */
446- { 3, 0, sys_mprotect, "mprotect" }, /* 125 */
447+ { 3, TM, sys_mprotect, "mprotect" }, /* 125 */
448 { 3, TS, sys_sigprocmask, "sigprocmask" }, /* 126 */
449 { 2, 0, sys_create_module, "create_module" }, /* 127 */
450 { 3, 0, sys_init_module, "init_module" }, /* 128 */
451@@ -170,16 +170,16 @@
452 { 3, TD, sys_getdents, "getdents" }, /* 141 */
453 { 5, TD, sys_select, "select" }, /* 142 */
454 { 2, TD, sys_flock, "flock" }, /* 143 */
455- { 3, 0, sys_msync, "msync" }, /* 144 */
456+ { 3, TM, sys_msync, "msync" }, /* 144 */
457 { 3, TD, sys_readv, "readv" }, /* 145 */
458 { 3, TD, sys_writev, "writev" }, /* 146 */
459 { 1, 0, sys_getsid, "getsid" }, /* 147 */
460 { 1, TD, sys_fdatasync, "fdatasync" }, /* 148 */
461 { 1, 0, sys_sysctl, "_sysctl" }, /* 149 */
462- { 2, 0, sys_mlock, "mlock" }, /* 150 */
463- { 2, 0, sys_munlock, "munlock" }, /* 151 */
464- { 1, 0, sys_mlockall, "mlockall" }, /* 152 */
465- { 0, 0, sys_munlockall, "munlockall" }, /* 153 */
466+ { 2, TM, sys_mlock, "mlock" }, /* 150 */
467+ { 2, TM, sys_munlock, "munlock" }, /* 151 */
468+ { 1, TM, sys_mlockall, "mlockall" }, /* 152 */
469+ { 0, TM, sys_munlockall, "munlockall" }, /* 153 */
470 { 0, 0, sys_sched_setparam, "sched_setparam" }, /* 154 */
471 { 2, 0, sys_sched_getparam, "sched_getparam" }, /* 155 */
472 { 3, 0, sys_sched_setscheduler, "sched_setscheduler" }, /* 156 */
473@@ -189,7 +189,7 @@
474 { 1, 0, sys_sched_get_priority_min, "sched_get_priority_min" }, /* 160 */
475 { 2, 0, sys_sched_rr_get_interval, "sched_rr_get_interval" }, /* 161 */
476 { 2, 0, sys_nanosleep, "nanosleep" }, /* 162 */
477- { 5, 0, sys_mremap, "mremap" }, /* 163 */
478+ { 5, TM, sys_mremap, "mremap" }, /* 163 */
479 { 3, 0, sys_setresuid, "setresuid" }, /* 164 */
480 { 3, 0, sys_getresuid, "getresuid" }, /* 165 */
481 { 5, 0, sys_vm86, "vm86" }, /* 166 */
482@@ -218,7 +218,7 @@
483 { 5, 0, sys_putpmsg, "putpmsg" }, /* 189 */
484 { 0, TP, sys_vfork, "vfork" }, /* 190 */
485 { 2, 0, sys_getrlimit, "getrlimit" }, /* 191 */
486- { 6, TD, sys_mmap, "mmap2" }, /* 192 */
487+ { 6, TD|TM, sys_mmap, "mmap2" }, /* 192 */
488 { 3, TF, sys_truncate64, "truncate64" }, /* 193 */
489 { 3, TD, sys_ftruncate64, "ftruncate64" }, /* 194 */
490 { 2, TF, sys_stat64, "stat64" }, /* 195 */
491@@ -244,8 +244,8 @@
492 { 1, NF, sys_setfsuid, "setfsuid32" }, /* 215 */
493 { 1, NF, sys_setfsgid, "setfsgid32" }, /* 216 */
494 { 2, TF, sys_pivotroot, "pivot_root" }, /* 217 */
495- { 3, 0, sys_mincore, "mincore" }, /* 218 */
496- { 3, 0, sys_madvise, "madvise" }, /* 219 */
497+ { 3, TM, sys_mincore, "mincore" }, /* 218 */
498+ { 3, TM, sys_madvise, "madvise" }, /* 219 */
499 { 3, TD, sys_getdents64, "getdents64" }, /* 220 */
500 { 3, TD, sys_fcntl, "fcntl64" }, /* 221 */
501 { 4, 0, NULL, NULL }, /* 222 */
502@@ -284,7 +284,7 @@
503 { 1, TD, sys_epoll_create, "epoll_create" }, /* 255 */
504 { 4, TD, sys_epoll_ctl, "epoll_ctl" }, /* 256 */
505 { 4, TD, sys_epoll_wait, "epoll_wait" }, /* 257 */
506- { 5, 0, sys_remap_file_pages, "remap_file_pages" }, /* 258 */
507+ { 5, TM, sys_remap_file_pages, "remap_file_pages" }, /* 258 */
508 { 1, 0, sys_set_tid_address, "set_tid_address" }, /* 259 */
509 { 3, 0, sys_timer_create, "timer_create" }, /* 260 */
510 { 4, 0, sys_timer_settime, "timer_settime" }, /* 261 */
511@@ -301,9 +301,9 @@
512 { 2, TF, sys_utimes, "utimes" }, /* 272 */
513 { 6, TD, sys_fadvise64_64, "fadvise64_64" }, /* 273 */
514 { 5, 0, sys_vserver, "vserver" }, /* 274 */
515- { 6, 0, sys_mbind, "mbind" }, /* 275 */
516- { 5, 0, sys_get_mempolicy, "get_mempolicy" }, /* 276 */
517- { 3, 0, sys_set_mempolicy, "set_mempolicy" }, /* 277 */
518+ { 6, TM, sys_mbind, "mbind" }, /* 275 */
519+ { 5, TM, sys_get_mempolicy, "get_mempolicy" }, /* 276 */
520+ { 3, TM, sys_set_mempolicy, "set_mempolicy" }, /* 277 */
521 { 4, 0, sys_mq_open, "mq_open" }, /* 278 */
522 { 1, 0, sys_mq_unlink, "mq_unlink" }, /* 279 */
523 { 5, 0, sys_mq_timedsend, "mq_timedsend" }, /* 280 */
524@@ -320,7 +320,7 @@
525 { 0, TD, sys_inotify_init, "inotify_init" }, /* 291 */
526 { 3, TD, sys_inotify_add_watch, "inotify_add_watch" }, /* 292 */
527 { 2, TD, sys_inotify_rm_watch, "inotify_rm_watch" }, /* 293 */
528- { 4, 0, sys_migrate_pages, "migrate_pages" }, /* 294 */
529+ { 4, TM, sys_migrate_pages, "migrate_pages" }, /* 294 */
530 { 4, TD|TF, sys_openat, "openat" }, /* 295 */
531 { 3, TD|TF, sys_mkdirat, "mkdirat" }, /* 296 */
532 { 4, TD|TF, sys_mknodat, "mknodat" }, /* 297 */
533diff --git a/linux/hppa/syscallent.h b/linux/hppa/syscallent.h
534index c16eecb..f21d0c3 100644
535--- a/linux/hppa/syscallent.h
536+++ b/linux/hppa/syscallent.h
537@@ -47,7 +47,7 @@
538 { 1, TD, sys_pipe, "pipe" }, /* 42 */
539 { 1, 0, sys_times, "times" }, /* 43 */
540 { 3, TN, sys_getsockname, "getsockname" }, /* 44 */
541- { 1, 0, sys_brk, "brk" }, /* 45 */
542+ { 1, TM, sys_brk, "brk" }, /* 45 */
543 { 1, 0, sys_setgid, "setgid" }, /* 46 */
544 { 0, NF, sys_getgid, "getgid" }, /* 47 */
545 { 2, 0, sys_signal, "signal" }, /* 48 */
546@@ -74,7 +74,7 @@
547 { 1, TS, sys_sigsetmask, "ssetmask" }, /* 69 */
548 { 2, 0, sys_setreuid, "setreuid" }, /* 70 */
549 { 2, 0, sys_setregid, "setregid" }, /* 71 */
550- { 3, 0, sys_mincore, "mincore" }, /* 72 */
551+ { 3, TM, sys_mincore, "mincore" }, /* 72 */
552 { 1, TS, sys_sigpending, "sigpending" }, /* 73 */
553 { 2, 0, sys_sethostname, "sethostname" }, /* 74 */
554 { 2, 0, sys_setrlimit, "setrlimit" }, /* 75 */
555@@ -91,9 +91,9 @@
556 { 1, 0, sys_uselib, "uselib" }, /* 86 */
557 { 2, TF, sys_swapon, "swapon" }, /* 87 */
558 { 4, 0, sys_reboot, "reboot" }, /* 88 */
559- { 6, TD, sys_mmap, "mmap2" }, /* 89 */
560- { 6, TD, sys_mmap, "mmap" }, /* 90 */
561- { 2, 0, sys_munmap, "munmap" }, /* 91 */
562+ { 6, TD|TM, sys_mmap, "mmap2" }, /* 89 */
563+ { 6, TD|TM, sys_mmap, "mmap" }, /* 90 */
564+ { 2, TM, sys_munmap, "munmap" }, /* 91 */
565 { 2, TF, sys_truncate, "truncate" }, /* 92 */
566 { 2, TD, sys_ftruncate, "ftruncate" }, /* 93 */
567 { 2, TD, sys_fchmod, "fchmod" }, /* 94 */
568@@ -121,13 +121,13 @@
569 { 1, 0, sys_sysinfo, "sysinfo" }, /* 116 */
570 { 2, TN, sys_shutdown, "shutdown" }, /* 117 */
571 { 1, TD, sys_fsync, "fsync" }, /* 118 */
572- { 3, 0, sys_madvise, "madvise" }, /* 119 */
573+ { 3, TM, sys_madvise, "madvise" }, /* 119 */
574 { 5, TP, sys_clone, "clone" }, /* 120 */
575 { 2, 0, sys_setdomainname, "setdomainname" }, /* 121 */
576 { 4, TD|TN, sys_sendfile, "sendfile" }, /* 122 */
577 { 6, TN, sys_recvfrom, "recvfrom" }, /* 123 */
578 { 1, 0, sys_adjtimex, "adjtimex" }, /* 124 */
579- { 3, 0, sys_mprotect, "mprotect" }, /* 125 */
580+ { 3, TM, sys_mprotect, "mprotect" }, /* 125 */
581 { 3, TS, sys_sigprocmask, "sigprocmask" }, /* 126 */
582 { 2, 0, sys_create_module, "create_module" }, /* 127 */
583 { 4, 0, sys_init_module, "init_module" }, /* 128 */
584@@ -146,16 +146,16 @@
585 { 3, TD, sys_getdents, "getdents" }, /* 141 */
586 { 5, TD, sys_select, "_newselect" }, /* 142 */
587 { 2, TD, sys_flock, "flock" }, /* 143 */
588- { 3, 0, sys_msync, "msync" }, /* 144 */
589+ { 3, TM, sys_msync, "msync" }, /* 144 */
590 { 3, TD, sys_readv, "readv" }, /* 145 */
591 { 3, TD, sys_writev, "writev" }, /* 146 */
592 { 1, 0, sys_getsid, "getsid" }, /* 147 */
593 { 1, TD, sys_fdatasync, "fdatasync" }, /* 148 */
594 { 1, 0, sys_sysctl, "_sysctl" }, /* 149 */
595- { 2, 0, sys_mlock, "mlock" }, /* 150 */
596- { 2, 0, sys_munlock, "munlock" }, /* 151 */
597- { 1, 0, sys_mlockall, "mlockall" }, /* 152 */
598- { 1, 0, sys_munlockall, "munlockall" }, /* 153 */
599+ { 2, TM, sys_mlock, "mlock" }, /* 150 */
600+ { 2, TM, sys_munlock, "munlock" }, /* 151 */
601+ { 1, TM, sys_mlockall, "mlockall" }, /* 152 */
602+ { 1, TM, sys_munlockall, "munlockall" }, /* 153 */
603 { 2, 0, sys_sched_setparam, "sched_setparam" }, /* 154 */
604 { 2, 0, sys_sched_getparam, "sched_getparam" }, /* 155 */
605 { 3, 0, sys_sched_setscheduler, "sched_setscheduler" }, /* 156 */
606@@ -165,7 +165,7 @@
607 { 1, 0, sys_sched_get_priority_min,"sched_get_priority_min"}, /* 160 */
608 { 2, 0, sys_sched_rr_get_interval,"sched_rr_get_interval"}, /* 161 */
609 { 2, 0, sys_nanosleep, "nanosleep" }, /* 162 */
610- { 5, 0, sys_mremap, "mremap" }, /* 163 */
611+ { 5, TM, sys_mremap, "mremap" }, /* 163 */
612 { 3, 0, sys_setresuid, "setresuid" }, /* 164 */
613 { 3, 0, sys_setresuid, "getresuid" }, /* 165 */
614 { 2, TS, sys_sigaltstack, "sigaltstack" }, /* 166 */
615@@ -229,7 +229,7 @@
616 { 1, TD, sys_epoll_create, "epoll_create" }, /* 224 */
617 { 4, TD, sys_epoll_ctl, "epoll_ctl" }, /* 225 */
618 { 4, TD, sys_epoll_wait, "epoll_wait" }, /* 226 */
619- { 5, 0, printargs, "remap_file_pages" }, /* 227 */
620+ { 5, TM, printargs, "remap_file_pages" }, /* 227 */
621 { 5, TI, sys_semtimedop, "semtimedop" }, /* 228 */
622 { 5, 0, printargs, "mq_open" }, /* 229 */
623 { 5, 0, printargs, "mq_unlink" }, /* 230 */
624@@ -262,9 +262,9 @@
625 { 2, 0, sys_clock_getres, "clock_getres" }, /* 257 */
626 { 5, 0, printargs, "clock_nanosleep" }, /* 258 */
627 { 3, TS, sys_tgkill, "tgkill" }, /* 259 */
628- { 5, 0, printargs, "mbind" }, /* 260 */
629- { 5, 0, printargs, "get_mempolicy" }, /* 261 */
630- { 5, 0, printargs, "set_mempolicy" }, /* 262 */
631+ { 5, TM, printargs, "mbind" }, /* 260 */
632+ { 5, TM, printargs, "get_mempolicy" }, /* 261 */
633+ { 5, TM, printargs, "set_mempolicy" }, /* 262 */
634 { 5, 0, sys_vserver, "vserver" }, /* 263 */
635 { 5, 0, sys_add_key, "add_key" }, /* 264 */
636 { 4, 0, sys_request_key, "request_key" }, /* 265 */
637@@ -274,7 +274,7 @@
638 { 0, TD, sys_inotify_init, "inotify_init" }, /* 269 */
639 { 3, TD, sys_inotify_add_watch, "inotify_add_watch" }, /* 270 */
640 { 2, TD, sys_inotify_rm_watch, "inotify_rm_watch" }, /* 271 */
641- { 4, 0, sys_migrate_pages, "migrate_pages" }, /* 272 */
642+ { 4, TM, sys_migrate_pages, "migrate_pages" }, /* 272 */
643 { 6, TD, sys_pselect6, "pselect6" }, /* 273 */
644 { 5, TD, sys_ppoll, "ppoll" }, /* 274 */
645 { 4, TD|TF, sys_openat, "openat" }, /* 275 */
646@@ -297,7 +297,7 @@
647 { 4, TD, sys_sync_file_range, "sync_file_range" }, /* 292 */
648 { 4, TD, sys_tee, "tee" }, /* 293 */
649 { 4, TD, sys_vmsplice, "vmsplice" }, /* 294 */
650- { 6, 0, sys_move_pages, "move_pages" }, /* 295 */
651+ { 6, TM, sys_move_pages, "move_pages" }, /* 295 */
652 { 3, 0, sys_getcpu, "getcpu" }, /* 296 */
653 { 6, TD, sys_epoll_pwait, "epoll_pwait" }, /* 297 */
654 { 3, TF, sys_statfs64, "statfs64" }, /* 298 */
655diff --git a/linux/i386/syscallent.h b/linux/i386/syscallent.h
656index 4092f2e..dd76244 100644
657--- a/linux/i386/syscallent.h
658+++ b/linux/i386/syscallent.h
659@@ -43,7 +43,7 @@
660 { 3, TF, sys_mknod, "mknod" }, /* 14 */
661 { 2, TF, sys_chmod, "chmod" }, /* 15 */
662 { 3, TF, sys_chown, "lchown" }, /* 16 */
663- { 0, 0, sys_break, "break" }, /* 17 */
664+ { 0, TM, sys_break, "break" }, /* 17 */
665 { 2, TF, sys_oldstat, "oldstat" }, /* 18 */
666 { 3, TD, sys_lseek, "lseek" }, /* 19 */
667 { 0, 0, sys_getpid, "getpid" }, /* 20 */
668@@ -71,7 +71,7 @@
669 { 1, TD, sys_pipe, "pipe" }, /* 42 */
670 { 1, 0, sys_times, "times" }, /* 43 */
671 { 0, 0, sys_prof, "prof" }, /* 44 */
672- { 1, 0, sys_brk, "brk" }, /* 45 */
673+ { 1, TM, sys_brk, "brk" }, /* 45 */
674 { 1, 0, sys_setgid, "setgid" }, /* 46 */
675 { 0, NF, sys_getgid, "getgid" }, /* 47 */
676 { 3, TS, sys_signal, "signal" }, /* 48 */
677@@ -116,8 +116,8 @@
678 { 2, TF, sys_swapon, "swapon" }, /* 87 */
679 { 4, 0, sys_reboot, "reboot" }, /* 88 */
680 { 3, TD, sys_readdir, "readdir" }, /* 89 */
681- { 6, TD, sys_old_mmap, "old_mmap" }, /* 90 */
682- { 2, 0, sys_munmap, "munmap" }, /* 91 */
683+ { 6, TD|TM, sys_old_mmap, "old_mmap" }, /* 90 */
684+ { 2, TM, sys_munmap, "munmap" }, /* 91 */
685 { 2, TF, sys_truncate, "truncate" }, /* 92 */
686 { 2, TD, sys_ftruncate, "ftruncate" }, /* 93 */
687 { 2, TD, sys_fchmod, "fchmod" }, /* 94 */
688@@ -151,7 +151,7 @@
689 { 1, 0, sys_uname, "uname" }, /* 122 */
690 { 3, 0, sys_modify_ldt, "modify_ldt" }, /* 123 */
691 { 1, 0, sys_adjtimex, "adjtimex" }, /* 124 */
692- { 3, 0, sys_mprotect, "mprotect" }, /* 125 */
693+ { 3, TM, sys_mprotect, "mprotect" }, /* 125 */
694 { 3, TS, sys_sigprocmask, "sigprocmask" }, /* 126 */
695 { 2, 0, sys_create_module, "create_module" }, /* 127 */
696 { 3, 0, sys_init_module, "init_module" }, /* 128 */
697@@ -170,16 +170,16 @@
698 { 3, TD, sys_getdents, "getdents" }, /* 141 */
699 { 5, TD, sys_select, "select" }, /* 142 */
700 { 2, TD, sys_flock, "flock" }, /* 143 */
701- { 3, 0, sys_msync, "msync" }, /* 144 */
702+ { 3, TM, sys_msync, "msync" }, /* 144 */
703 { 3, TD, sys_readv, "readv", }, /* 145 */
704 { 3, TD, sys_writev, "writev", }, /* 146 */
705 { 1, 0, sys_getsid, "getsid" }, /* 147 */
706 { 1, TD, sys_fdatasync, "fdatasync" }, /* 148 */
707 { 1, 0, sys_sysctl, "_sysctl" }, /* 149 */
708- { 2, 0, sys_mlock, "mlock" }, /* 150 */
709- { 2, 0, sys_munlock, "munlock" }, /* 151 */
710- { 1, 0, sys_mlockall, "mlockall" }, /* 152 */
711- { 0, 0, sys_munlockall, "munlockall" }, /* 153 */
712+ { 2, TM, sys_mlock, "mlock" }, /* 150 */
713+ { 2, TM, sys_munlock, "munlock" }, /* 151 */
714+ { 1, TM, sys_mlockall, "mlockall" }, /* 152 */
715+ { 0, TM, sys_munlockall, "munlockall" }, /* 153 */
716 { 0, 0, sys_sched_setparam, "sched_setparam"}, /* 154 */
717 { 2, 0, sys_sched_getparam, "sched_getparam"}, /* 155 */
718 { 3, 0, sys_sched_setscheduler, "sched_setscheduler"}, /* 156 */
719@@ -189,7 +189,7 @@
720 { 1, 0, sys_sched_get_priority_min,"sched_get_priority_min"}, /* 160 */
721 { 2, 0, sys_sched_rr_get_interval,"sched_rr_get_interval"}, /* 161 */
722 { 2, 0, sys_nanosleep, "nanosleep" }, /* 162 */
723- { 5, 0, sys_mremap, "mremap" }, /* 163 */
724+ { 5, TM, sys_mremap, "mremap" }, /* 163 */
725 { 3, 0, sys_setresuid, "setresuid" }, /* 164 */
726 { 3, 0, sys_getresuid, "getresuid" }, /* 165 */
727 { 5, 0, sys_vm86, "vm86" }, /* 166 */
728@@ -219,7 +219,7 @@
729 { 5, 0, sys_putpmsg, "putpmsg" }, /* 189 */
730 { 0, TP, sys_vfork, "vfork" }, /* 190 */
731 { 2, 0, sys_getrlimit, "getrlimit" }, /* 191 */
732- { 6, TD, sys_mmap, "mmap2" }, /* 192 */
733+ { 6, TD|TM, sys_mmap, "mmap2" }, /* 192 */
734 { 3, TF, sys_truncate64, "truncate64" }, /* 193 */
735 { 3, TD, sys_ftruncate64, "ftruncate64" }, /* 194 */
736 { 2, TF, sys_stat64, "stat64" }, /* 195 */
737@@ -246,8 +246,8 @@
738 { 1, NF, sys_setfsuid, "setfsuid32" }, /* 215 */
739 { 1, NF, sys_setfsgid, "setfsgid32" }, /* 216 */
740 { 2, TF, sys_pivotroot, "pivot_root" }, /* 217 */
741- { 3, 0, sys_mincore, "mincore" }, /* 218 */
742- { 3, 0, sys_madvise, "madvise" }, /* 219 */
743+ { 3, TM, sys_mincore, "mincore" }, /* 218 */
744+ { 3, TM, sys_madvise, "madvise" }, /* 219 */
745 { 3, TD, sys_getdents64, "getdents64" }, /* 220 */
746 { 3, TD, sys_fcntl, "fcntl64" }, /* 221 */
747 { 6, 0, NULL, NULL }, /* 222 */
748@@ -285,7 +285,7 @@
749 { 1, TD, sys_epoll_create, "epoll_create" }, /* 254 */
750 { 4, TD, sys_epoll_ctl, "epoll_ctl" }, /* 255 */
751 { 4, TD, sys_epoll_wait, "epoll_wait" }, /* 256 */
752- { 5, 0, sys_remap_file_pages, "remap_file_pages"}, /* 257 */
753+ { 5, TM, sys_remap_file_pages, "remap_file_pages"}, /* 257 */
754 { 1, 0, sys_set_tid_address, "set_tid_address"}, /* 258 */
755 { 3, 0, sys_timer_create, "timer_create" }, /* 259 */
756 { 4, 0, sys_timer_settime, "timer_settime" }, /* 260 */
757@@ -302,9 +302,9 @@
758 { 2, TF, sys_utimes, "utimes" }, /* 271 */
759 { 6, TD, sys_fadvise64_64, "fadvise64_64" }, /* 272 */
760 { 5, 0, sys_vserver, "vserver" }, /* 273 */
761- { 6, 0, sys_mbind, "mbind" }, /* 274 */
762- { 5, 0, sys_get_mempolicy, "get_mempolicy" }, /* 275 */
763- { 3, 0, sys_set_mempolicy, "set_mempolicy" }, /* 276 */
764+ { 6, TM, sys_mbind, "mbind" }, /* 274 */
765+ { 5, TM, sys_get_mempolicy, "get_mempolicy" }, /* 275 */
766+ { 3, TM, sys_set_mempolicy, "set_mempolicy" }, /* 276 */
767 { 4, 0, sys_mq_open, "mq_open" }, /* 277 */
768 { 1, 0, sys_mq_unlink, "mq_unlink" }, /* 278 */
769 { 5, 0, sys_mq_timedsend, "mq_timedsend" }, /* 279 */
770@@ -322,7 +322,7 @@
771 { 0, TD, sys_inotify_init, "inotify_init" }, /* 291 */
772 { 3, TD, sys_inotify_add_watch, "inotify_add_watch" }, /* 292 */
773 { 2, TD, sys_inotify_rm_watch, "inotify_rm_watch" }, /* 293 */
774- { 4, 0, sys_migrate_pages, "migrate_pages" }, /* 294 */
775+ { 4, TM, sys_migrate_pages, "migrate_pages" }, /* 294 */
776 { 4, TD|TF, sys_openat, "openat" }, /* 295 */
777 { 3, TD|TF, sys_mkdirat, "mkdirat" }, /* 296 */
778 { 4, TD|TF, sys_mknodat, "mknodat" }, /* 297 */
779@@ -345,7 +345,7 @@
780 { 4, TD, sys_sync_file_range, "sync_file_range" }, /* 314 */
781 { 4, TD, sys_tee, "tee" }, /* 315 */
782 { 4, TD, sys_vmsplice, "vmsplice" }, /* 316 */
783- { 6, 0, sys_move_pages, "move_pages" }, /* 317 */
784+ { 6, TM, sys_move_pages, "move_pages" }, /* 317 */
785 { 3, 0, sys_getcpu, "getcpu" }, /* 318 */
786 { 6, TD, sys_epoll_pwait, "epoll_pwait" }, /* 319 */
787 { 4, TD|TF, sys_utimensat, "utimensat" }, /* 320 */
788diff --git a/linux/ia64/syscallent.h b/linux/ia64/syscallent.h
789index 0dd18f0..bbdfc36 100644
790--- a/linux/ia64/syscallent.h
791+++ b/linux/ia64/syscallent.h
792@@ -848,7 +848,7 @@
793 { 1, TD, sys_dup, "dup" }, /* 1057 */
794 { 1, TD, sys_pipe, "pipe" }, /* 1058 */
795 { 1, 0, sys_times, "times" }, /* 1059 */
796- { 1, 0, sys_brk, "brk" }, /* 1060 */
797+ { 1, TM, sys_brk, "brk" }, /* 1060 */
798 { 1, 0, sys_setgid, "setgid" }, /* 1061 */
799 { 0, NF, sys_getgid, "getgid" }, /* 1062 */
800 { 0, NF, sys_getegid, "getegid" }, /* 1063 */
801@@ -939,15 +939,15 @@
802 { 4, TD, sys_pread, "pread" }, /* 1148 */
803 { 4, TD, sys_pwrite, "pwrite" }, /* 1149 */
804 { 1, 0, printargs, "_sysctl" }, /* 1150 */
805- { 6, TD, sys_mmap, "mmap" }, /* 1151 */
806- { 2, 0, sys_munmap, "munmap" }, /* 1152 */
807- { 2, 0, sys_mlock, "mlock" }, /* 1153 */
808- { 1, 0, sys_mlockall, "mlockall" }, /* 1154 */
809- { 3, 0, sys_mprotect, "mprotect" }, /* 1155 */
810- { 5, 0, sys_mremap, "mremap" }, /* 1156 */
811- { 3, 0, sys_msync, "msync" }, /* 1157 */
812- { 2, 0, sys_munlock, "munlock" }, /* 1158 */
813- { 0, 0, sys_munlockall, "munlockall" }, /* 1159 */
814+ { 6, TD|TM, sys_mmap, "mmap" }, /* 1151 */
815+ { 2, TM, sys_munmap, "munmap" }, /* 1152 */
816+ { 2, TM, sys_mlock, "mlock" }, /* 1153 */
817+ { 1, TM, sys_mlockall, "mlockall" }, /* 1154 */
818+ { 3, TM, sys_mprotect, "mprotect" }, /* 1155 */
819+ { 5, TM, sys_mremap, "mremap" }, /* 1156 */
820+ { 3, TM, sys_msync, "msync" }, /* 1157 */
821+ { 2, TM, sys_munlock, "munlock" }, /* 1158 */
822+ { 0, TM, sys_munlockall, "munlockall" }, /* 1159 */
823 { 2, 0, sys_sched_getparam, "sched_getparam"}, /* 1160 */
824 { 2, 0, sys_sched_setparam, "sched_setparam"}, /* 1161 */
825 { 2, 0, sys_sched_getscheduler, "sched_getscheduler"}, /* 1162 */
826@@ -960,7 +960,7 @@
827 { 3, 0, sys_nfsservctl, "nfsservctl" }, /* 1169 */
828 { 5, 0, sys_prctl, "prctl" }, /* 1170 */
829 { 1, 0, sys_getpagesize, "getpagesize" }, /* 1171 */
830- { 6, TD, sys_mmap, "mmap2" }, /* 1172 */
831+ { 6, TD|TM, sys_mmap, "mmap2" }, /* 1172 */
832 { 5, 0, printargs, "pciconfig_read"}, /* 1173 */
833 { 5, 0, printargs, "pciconfig_write"}, /* 1174 */
834 { MA, 0, printargs, "perfmonctl" }, /* 1175 */
835@@ -996,8 +996,8 @@
836 { 3, TN, sys_sendmsg, "sendmsg" }, /* 1205 */
837 { 3, TN, sys_recvmsg, "recvmsg" }, /* 1206 */
838 { 2, TF, sys_pivotroot, "pivot_root" }, /* 1207 */
839- { 3, 0, sys_mincore, "mincore" }, /* 1208 */
840- { 3, 0, sys_madvise, "madvise" }, /* 1209 */
841+ { 3, TM, sys_mincore, "mincore" }, /* 1208 */
842+ { 3, TM, sys_madvise, "madvise" }, /* 1209 */
843 { 2, TF, sys_stat, "stat" }, /* 1210 */
844 { 2, 0, sys_lstat, "lstat" }, /* 1211 */
845 { 2, TD, sys_fstat, "fstat" }, /* 1212 */
846@@ -1047,9 +1047,9 @@
847 { 4, 0, sys_clock_nanosleep, "clock_nanosleep"}, /* 1256 */
848 { MA, 0, printargs, "fstatfs64" }, /* 1257 */
849 { MA, 0, printargs, "statfs64" }, /* 1258 */
850- { 6, 0, sys_mbind, "mbind" }, /* 1259 */
851- { 5, 0, sys_get_mempolicy, "get_mempolicy" }, /* 1260 */
852- { 3, 0, sys_set_mempolicy, "set_mempolicy" }, /* 1261 */
853+ { 6, TM, sys_mbind, "mbind" }, /* 1259 */
854+ { 5, TM, sys_get_mempolicy, "get_mempolicy" }, /* 1260 */
855+ { 3, TM, sys_set_mempolicy, "set_mempolicy" }, /* 1261 */
856 { 4, 0, sys_mq_open, "mq_open" }, /* 1262 */
857 { 1, 0, sys_mq_unlink, "mq_unlink" }, /* 1263 */
858 { 5, 0, sys_mq_timedsend, "mq_timedsend" }, /* 1264 */
859@@ -1064,11 +1064,11 @@
860 { 5, 0, sys_keyctl, "keyctl" }, /* 1273 */
861 { 3, 0, sys_ioprio_set, "ioprio_set" }, /* 1274 */
862 { 2, 0, sys_ioprio_get, "ioprio_get" }, /* 1275 */
863- { 6, 0, sys_move_pages, "move_pages" }, /* 1276 */
864+ { 6, TM, sys_move_pages, "move_pages" }, /* 1276 */
865 { 0, TD, sys_inotify_init, "inotify_init" }, /* 1277 */
866 { 3, TD, sys_inotify_add_watch, "inotify_add_watch" }, /* 1278 */
867 { 2, TD, sys_inotify_rm_watch, "inotify_rm_watch" }, /* 1279 */
868- { 4, 0, sys_migrate_pages, "migrate_pages" }, /* 1280 */
869+ { 4, TM, sys_migrate_pages, "migrate_pages" }, /* 1280 */
870 { 4, TD|TF, sys_openat, "openat" }, /* 1281 */
871 { 3, TD|TF, sys_mkdirat, "mkdirat" }, /* 1282 */
872 { 4, TD|TF, sys_mknodat, "mknodat" }, /* 1283 */
873diff --git a/linux/m68k/syscallent.h b/linux/m68k/syscallent.h
874index 5b8d8d1..f95cf8d 100644
875--- a/linux/m68k/syscallent.h
876+++ b/linux/m68k/syscallent.h
877@@ -43,7 +43,7 @@
878 { 3, TF, sys_mknod, "mknod" }, /* 14 */
879 { 2, TF, sys_chmod, "chmod" }, /* 15 */
880 { 3, TF, sys_chown, "chown" }, /* 16 */
881- { 0, 0, sys_break, "break" }, /* 17 */
882+ { 0, TM, sys_break, "break" }, /* 17 */
883 { 2, TF, sys_oldstat, "oldstat" }, /* 18 */
884 { 3, 0, sys_lseek, "lseek" }, /* 19 */
885 { 0, 0, sys_getpid, "getpid" }, /* 20 */
886@@ -71,7 +71,7 @@
887 { 1, 0, sys_pipe, "pipe" }, /* 42 */
888 { 1, 0, sys_times, "times" }, /* 43 */
889 { 0, 0, sys_prof, "prof" }, /* 44 */
890- { 1, 0, sys_brk, "brk" }, /* 45 */
891+ { 1, TM, sys_brk, "brk" }, /* 45 */
892 { 1, 0, sys_setgid, "setgid" }, /* 46 */
893 { 0, NF, sys_getgid, "getgid" }, /* 47 */
894 { 3, TS, sys_signal, "signal" }, /* 48 */
895@@ -116,8 +116,8 @@
896 { 2, TF, sys_swapon, "swapon" }, /* 87 */
897 { 4, 0, sys_reboot, "reboot" }, /* 88 */
898 { 3, 0, sys_readdir, "readdir" }, /* 89 */
899- { 6, TD, sys_old_mmap, "old_mmap" }, /* 90 */
900- { 2, 0, sys_munmap, "munmap" }, /* 91 */
901+ { 6, TD|TM, sys_old_mmap, "old_mmap" }, /* 90 */
902+ { 2, TM, sys_munmap, "munmap" }, /* 91 */
903 { 2, TF, sys_truncate, "truncate" }, /* 92 */
904 { 2, 0, sys_ftruncate, "ftruncate" }, /* 93 */
905 { 2, 0, sys_fchmod, "fchmod" }, /* 94 */
906@@ -151,7 +151,7 @@
907 { 1, 0, sys_uname, "uname" }, /* 122 */
908 { 4, 0, sys_cacheflush, "cacheflush" }, /* 123 */
909 { 1, 0, sys_adjtimex, "adjtimex" }, /* 124 */
910- { 3, 0, sys_mprotect, "mprotect" }, /* 125 */
911+ { 3, TM, sys_mprotect, "mprotect" }, /* 125 */
912 { 3, TS, sys_sigprocmask, "sigprocmask" }, /* 126 */
913 { 2, 0, sys_create_module, "create_module" }, /* 127 */
914 { 3, 0, sys_init_module, "init_module" }, /* 128 */
915@@ -170,16 +170,16 @@
916 { 3, 0, sys_getdents, "getdents" }, /* 141 */
917 { 5, 0, sys_select, "select" }, /* 142 */
918 { 2, 0, sys_flock, "flock" }, /* 143 */
919- { 3, 0, sys_msync, "msync" }, /* 144 */
920+ { 3, TM, sys_msync, "msync" }, /* 144 */
921 { 3, 0, sys_readv, "readv" }, /* 145 */
922 { 3, 0, sys_writev, "writev" }, /* 146 */
923 { 1, 0, sys_getsid, "getsid" }, /* 147 */
924 { 1, 0, sys_fdatasync, "fdatasync" }, /* 148 */
925 { 1, 0, sys_sysctl, "_sysctl" }, /* 149 */
926- { 2, 0, sys_mlock, "mlock" }, /* 150 */
927- { 2, 0, sys_munlock, "munlock" }, /* 151 */
928- { 1, 0, sys_mlockall, "mlockall" }, /* 152 */
929- { 0, 0, sys_munlockall, "munlockall" }, /* 153 */
930+ { 2, TM, sys_mlock, "mlock" }, /* 150 */
931+ { 2, TM, sys_munlock, "munlock" }, /* 151 */
932+ { 1, TM, sys_mlockall, "mlockall" }, /* 152 */
933+ { 0, TM, sys_munlockall, "munlockall" }, /* 153 */
934 { 0, 0, sys_sched_setparam, "sched_setparam"}, /* 154 */
935 { 2, 0, sys_sched_getparam, "sched_getparam"}, /* 155 */
936 { 3, 0, sys_sched_setscheduler, "sched_setscheduler"}, /* 156 */
937@@ -189,7 +189,7 @@
938 { 1, 0, sys_sched_get_priority_min,"sched_get_priority_min"}, /* 160 */
939 { 2, 0, sys_sched_rr_get_interval,"sched_rr_get_interval"}, /* 161 */
940 { 2, 0, sys_nanosleep, "nanosleep" }, /* 162 */
941- { 5, 0, sys_mremap, "mremap" }, /* 163 */
942+ { 5, TM, sys_mremap, "mremap" }, /* 163 */
943 { 3, 0, sys_setresuid, "setresuid" }, /* 164 */
944 { 3, 0, sys_getresuid, "getresuid" }, /* 165 */
945 { 5, 0, printargs, "getpagesize" }, /* 166 */
946@@ -218,7 +218,7 @@
947 { 5, 0, sys_putpmsg, "putpmsg" }, /* 189 */
948 { 0, TP, sys_vfork, "vfork" }, /* 190 */
949 { 2, 0, sys_getrlimit, "getrlimit" }, /* 191 */
950- { 6, TD, sys_mmap, "mmap2" }, /* 192 */
951+ { 6, TD|TM, sys_mmap, "mmap2" }, /* 192 */
952 { 3, TF, sys_truncate64, "truncate64" }, /* 193 */
953 { 3, TF, sys_ftruncate64, "ftruncate64" }, /* 194 */
954 { 2, TF, sys_stat64, "stat64" }, /* 195 */
955@@ -263,8 +263,8 @@
956 { 2, TD, sys_fremovexattr, "fremovexattr" }, /* 234 */
957 { 6, 0, sys_futex, "futex" }, /* 235 */
958 { 4, TD|TN, sys_sendfile64, "sendfile64" }, /* 236 */
959- { 3, 0, sys_mincore, "mincore" }, /* 237 */
960- { 3, 0, sys_madvise, "madvise" }, /* 238 */
961+ { 3, TM, sys_mincore, "mincore" }, /* 237 */
962+ { 3, TM, sys_madvise, "madvise" }, /* 238 */
963 { 3, 0, sys_fcntl, "fcntl64" }, /* 239 */
964 { 4, 0, sys_readahead, "readahead" }, /* 240 */
965 { 2, 0, sys_io_setup, "io_setup" }, /* 241 */
966@@ -278,7 +278,7 @@
967 { 1, TD, sys_epoll_create, "epoll_create" }, /* 249 */
968 { 4, TD, sys_epoll_ctl, "epoll_ctl" }, /* 250 */
969 { 4, TD, sys_epoll_wait, "epoll_wait" }, /* 251 */
970- { 5, 0, sys_remap_file_pages, "remap_file_pages"}, /* 252 */
971+ { 5, TM, sys_remap_file_pages, "remap_file_pages"}, /* 252 */
972 { 1, 0, sys_set_tid_address, "set_tid_address"}, /* 253 */
973 { 3, 0, sys_timer_create, "timer_create" }, /* 254 */
974 { 4, 0, sys_timer_settime, "timer_settime" }, /* 255 */
975@@ -294,9 +294,9 @@
976 { 3, TS, sys_tgkill, "tgkill" }, /* 265 */
977 { 2, TF, sys_utimes, "utimes" }, /* 266 */
978 { 6, TD, sys_fadvise64_64, "fadvise64_64" }, /* 267 */
979- { 6, 0, sys_mbind, "mbind" }, /* 268 */
980- { 5, 0, sys_get_mempolicy, "get_mempolicy" }, /* 269 */
981- { 3, 0, sys_set_mempolicy, "set_mempolicy" }, /* 270 */
982+ { 6, TM, sys_mbind, "mbind" }, /* 268 */
983+ { 5, TM, sys_get_mempolicy, "get_mempolicy" }, /* 269 */
984+ { 3, TM, sys_set_mempolicy, "set_mempolicy" }, /* 270 */
985 { 4, 0, sys_mq_open, "mq_open" }, /* 271 */
986 { 1, 0, sys_mq_unlink, "mq_unlink" }, /* 272 */
987 { 5, 0, sys_mq_timedsend, "mq_timedsend" }, /* 273 */
988@@ -313,7 +313,7 @@
989 { 0, TD, sys_inotify_init, "inotify_init" }, /* 284 */
990 { 3, TD, sys_inotify_add_watch, "inotify_add_watch" }, /* 285 */
991 { 2, TD, sys_inotify_rm_watch, "inotify_rm_watch" }, /* 286 */
992- { 4, 0, sys_migrate_pages, "migrate_pages" }, /* 287 */
993+ { 4, TM, sys_migrate_pages, "migrate_pages" }, /* 287 */
994 { 4, TD|TF, sys_openat, "openat" }, /* 288 */
995 { 3, TD|TF, sys_mkdirat, "mkdirat" }, /* 289 */
996 { 4, TD|TF, sys_mknodat, "mknodat" }, /* 290 */
997@@ -336,7 +336,7 @@
998 { 4, TD, sys_sync_file_range, "sync_file_range" }, /* 307 */
999 { 4, TD, sys_tee, "tee" }, /* 308 */
1000 { 4, TD, sys_vmsplice, "vmsplice" }, /* 309 */
1001- { 6, 0, sys_move_pages, "move_pages" }, /* 310 */
1002+ { 6, TM, sys_move_pages, "move_pages" }, /* 310 */
1003 { 3, 0, sys_sched_setaffinity, "sched_setaffinity" },/* 311 */
1004 { 3, 0, sys_sched_getaffinity, "sched_getaffinity" },/* 312 */
1005 { 4, 0, sys_kexec_load, "kexec_load" }, /* 313 */
1006diff --git a/linux/microblaze/syscallent.h b/linux/microblaze/syscallent.h
1007index f2da85a..51c5e6c 100644
1008--- a/linux/microblaze/syscallent.h
1009+++ b/linux/microblaze/syscallent.h
1010@@ -43,7 +43,7 @@
1011 { 3, TF, sys_mknod, "mknod" }, /* 14 */
1012 { 2, TF, sys_chmod, "chmod" }, /* 15 */
1013 { 3, TF, sys_chown, "lchown" }, /* 16 */
1014- { 0, 0, sys_break, "break" }, /* 17 */
1015+ { 0, TM, sys_break, "break" }, /* 17 */
1016 { 2, TF, sys_oldstat, "oldstat" }, /* 18 */
1017 { 3, 0, sys_lseek, "lseek" }, /* 19 */
1018 { 0, 0, sys_getpid, "getpid" }, /* 20 */
1019@@ -71,7 +71,7 @@
1020 { 1, 0, sys_pipe, "pipe" }, /* 42 */
1021 { 1, 0, sys_times, "times" }, /* 43 */
1022 { 0, 0, sys_prof, "prof" }, /* 44 */
1023- { 1, 0, sys_brk, "brk" }, /* 45 */
1024+ { 1, TM, sys_brk, "brk" }, /* 45 */
1025 { 1, 0, sys_setgid, "setgid" }, /* 46 */
1026 { 0, NF, sys_getgid, "getgid" }, /* 47 */
1027 { 3, TS, sys_signal, "signal" }, /* 48 */
1028@@ -116,8 +116,8 @@
1029 { 2, TF, sys_swapon, "swapon" }, /* 87 */
1030 { 4, 0, sys_reboot, "reboot" }, /* 88 */
1031 { 3, 0, sys_readdir, "readdir" }, /* 89 */
1032- { 6, TD, sys_old_mmap, "old_mmap" }, /* 90 */
1033- { 2, 0, sys_munmap, "munmap" }, /* 91 */
1034+ { 6, TD|TM, sys_old_mmap, "old_mmap" }, /* 90 */
1035+ { 2, TM, sys_munmap, "munmap" }, /* 91 */
1036 { 2, TF, sys_truncate, "truncate" }, /* 92 */
1037 { 2, 0, sys_ftruncate, "ftruncate" }, /* 93 */
1038 { 2, 0, sys_fchmod, "fchmod" }, /* 94 */
1039@@ -151,7 +151,7 @@
1040 { 1, 0, sys_uname, "uname" }, /* 122 */
1041 { 3, 0, sys_modify_ldt, "modify_ldt" }, /* 123 */
1042 { 1, 0, sys_adjtimex, "adjtimex" }, /* 124 */
1043- { 3, 0, sys_mprotect, "mprotect" }, /* 125 */
1044+ { 3, TM, sys_mprotect, "mprotect" }, /* 125 */
1045 { 3, TS, sys_sigprocmask, "sigprocmask" }, /* 126 */
1046 { 2, 0, sys_create_module, "create_module" }, /* 127 */
1047 { 3, 0, sys_init_module, "init_module" }, /* 128 */
1048@@ -170,16 +170,16 @@
1049 { 3, 0, sys_getdents, "getdents" }, /* 141 */
1050 { 5, 0, sys_select, "select" }, /* 142 */
1051 { 2, 0, sys_flock, "flock" }, /* 143 */
1052- { 3, 0, sys_msync, "msync" }, /* 144 */
1053+ { 3, TM, sys_msync, "msync" }, /* 144 */
1054 { 3, 0, sys_readv, "readv" }, /* 145 */
1055 { 3, 0, sys_writev, "writev" }, /* 146 */
1056 { 1, 0, sys_getsid, "getsid" }, /* 147 */
1057 { 1, 0, sys_fdatasync, "fdatasync" }, /* 148 */
1058 { 1, 0, sys_sysctl, "_sysctl" }, /* 149 */
1059- { 2, 0, sys_mlock, "mlock" }, /* 150 */
1060- { 2, 0, sys_munlock, "munlock" }, /* 151 */
1061- { 1, 0, sys_mlockall, "mlockall" }, /* 152 */
1062- { 0, 0, sys_munlockall, "munlockall" }, /* 153 */
1063+ { 2, TM, sys_mlock, "mlock" }, /* 150 */
1064+ { 2, TM, sys_munlock, "munlock" }, /* 151 */
1065+ { 1, TM, sys_mlockall, "mlockall" }, /* 152 */
1066+ { 0, TM, sys_munlockall, "munlockall" }, /* 153 */
1067 { 0, 0, sys_sched_setparam, "sched_setparam"}, /* 154 */
1068 { 2, 0, sys_sched_getparam, "sched_getparam"}, /* 155 */
1069 { 3, 0, sys_sched_setscheduler, "sched_setscheduler"}, /* 156 */
1070@@ -189,7 +189,7 @@
1071 { 1, 0, sys_sched_get_priority_min,"sched_get_priority_min"}, /* 160 */
1072 { 2, 0, sys_sched_rr_get_interval,"sched_rr_get_interval"}, /* 161 */
1073 { 2, 0, sys_nanosleep, "nanosleep" }, /* 162 */
1074- { 5, 0, sys_mremap, "mremap" }, /* 163 */
1075+ { 5, TM, sys_mremap, "mremap" }, /* 163 */
1076 { 3, 0, sys_setresuid, "setresuid" }, /* 164 */
1077 { 3, 0, sys_getresuid, "getresuid" }, /* 165 */
1078 { 5, 0, sys_vm86, "vm86" }, /* 166 */
1079@@ -218,7 +218,7 @@
1080 { 5, 0, sys_putpmsg, "putpmsg" }, /* 189 */
1081 { 0, TP, sys_vfork, "vfork" }, /* 190 */
1082 { 2, 0, sys_getrlimit, "getrlimit" }, /* 191 */
1083- { 6, TD, sys_mmap, "mmap2" }, /* 192 */
1084+ { 6, TD|TM, sys_mmap, "mmap2" }, /* 192 */
1085 { 3, TF, sys_truncate64, "truncate64" }, /* 193 */
1086 { 3, TF, sys_ftruncate64, "ftruncate64" }, /* 194 */
1087 { 2, TF, sys_stat64, "stat64" }, /* 195 */
1088@@ -244,8 +244,8 @@
1089 { 1, NF, sys_setfsuid, "setfsuid32" }, /* 215 */
1090 { 1, NF, sys_setfsgid, "setfsgid32" }, /* 216 */
1091 { 2, TF, sys_pivotroot, "pivot_root" }, /* 217 */
1092- { 3, 0, sys_mincore, "mincore" }, /* 218 */
1093- { 3, 0, sys_madvise, "madvise" }, /* 219 */
1094+ { 3, TM, sys_mincore, "mincore" }, /* 218 */
1095+ { 3, TM, sys_madvise, "madvise" }, /* 219 */
1096 { 3, TD, sys_getdents64, "getdents64" }, /* 220 */
1097 { 3, 0, sys_fcntl, "fcntl64" }, /* 221 */
1098 { 4, 0, NULL, NULL }, /* 222 */
1099@@ -283,7 +283,7 @@
1100 { 1, TD, sys_epoll_create, "epoll_create" }, /* 254 */
1101 { 4, TD, sys_epoll_ctl, "epoll_ctl" }, /* 255 */
1102 { 4, TD, sys_epoll_wait, "epoll_wait" }, /* 256 */
1103- { 5, 0, sys_remap_file_pages, "remap_file_pages"}, /* 257 */
1104+ { 5, TM, sys_remap_file_pages, "remap_file_pages"}, /* 257 */
1105 { 1, 0, sys_set_tid_address, "set_tid_address"}, /* 258 */
1106 { 3, 0, sys_timer_create, "timer_create" }, /* 259 */
1107 { 4, 0, sys_timer_settime, "timer_settime" }, /* 260 */
1108@@ -300,9 +300,9 @@
1109 { 2, TF, sys_utimes, "utimes" }, /* 271 */
1110 { 6, TD, sys_fadvise64_64, "fadvise64_64" }, /* 272 */
1111 { 5, 0, sys_vserver, "vserver" }, /* 273 */
1112- { 4, 0, sys_mbind, "mbind" }, /* 274 */
1113- { 5, 0, sys_get_mempolicy, "get_mempolicy" }, /* 275 */
1114- { 3, 0, sys_set_mempolicy, "set_mempolicy" }, /* 276 */
1115+ { 4, TM, sys_mbind, "mbind" }, /* 274 */
1116+ { 5, TM, sys_get_mempolicy, "get_mempolicy" }, /* 275 */
1117+ { 3, TM, sys_set_mempolicy, "set_mempolicy" }, /* 276 */
1118 { 4, 0, sys_mq_open, "mq_open" }, /* 277 */
1119 { 1, 0, sys_mq_unlink, "mq_unlink" }, /* 278 */
1120 { 5, 0, sys_mq_timedsend, "mq_timedsend" }, /* 279 */
1121@@ -320,7 +320,7 @@
1122 { 0, TD, sys_inotify_init, "inotify_init" }, /* 291 */
1123 { 3, TD, sys_inotify_add_watch, "inotify_add_watch" }, /* 292 */
1124 { 2, TD, sys_inotify_rm_watch, "inotify_rm_watch" }, /* 293 */
1125- { 4, 0, sys_migrate_pages, "migrate_pages" }, /* 294 */
1126+ { 4, TM, sys_migrate_pages, "migrate_pages" }, /* 294 */
1127 { 4, TD|TF, sys_openat, "openat" }, /* 295 */
1128 { 3, TD|TF, sys_mkdirat, "mkdirat" }, /* 296 */
1129 { 4, TD|TF, sys_mknodat, "mknodat" }, /* 297 */
1130@@ -343,7 +343,7 @@
1131 { 4, TD, sys_sync_file_range, "sync_file_range"}, /* 314 */
1132 { 4, TD, sys_tee, "tee" }, /* 315 */
1133 { 5, TD, sys_vmsplice, "vmsplice" }, /* 316 */
1134- { 6, 0, sys_move_pages, "move_pages" }, /* 317 */
1135+ { 6, TM, sys_move_pages, "move_pages" }, /* 317 */
1136 { 3, 0, sys_getcpu, "getcpu" }, /* 318 */
1137 { 6, TD, sys_epoll_pwait, "epoll_pwait" }, /* 319 */
1138 { 4, TD|TF, sys_utimensat, "utimensat" }, /* 320 */
1139diff --git a/linux/mips/syscallent.h b/linux/mips/syscallent.h
1140index ebb93f9..4c72763 100644
1141--- a/linux/mips/syscallent.h
1142+++ b/linux/mips/syscallent.h
1143@@ -17,7 +17,7 @@
1144 { 0, 0, printargs, "svr4_mknod" }, /* 014 */
1145 { 0, 0, printargs, "svr4_chmod" }, /* 015 */
1146 { 0, 0, printargs, "svr4_chown" }, /* 016 */
1147- { 0, 0, printargs, "svr4_sbreak" }, /* 017 */
1148+ { 0, TM, printargs, "svr4_sbreak" }, /* 017 */
1149 { 0, 0, printargs, "svr4_stat" }, /* 018 */
1150 { 0, 0, printargs, "svr4_lseek" }, /* 019 */
1151 { 0, 0, printargs, "svr4_getpid" }, /* 020 */
1152@@ -114,10 +114,10 @@
1153 { 0, 0, printargs, "svr4_async" }, /* 0111 */
1154 { 0, 0, printargs, "svr4_priocntlset" }, /* 0112 */
1155 { 0, 0, printargs, "svr4_pathconf" }, /* 0113 */
1156- { 0, 0, printargs, "svr4_mincore" }, /* 0114 */
1157- { 0, 0, printargs, "svr4_mmap" }, /* 0115 */
1158- { 0, 0, printargs, "svr4_mprotect" }, /* 0116 */
1159- { 0, 0, printargs, "svr4_munmap" }, /* 0117 */
1160+ { 0, TM, printargs, "svr4_mincore" }, /* 0114 */
1161+ { 0, TM, printargs, "svr4_mmap" }, /* 0115 */
1162+ { 0, TM, printargs, "svr4_mprotect" }, /* 0116 */
1163+ { 0, TM, printargs, "svr4_munmap" }, /* 0117 */
1164 { 0, 0, printargs, "svr4_fpathconf" }, /* 0118 */
1165 { 0, 0, printargs, "svr4_vfork" }, /* 0119 */
1166 { 0, 0, printargs, "svr4_fchdir" }, /* 0120 */
1167@@ -1017,7 +1017,7 @@
1168 { 0, 0, printargs, "sysv_mknod" }, /* 1014 */
1169 { 0, 0, printargs, "sysv_chmod" }, /* 1015 */
1170 { 0, 0, printargs, "sysv_chown" }, /* 1016 */
1171- { 0, 0, printargs, "sysv_brk" }, /* 1017 */
1172+ { 0, TM, printargs, "sysv_brk" }, /* 1017 */
1173 { 0, 0, printargs, "sysv_stat" }, /* 1018 */
1174 { 0, 0, printargs, "sysv_lseek" }, /* 1019 */
1175 { 0, 0, printargs, "sysv_getpid" }, /* 1020 */
1176@@ -1134,11 +1134,11 @@
1177 { 0, 0, printargs, "sysv_procblk" }, /* 1131 */
1178 { 0, 0, printargs, "sysv_sprocsp" }, /* 1132 */
1179 { 0, 0, printargs, "sysv_sgigsc" }, /* 1133 */
1180- { 0, 0, printargs, "sysv_mmap" }, /* 1134 */
1181- { 0, 0, printargs, "sysv_munmap" }, /* 1135 */
1182- { 0, 0, printargs, "sysv_mprotect" }, /* 1136 */
1183- { 0, 0, printargs, "sysv_msync" }, /* 1137 */
1184- { 0, 0, printargs, "sysv_madvise" }, /* 1138 */
1185+ { 0, TM, printargs, "sysv_mmap" }, /* 1134 */
1186+ { 0, TM, printargs, "sysv_munmap" }, /* 1135 */
1187+ { 0, TM, printargs, "sysv_mprotect" }, /* 1136 */
1188+ { 0, TM, printargs, "sysv_msync" }, /* 1137 */
1189+ { 0, TM, printargs, "sysv_madvise" }, /* 1138 */
1190 { 0, 0, printargs, "sysv_pagelock" }, /* 1139 */
1191 { 0, 0, printargs, "sysv_getpagesize" }, /* 1140 */
1192 { 0, 0, printargs, "sysv_quotactl" }, /* 1141 */
1193@@ -1185,7 +1185,7 @@
1194 { 0, 0, printargs, "sysv_writev" }, /* 1182 */
1195 { 0, 0, printargs, "sysv_truncate64" }, /* 1183 */
1196 { 0, 0, printargs, "sysv_ftruncate64" }, /* 1184 */
1197- { 0, 0, printargs, "sysv_mmap64" }, /* 1185 */
1198+ { 0, TM, printargs, "sysv_mmap64" }, /* 1185 */
1199 { 0, 0, printargs, "sysv_dmi" }, /* 1186 */
1200 { 0, 0, printargs, "sysv_pread" }, /* 1187 */
1201 { 0, 0, printargs, "sysv_pwrite" }, /* 1188 */
1202@@ -2017,7 +2017,7 @@
1203 { 0, 0, printargs, "bsd43_mknod" }, /* 2014 */
1204 { 0, 0, printargs, "bsd43_chmod" }, /* 2015 */
1205 { 0, 0, printargs, "bsd43_chown" }, /* 2016 */
1206- { 0, 0, printargs, "bsd43_sbreak" }, /* 2017 */
1207+ { 0, TM, printargs, "bsd43_sbreak" }, /* 2017 */
1208 { 0, 0, printargs, "bsd43_oldstat" }, /* 2018 */
1209 { 0, 0, printargs, "bsd43_lseek" }, /* 2019 */
1210 { 0, 0, printargs, "bsd43_getpid" }, /* 2020 */
1211@@ -2065,20 +2065,20 @@
1212 { 0, 0, printargs, "bsd43_fstat" }, /* 2062 */
1213 { 0, 0, NULL, NULL }, /* 2063 */
1214 { 0, 0, printargs, "bsd43_getpagesize" }, /* 2064 */
1215- { 0, 0, printargs, "bsd43_mremap" }, /* 2065 */
1216+ { 0, TM, printargs, "bsd43_mremap" }, /* 2065 */
1217 { 0, 0, printargs, "bsd43_vfork" }, /* 2066 */
1218 { 0, 0, printargs, "bsd43_vread" }, /* 2067 */
1219 { 0, 0, printargs, "bsd43_vwrite" }, /* 2068 */
1220- { 0, 0, printargs, "bsd43_sbrk" }, /* 2069 */
1221+ { 0, TM, printargs, "bsd43_sbrk" }, /* 2069 */
1222 { 0, 0, printargs, "bsd43_sstk" }, /* 2070 */
1223- { 0, 0, printargs, "bsd43_mmap" }, /* 2071 */
1224+ { 0, TM, printargs, "bsd43_mmap" }, /* 2071 */
1225 { 0, 0, printargs, "bsd43_vadvise" }, /* 2072 */
1226- { 0, 0, printargs, "bsd43_munmap" }, /* 2073 */
1227- { 0, 0, printargs, "bsd43_mprotect" }, /* 2074 */
1228- { 0, 0, printargs, "bsd43_madvise" }, /* 2075 */
1229+ { 0, TM, printargs, "bsd43_munmap" }, /* 2073 */
1230+ { 0, TM, printargs, "bsd43_mprotect" }, /* 2074 */
1231+ { 0, TM, printargs, "bsd43_madvise" }, /* 2075 */
1232 { 0, 0, printargs, "bsd43_vhangup" }, /* 2076 */
1233 { 0, 0, printargs, "bsd43_vlimit" }, /* 2077 */
1234- { 0, 0, printargs, "bsd43_mincore" }, /* 2078 */
1235+ { 0, TM, printargs, "bsd43_mincore" }, /* 2078 */
1236 { 0, 0, printargs, "bsd43_getgroups" }, /* 2079 */
1237 { 0, 0, printargs, "bsd43_setgroups" }, /* 2080 */
1238 { 0, 0, printargs, "bsd43_getpgrp" }, /* 2081 */
1239@@ -3017,7 +3017,7 @@
1240 { 0, 0, printargs, "posix_mknod" }, /* 3014 */
1241 { 0, 0, printargs, "posix_chmod" }, /* 3015 */
1242 { 0, 0, printargs, "posix_chown" }, /* 3016 */
1243- { 0, 0, printargs, "posix_sbreak" }, /* 3017 */
1244+ { 0, TM, printargs, "posix_sbreak" }, /* 3017 */
1245 { 0, 0, printargs, "posix_stat" }, /* 3018 */
1246 { 0, 0, printargs, "posix_lseek" }, /* 3019 */
1247 { 0, 0, printargs, "posix_getpid" }, /* 3020 */
1248@@ -3134,11 +3134,11 @@
1249 { 0, 0, printargs, "posix_SGI_blkproc" }, /* 3131 */
1250 { 0, 0, NULL, NULL , }, /* 3132 */
1251 { 0, 0, printargs, "posix_SGI_sgigsc" }, /* 3133 */
1252- { 0, 0, printargs, "posix_SGI_mmap" }, /* 3134 */
1253- { 0, 0, printargs, "posix_SGI_munmap" }, /* 3135 */
1254- { 0, 0, printargs, "posix_SGI_mprotect" }, /* 3136 */
1255- { 0, 0, printargs, "posix_SGI_msync" }, /* 3137 */
1256- { 0, 0, printargs, "posix_SGI_madvise" }, /* 3138 */
1257+ { 0, TM, printargs, "posix_SGI_mmap" }, /* 3134 */
1258+ { 0, TM, printargs, "posix_SGI_munmap" }, /* 3135 */
1259+ { 0, TM, printargs, "posix_SGI_mprotect" }, /* 3136 */
1260+ { 0, TM, printargs, "posix_SGI_msync" }, /* 3137 */
1261+ { 0, TM, printargs, "posix_SGI_madvise" }, /* 3138 */
1262 { 0, 0, printargs, "posix_SGI_mpin" }, /* 3139 */
1263 { 0, 0, printargs, "posix_SGI_getpagesize" }, /* 3140 */
1264 { 0, 0, printargs, "posix_SGI_libattach" }, /* 3141 */
1265@@ -3155,9 +3155,9 @@
1266 { 0, 0, printargs, "posix_fchown" }, /* 3152 */
1267 { 0, 0, printargs, "posix_fchmod" }, /* 3153 */
1268 { 0, 0, printargs, "posix_wait3" }, /* 3154 */
1269- { 0, 0, printargs, "posix_mmap" }, /* 3155 */
1270- { 0, 0, printargs, "posix_munmap" }, /* 3156 */
1271- { 0, 0, printargs, "posix_madvise" }, /* 3157 */
1272+ { 0, TM, printargs, "posix_mmap" }, /* 3155 */
1273+ { 0, TM, printargs, "posix_munmap" }, /* 3156 */
1274+ { 0, TM, printargs, "posix_madvise" }, /* 3157 */
1275 { 0, 0, printargs, "posix_BSD_getpagesize" }, /* 3158 */
1276 { 0, 0, printargs, "posix_setreuid" }, /* 3159 */
1277 { 0, 0, printargs, "posix_setregid" }, /* 3160 */
1278@@ -4019,7 +4019,7 @@
1279 { 3, TF, sys_mknod, "mknod" }, /* 4014 */
1280 { 2, TF, sys_chmod, "chmod" }, /* 4015 */
1281 { 3, TF, sys_chown, "lchown" }, /* 4016 */
1282- { 0, 0, sys_break, "break" }, /* 4017 */
1283+ { 0, TM, sys_break, "break" }, /* 4017 */
1284 { 2, TF, sys_oldstat, "oldstat" }, /* 4018 */
1285 { 3, TD, sys_lseek, "lseek" }, /* 4019 */
1286 { 0, 0, sys_getpid, "getpid" }, /* 4020 */
1287@@ -4047,7 +4047,7 @@
1288 { 1, TD, sys_pipe, "pipe" }, /* 4042 */
1289 { 1, 0, sys_times, "times" }, /* 4043 */
1290 { 0, 0, sys_prof, "prof" }, /* 4044 */
1291- { 1, 0, sys_brk, "brk" }, /* 4045 */
1292+ { 1, TM, sys_brk, "brk" }, /* 4045 */
1293 { 1, 0, sys_setgid, "setgid" }, /* 4046 */
1294 { 0, NF, sys_getgid, "getgid" }, /* 4047 */
1295 { 1, TS, sys_signal, "signal" }, /* 4048 */
1296@@ -4092,8 +4092,8 @@
1297 { 2, TF, sys_swapon, "swapon" }, /* 4087 */
1298 { 4, 0, sys_reboot, "reboot" }, /* 4088 */
1299 { 3, TD, sys_readdir, "readdir" }, /* 4089 */
1300- { 6, TD, sys_mmap, "old_mmap" }, /* 4090 */
1301- { 2, 0, sys_munmap, "munmap" }, /* 4091 */
1302+ { 6, TD|TM, sys_mmap, "old_mmap" }, /* 4090 */
1303+ { 2, TM, sys_munmap, "munmap" }, /* 4091 */
1304 { 2, TF, sys_truncate, "truncate" }, /* 4092 */
1305 { 2, TD, sys_ftruncate, "ftruncate" }, /* 4093 */
1306 { 2, TD, sys_fchmod, "fchmod" }, /* 4094 */
1307@@ -4127,7 +4127,7 @@
1308 { 1, 0, sys_uname, "uname" }, /* 4122 */
1309 { 0, 0, sys_modify_ldt, "modify_ldt" }, /* 4123 */
1310 { 1, 0, sys_adjtimex, "adjtimex" }, /* 4124 */
1311- { 3, 0, sys_mprotect, "mprotect" }, /* 4125 */
1312+ { 3, TM, sys_mprotect, "mprotect" }, /* 4125 */
1313 { 3, TS, sys_sigprocmask, "sigprocmask" }, /* 4126 */
1314 { 2, 0, sys_create_module, "create_module" }, /* 4127 */
1315 { 3, 0, sys_init_module, "init_module" }, /* 4128 */
1316@@ -4146,7 +4146,7 @@
1317 { 3, TD, sys_getdents, "getdents" }, /* 4141 */
1318 { 5, TD, sys_select, "_newselect" }, /* 4142 */
1319 { 2, TD, sys_flock, "flock" }, /* 4143 */
1320- { 3, 0, sys_msync, "msync" }, /* 4144 */
1321+ { 3, TM, sys_msync, "msync" }, /* 4144 */
1322 { 3, TD, sys_readv, "readv" }, /* 4145 */
1323 { 3, TD, sys_writev, "writev" }, /* 4146 */
1324 { 3, 0, printargs, "cacheflush" }, /* 4147 */
1325@@ -4156,10 +4156,10 @@
1326 { 1, 0, sys_getsid, "getsid" }, /* 4151 */
1327 { 1, TD, sys_fdatasync, "fdatasync" }, /* 4152 */
1328 { 1, 0, sys_sysctl, "_sysctl" }, /* 4153 */
1329- { 2, 0, sys_mlock, "mlock" }, /* 4154 */
1330- { 2, 0, sys_munlock, "munlock" }, /* 4155 */
1331- { 1, 0, sys_mlockall, "mlockall" }, /* 4156 */
1332- { 0, 0, sys_munlockall, "munlockall" }, /* 4157 */
1333+ { 2, TM, sys_mlock, "mlock" }, /* 4154 */
1334+ { 2, TM, sys_munlock, "munlock" }, /* 4155 */
1335+ { 1, TM, sys_mlockall, "mlockall" }, /* 4156 */
1336+ { 0, TM, sys_munlockall, "munlockall" }, /* 4157 */
1337 { 2, 0, sys_sched_setparam, "sched_setparam"}, /* 4158 */
1338 { 2, 0, sys_sched_getparam, "sched_getparam"}, /* 4159 */
1339 { 3, 0, sys_sched_setscheduler, "sched_setscheduler"}, /* 4160 */
1340@@ -4169,7 +4169,7 @@
1341 { 1, 0, sys_sched_get_priority_min,"sched_get_priority_min"}, /* 4164 */
1342 { 2, 0, sys_sched_rr_get_interval,"sched_rr_get_interval"}, /* 4165 */
1343 { 2, 0, sys_nanosleep, "nanosleep" }, /* 4166 */
1344- { 5, 0, sys_mremap, "mremap" }, /* 4167 */
1345+ { 5, TM, sys_mremap, "mremap" }, /* 4167 */
1346 { 3, TN, sys_accept, "accept" }, /* 4168 */
1347 { 3, TN, sys_bind, "bind" }, /* 4169 */
1348 { 3, TN, sys_connect, "connect" }, /* 4170 */
1349@@ -4212,15 +4212,15 @@
1350 { 4, TD|TN, sys_sendfile, "sendfile" }, /* 4207 */
1351 { 0, 0, NULL, NULL }, /* 4208 */
1352 { 0, 0, NULL, NULL }, /* 4209 */
1353- { 6, TD, sys_mmap, "mmap" }, /* 4210 */
1354+ { 6, TD|TM, sys_mmap, "mmap" }, /* 4210 */
1355 { 4, TF, sys_truncate64, "truncate64" }, /* 4211 */
1356 { 4, TD, sys_ftruncate64, "ftruncate64" }, /* 4212 */
1357 { 2, TF, sys_stat64, "stat64" }, /* 4213 */
1358 { 2, TF, sys_lstat64, "lstat64" }, /* 4214 */
1359 { 2, TD, sys_fstat64, "fstat64" }, /* 4215 */
1360 { 2, TF, sys_pivotroot, "pivot_root" }, /* 4216 */
1361- { 3, 0, sys_mincore, "mincore" }, /* 4217 */
1362- { 3, 0, sys_madvise, "madvise" }, /* 4218 */
1363+ { 3, TM, sys_mincore, "mincore" }, /* 4217 */
1364+ { 3, TM, sys_madvise, "madvise" }, /* 4218 */
1365 { 3, TF, sys_getdents64, "getdents64" }, /* 4219 */
1366 { 3, TD, sys_fcntl, "fcntl64" }, /* 4220 */
1367 { 0, 0, NULL, NULL }, /* 4221 */
1368@@ -4253,7 +4253,7 @@
1369 { 1, TD, sys_epoll_create, "epoll_create" }, /* 4248 */
1370 { 4, TD, sys_epoll_ctl, "epoll_ctl" }, /* 4249 */
1371 { 4, TD, sys_epoll_wait, "epoll_wait" }, /* 4250 */
1372- { 5, 0, sys_remap_file_pages, "remap_file_pages"}, /* 4251 */
1373+ { 5, TM, sys_remap_file_pages, "remap_file_pages"}, /* 4251 */
1374 { 1, 0, sys_set_tid_address, "set_tid_address"}, /* 4252 */
1375 { 0, 0, sys_restart_syscall, "restart_syscall"}, /* 4253 */
1376 { 6, TD, sys_fadvise64_64, "fadvise64_64" }, /* 4254 */
1377@@ -4270,7 +4270,7 @@
1378 { 4, 0, sys_clock_nanosleep, "clock_nanosleep"}, /* 4265 */
1379 { 3, TS, sys_tgkill, "tgkill" }, /* 4266 */
1380 { 2, TF, sys_utimes, "utimes" }, /* 4267 */
1381- { 4, 0, sys_mbind, "mbind" }, /* 4268 */
1382+ { 4, TM, sys_mbind, "mbind" }, /* 4268 */
1383 { 0, 0, NULL, NULL }, /* 4269 */
1384 { 0, 0, NULL, NULL }, /* 4270 */
1385 { 4, 0, sys_mq_open, "mq_open" }, /* 4271 */
1386@@ -4289,7 +4289,7 @@
1387 { 0, TD, sys_inotify_init, "inotify_init" }, /* 4284 */
1388 { 3, TD, sys_inotify_add_watch, "inotify_add_watch" }, /* 4285 */
1389 { 2, TD, sys_inotify_rm_watch, "inotify_rm_watch" }, /* 4286 */
1390- { 4, 0, sys_migrate_pages, "migrate_pages" }, /* 4287 */
1391+ { 4, TM, sys_migrate_pages, "migrate_pages" }, /* 4287 */
1392 { 4, TD|TF, sys_openat, "openat" }, /* 4288 */
1393 { 3, TD|TF, sys_mkdirat, "mkdirat" }, /* 4289 */
1394 { 4, TD|TF, sys_mknodat, "mknodat" }, /* 4290 */
1395@@ -4310,7 +4310,7 @@
1396 { 4, TD, sys_sync_file_range, "sync_file_range" }, /* 4305 */
1397 { 4, TD, sys_tee, "tee" }, /* 4306 */
1398 { 4, TD, sys_vmsplice, "vmsplice" }, /* 4307 */
1399- { 6, 0, sys_move_pages, "move_pages" }, /* 4308 */
1400+ { 6, TM, sys_move_pages, "move_pages" }, /* 4308 */
1401 { 2, 0, sys_set_robust_list, "set_robust_list" }, /* 4309 */
1402 { 3, 0, sys_get_robust_list, "get_robust_list" }, /* 4310 */
1403 { 4, 0, sys_kexec_load, "kexec_load" }, /* 4311 */
1404@@ -4367,7 +4367,7 @@
1405 { 0, 0, printargs, "o32_mknod" }, /* 4014 */
1406 { 0, 0, printargs, "o32_chmod" }, /* 4015 */
1407 { 0, 0, printargs, "o32_lchown" }, /* 4016 */
1408- { 0, 0, printargs, "o32_break" }, /* 4017 */
1409+ { 0, TM, printargs, "o32_break" }, /* 4017 */
1410 { 0, 0, printargs, "o32_oldstat" }, /* 4018 */
1411 { 0, 0, printargs, "o32_lseek" }, /* 4019 */
1412 { 0, 0, printargs, "o32_getpid" }, /* 4020 */
1413@@ -4395,7 +4395,7 @@
1414 { 0, 0, printargs, "o32_pipe" }, /* 4042 */
1415 { 0, 0, printargs, "o32_times" }, /* 4043 */
1416 { 0, 0, printargs, "o32_prof" }, /* 4044 */
1417- { 0, 0, printargs, "o32_brk" }, /* 4045 */
1418+ { 0, TM, printargs, "o32_brk" }, /* 4045 */
1419 { 0, 0, printargs, "o32_setgid" }, /* 4046 */
1420 { 0, 0, printargs, "o32_getgid" }, /* 4047 */
1421 { 0, 0, printargs, "o32_signal" }, /* 4048 */
1422@@ -4440,8 +4440,8 @@
1423 { 0, 0, printargs, "o32_swapon" }, /* 4087 */
1424 { 0, 0, printargs, "o32_reboot" }, /* 4088 */
1425 { 0, 0, printargs, "o32_readdir" }, /* 4089 */
1426- { 0, 0, printargs, "o32_old_mmap" }, /* 4090 */
1427- { 0, 0, printargs, "o32_munmap" }, /* 4091 */
1428+ { 0, TM, printargs, "o32_old_mmap" }, /* 4090 */
1429+ { 0, TM, printargs, "o32_munmap" }, /* 4091 */
1430 { 0, 0, printargs, "o32_truncate" }, /* 4092 */
1431 { 0, 0, printargs, "o32_ftruncate" }, /* 4093 */
1432 { 0, 0, printargs, "o32_fchmod" }, /* 4094 */
1433@@ -4475,7 +4475,7 @@
1434 { 0, 0, printargs, "o32_uname" }, /* 4122 */
1435 { 0, 0, printargs, "o32_modify_ldt" }, /* 4123 */
1436 { 0, 0, printargs, "o32_adjtimex" }, /* 4124 */
1437- { 0, 0, printargs, "o32_mprotect" }, /* 4125 */
1438+ { 0, TM, printargs, "o32_mprotect" }, /* 4125 */
1439 { 0, 0, printargs, "o32_sigprocmask" }, /* 4126 */
1440 { 0, 0, printargs, "o32_create_module" }, /* 4127 */
1441 { 0, 0, printargs, "o32_init_module" }, /* 4128 */
1442@@ -4494,7 +4494,7 @@
1443 { 0, 0, printargs, "o32_getdents" }, /* 4141 */
1444 { 0, 0, printargs, "o32__newselect" }, /* 4142 */
1445 { 0, 0, printargs, "o32_flock" }, /* 4143 */
1446- { 0, 0, printargs, "o32_msync" }, /* 4144 */
1447+ { 0, TM, printargs, "o32_msync" }, /* 4144 */
1448 { 0, 0, printargs, "o32_readv" }, /* 4145 */
1449 { 0, 0, printargs, "o32_writev" }, /* 4146 */
1450 { 0, 0, printargs, "o32_cacheflush" }, /* 4147 */
1451@@ -4504,10 +4504,10 @@
1452 { 0, 0, printargs, "o32_getsid" }, /* 4151 */
1453 { 0, 0, printargs, "o32_fdatasync" }, /* 4152 */
1454 { 0, 0, printargs, "o32__sysctl" }, /* 4153 */
1455- { 0, 0, printargs, "o32_mlock" }, /* 4154 */
1456- { 0, 0, printargs, "o32_munlock" }, /* 4155 */
1457- { 0, 0, printargs, "o32_mlockall" }, /* 4156 */
1458- { 0, 0, printargs, "o32_munlockall" }, /* 4157 */
1459+ { 0, TM, printargs, "o32_mlock" }, /* 4154 */
1460+ { 0, TM, printargs, "o32_munlock" }, /* 4155 */
1461+ { 0, TM, printargs, "o32_mlockall" }, /* 4156 */
1462+ { 0, TM, printargs, "o32_munlockall" }, /* 4157 */
1463 { 0, 0, printargs, "o32_sched_setparam"}, /* 4158 */
1464 { 0, 0, printargs, "o32_sched_getparam"}, /* 4159 */
1465 { 0, 0, printargs, "o32_sched_setscheduler"}, /* 4160 */
1466@@ -4517,7 +4517,7 @@
1467 { 0, 0, printargs, "o32_sched_get_priority_min"},/* 4164 */
1468 { 0, 0, printargs, "o32_sched_rr_get_interval"}, /* 4165 */
1469 { 0, 0, printargs, "o32_nanosleep" }, /* 4166 */
1470- { 0, 0, printargs, "o32_mremap" }, /* 4167 */
1471+ { 0, TM, printargs, "o32_mremap" }, /* 4167 */
1472 { 0, 0, printargs, "o32_accept" }, /* 4168 */
1473 { 0, 0, printargs, "o32_bind" }, /* 4169 */
1474 { 0, 0, printargs, "o32_connect" }, /* 4170 */
1475@@ -4560,15 +4560,15 @@
1476 { 0, 0, printargs, "o32_sendfile" }, /* 4207 */
1477 { 0, 0, NULL, NULL }, /* 4208 */
1478 { 0, 0, NULL, NULL }, /* 4209 */
1479- { 0, 0, printargs, "o32_mmap" }, /* 4210 */
1480+ { 0, TM, printargs, "o32_mmap" }, /* 4210 */
1481 { 0, 0, printargs, "o32_truncate64" }, /* 4211 */
1482 { 0, 0, printargs, "o32_ftruncate64" }, /* 4212 */
1483 { 0, 0, printargs, "o32_stat64" }, /* 4213 */
1484 { 0, 0, printargs, "o32_lstat64" }, /* 4214 */
1485 { 0, 0, printargs, "o32_fstat64" }, /* 4215 */
1486 { 0, 0, printargs, "o32_pivot_root" }, /* 4216 */
1487- { 0, 0, printargs, "o32_mincore" }, /* 4217 */
1488- { 0, 0, printargs, "o32_madvise" }, /* 4218 */
1489+ { 0, TM, printargs, "o32_mincore" }, /* 4217 */
1490+ { 0, TM, printargs, "o32_madvise" }, /* 4218 */
1491 { 0, 0, printargs, "o32_getdents64" }, /* 4219 */
1492 { 0, 0, printargs, "o32_fcntl64" }, /* 4220 */
1493 { 0, 0, NULL, NULL }, /* 4221 */
1494@@ -4601,7 +4601,7 @@
1495 { 1, TD, printargs, "o32_epoll_create" }, /* 4248 */
1496 { 4, TD, printargs, "o32_epoll_ctl" }, /* 4249 */
1497 { 4, TD, printargs, "o32_epoll_wait" }, /* 4250 */
1498- { 5, 0, printargs, "o32_remap_file_pages"}, /* 4251 */
1499+ { 5, TM, printargs, "o32_remap_file_pages"}, /* 4251 */
1500 { 1, 0, printargs, "o32_set_tid_address"}, /* 4252 */
1501 { 0, 0, printargs, "o32_restart_syscall"}, /* 4253 */
1502 { MA, 0, printargs, "o32_fadvise64_64" }, /* 4254 */
1503@@ -4618,7 +4618,7 @@
1504 { 4, 0, printargs, "o32_clock_nanosleep"}, /* 4265 */
1505 { 3, TS, printargs, "o32_tgkill" }, /* 4266 */
1506 { 2, TF, printargs, "o32_utimes" }, /* 4267 */
1507- { 4, 0, printargs, "o32_mbind" }, /* 4268 */
1508+ { 4, TM, printargs, "o32_mbind" }, /* 4268 */
1509 { 0, 0, printargs, "o32_SYS_4269" }, /* 4269 */
1510 { 0, 0, printargs, "o32_SYS_4270" }, /* 4270 */
1511 { 4, 0, printargs, "o32_mq_open" }, /* 4271 */
1512@@ -4637,7 +4637,7 @@
1513 { 0, TD, printargs, "o32_inotify_init" }, /* 4284 */
1514 { 3, TD, printargs, "o32_inotify_add_watch" }, /* 4285 */
1515 { 2, TD, printargs, "o32_inotify_rm_watch" }, /* 4286 */
1516- { 4, 0, printargs, "o32_migrate_pages" }, /* 4287 */
1517+ { 4, TM, printargs, "o32_migrate_pages" }, /* 4287 */
1518 { 4, TD|TF, printargs, "o32_openat" }, /* 4288 */
1519 { 3, TD|TF, printargs, "o32_mkdirat" }, /* 4289 */
1520 { 4, TD|TF, printargs, "o32_mknodat" }, /* 4290 */
1521@@ -4658,7 +4658,7 @@
1522 { 4, TD, printargs, "o32_sync_file_range" }, /* 4305 */
1523 { 4, TD, printargs, "o32_tee" }, /* 4306 */
1524 { 4, TD, printargs, "o32_vmsplice" }, /* 4307 */
1525- { 6, 0, printargs, "o32_move_pages" }, /* 4308 */
1526+ { 6, TM, printargs, "o32_move_pages" }, /* 4308 */
1527 { 2, 0, printargs, "o32_set_robust_list" }, /* 4309 */
1528 { 3, 0, printargs, "o32_get_robust_list" }, /* 4310 */
1529 { 4, 0, printargs, "o32_kexec_load" }, /* 4311 */
1530@@ -5362,10 +5362,10 @@
1531 { 2, TF, sys_lstat, "lstat" }, /* 5006 */
1532 { 3, 0, sys_poll, "poll" }, /* 5007 */
1533 { 3, 0, sys_lseek, "lseek" }, /* 5008 */
1534- { 6, TD, sys_mmap, "mmap" }, /* 5009 */
1535- { 3, 0, sys_mprotect, "mprotect" }, /* 5010 */
1536- { 2, 0, sys_munmap, "munmap" }, /* 5011 */
1537- { 1, 0, sys_brk, "brk" }, /* 5012 */
1538+ { 6, TD|TM, sys_mmap, "mmap" }, /* 5009 */
1539+ { 3, TM, sys_mprotect, "mprotect" }, /* 5010 */
1540+ { 2, TM, sys_munmap, "munmap" }, /* 5011 */
1541+ { 1, TM, sys_brk, "brk" }, /* 5012 */
1542 { 4, TS, sys_rt_sigaction, "rt_sigaction" }, /* 5013 */
1543 { 4, TS, sys_rt_sigprocmask, "rt_sigprocmask"}, /* 5014 */
1544 { 3, 0, sys_ioctl, "ioctl" }, /* 5015 */
1545@@ -5377,10 +5377,10 @@
1546 { 1, 0, sys_pipe, "pipe" }, /* 5021 */
1547 { 5, 0, sys_select, "_newselect" }, /* 5022 */
1548 { 0, 0, sys_sched_yield, "sched_yield" }, /* 5023 */
1549- { 5, 0, sys_mremap, "mremap" }, /* 5024 */
1550- { 3, 0, sys_msync, "msync" }, /* 5025 */
1551- { 3, 0, sys_mincore, "mincore" }, /* 5026 */
1552- { 3, 0, sys_madvise, "madvise" }, /* 5027 */
1553+ { 5, TM, sys_mremap, "mremap" }, /* 5024 */
1554+ { 3, TM, sys_msync, "msync" }, /* 5025 */
1555+ { 3, TM, sys_mincore, "mincore" }, /* 5026 */
1556+ { 3, TM, sys_madvise, "madvise" }, /* 5027 */
1557 { 3, TI, sys_shmget, "shmget" }, /* 5028 */
1558 { 3, TI, sys_shmat, "shmgat" }, /* 5029 */
1559 { 3, TI, sys_shmctl, "shmctl" }, /* 5030 */
1560@@ -5499,10 +5499,10 @@
1561 { 1, 0, sys_sched_get_priority_max,"sched_get_priority_max"}, /* 5143 */
1562 { 1, 0, sys_sched_get_priority_min,"sched_get_priority_min"}, /* 5144 */
1563 { 2, 0, sys_sched_rr_get_interval,"sched_rr_get_interval"}, /* 5145 */
1564- { 2, 0, sys_mlock, "mlock" }, /* 5146 */
1565- { 2, 0, sys_munlock, "munlock" }, /* 5147 */
1566- { 1, 0, sys_mlockall, "mlockall" }, /* 5148 */
1567- { 0, 0, sys_munlockall, "munlockall" }, /* 5149 */
1568+ { 2, TM, sys_mlock, "mlock" }, /* 5146 */
1569+ { 2, TM, sys_munlock, "munlock" }, /* 5147 */
1570+ { 1, TM, sys_mlockall, "mlockall" }, /* 5148 */
1571+ { 0, TM, sys_munlockall, "munlockall" }, /* 5149 */
1572 { 0, 0, sys_vhangup, "vhangup" }, /* 5150 */
1573 { 2, 0, sys_pivotroot, "pivot_root" }, /* 5151 */
1574 { 1, 0, sys_sysctl, "_sysctl" }, /* 5152 */
1575@@ -5563,7 +5563,7 @@
1576 { 1, TD, sys_epoll_create, "epoll_create" }, /* 5207 */
1577 { 4, TD, sys_epoll_ctl, "epoll_ctl" }, /* 5208 */
1578 { 4, TD, sys_epoll_wait, "epoll_wait" }, /* 5209 */
1579- { 5, 0, sys_remap_file_pages, "remap_file_pages" }, /* 5210 */
1580+ { 5, TM, sys_remap_file_pages, "remap_file_pages" }, /* 5210 */
1581 { 0, TS, sys_rt_sigreturn, "rt_sigreturn" }, /* 5211 */
1582 { 1, 0, sys_set_tid_address, "set_tid_address" }, /* 5212 */
1583 { 0, 0, sys_restart_syscall, "restart_syscall" }, /* 5213 */
1584@@ -5580,7 +5580,7 @@
1585 { 4, 0, sys_clock_nanosleep, "clock_nanosleep"}, /* 5224 */
1586 { 3, TS, sys_tgkill, "tgkill" }, /* 5225 */
1587 { 2, TF, sys_utimes, "utimes" }, /* 5226 */
1588- { 6, 0, sys_mbind, "mbind" }, /* 5227 */
1589+ { 6, TM, sys_mbind, "mbind" }, /* 5227 */
1590 { 0, 0, NULL, NULL }, /* 5228 */
1591 { 0, 0, NULL, NULL }, /* 5229 */
1592 { 4, 0, sys_mq_open, "mq_open" }, /* 5230 */
1593@@ -5599,7 +5599,7 @@
1594 { 0, TD, sys_inotify_init, "inotify_init" }, /* 5243 */
1595 { 3, TD, sys_inotify_add_watch, "inotify_add_watch" }, /* 5244 */
1596 { 2, TD, sys_inotify_rm_watch, "inotify_rm_watch" }, /* 5245 */
1597- { 4, 0, sys_migrate_pages, "migrate_pages" }, /* 5246 */
1598+ { 4, TM, sys_migrate_pages, "migrate_pages" }, /* 5246 */
1599 { 4, TD|TF, sys_openat, "openat" }, /* 5247 */
1600 { 3, TD|TF, sys_mkdirat, "mkdirat" }, /* 5248 */
1601 { 4, TD|TF, sys_mknodat, "mknodat" }, /* 5249 */
1602@@ -5620,7 +5620,7 @@
1603 { 4, TD, sys_sync_file_range, "sync_file_range" }, /* 5264 */
1604 { 4, TD, sys_tee, "tee" }, /* 5265 */
1605 { 4, TD, sys_vmsplice, "vmsplice" }, /* 5266 */
1606- { 6, 0, printargs, "move_pages" }, /* 5267 */
1607+ { 6, TM, printargs, "move_pages" }, /* 5267 */
1608 { 2, 0, sys_set_robust_list, "set_robust_list" }, /* 5268 */
1609 { 3, 0, sys_get_robust_list, "get_robust_list" }, /* 5269 */
1610 { 4, 0, sys_kexec_load, "kexec_load" }, /* 5270 */
1611@@ -5669,10 +5669,10 @@
1612 { 0, 0, printargs, "n64_lstat" }, /* 5006 */
1613 { 0, 0, printargs, "n64_poll" }, /* 5007 */
1614 { 0, 0, printargs, "n64_lseek" }, /* 5008 */
1615- { 0, 0, printargs, "n64_mmap" }, /* 5009 */
1616- { 0, 0, printargs, "n64_mprotect" }, /* 5010 */
1617- { 0, 0, printargs, "n64_munmap" }, /* 5011 */
1618- { 0, 0, printargs, "n64_brk" }, /* 5012 */
1619+ { 0, TM, printargs, "n64_mmap" }, /* 5009 */
1620+ { 0, TM, printargs, "n64_mprotect" }, /* 5010 */
1621+ { 0, TM, printargs, "n64_munmap" }, /* 5011 */
1622+ { 0, TM, printargs, "n64_brk" }, /* 5012 */
1623 { 0, 0, printargs, "n64_rt_sigaction" }, /* 5013 */
1624 { 0, 0, printargs, "n64_rt_sigprocmask" }, /* 5014 */
1625 { 0, 0, printargs, "n64_ioctl" }, /* 5015 */
1626@@ -5684,10 +5684,10 @@
1627 { 0, 0, printargs, "n64_pipe" }, /* 5021 */
1628 { 0, 0, printargs, "n64__newselect" }, /* 5022 */
1629 { 0, 0, printargs, "n64_sched_yield" }, /* 5023 */
1630- { 0, 0, printargs, "n64_mremap" }, /* 5024 */
1631- { 0, 0, printargs, "n64_msync" }, /* 5025 */
1632- { 0, 0, printargs, "n64_mincore" }, /* 5026 */
1633- { 0, 0, printargs, "n64_madvise" }, /* 5027 */
1634+ { 0, TM, printargs, "n64_mremap" }, /* 5024 */
1635+ { 0, TM, printargs, "n64_msync" }, /* 5025 */
1636+ { 0, TM, printargs, "n64_mincore" }, /* 5026 */
1637+ { 0, TM, printargs, "n64_madvise" }, /* 5027 */
1638 { 0, 0, printargs, "n64_shmget" }, /* 5028 */
1639 { 0, 0, printargs, "n64_shmgat" }, /* 5029 */
1640 { 0, 0, printargs, "n64_shmctl" }, /* 5030 */
1641@@ -5806,10 +5806,10 @@
1642 { 0, 0, printargs, "n64_sched_get_priority_max"}, /* 5143 */
1643 { 0, 0, printargs, "n64_sched_get_priority_min"}, /* 5144 */
1644 { 0, 0, printargs, "n64_sched_rr_get_interval"}, /* 5145 */
1645- { 0, 0, printargs, "n64_mlock" }, /* 5146 */
1646- { 0, 0, printargs, "n64_munlock" }, /* 5147 */
1647- { 0, 0, printargs, "n64_mlockall" }, /* 5148 */
1648- { 0, 0, printargs, "n64_munlockall" }, /* 5149 */
1649+ { 0, TM, printargs, "n64_mlock" }, /* 5146 */
1650+ { 0, TM, printargs, "n64_munlock" }, /* 5147 */
1651+ { 0, TM, printargs, "n64_mlockall" }, /* 5148 */
1652+ { 0, TM, printargs, "n64_munlockall" }, /* 5149 */
1653 { 0, 0, printargs, "n64_vhangup" }, /* 5150 */
1654 { 0, 0, printargs, "n64_pivot_root" }, /* 5151 */
1655 { 0, 0, printargs, "n64__sysctl" }, /* 5152 */
1656@@ -5870,7 +5870,7 @@
1657 { 0, 0, printargs, "n64_epoll_create" }, /* 5207 */
1658 { 0, 0, printargs, "n64_epoll_ctl" }, /* 5208 */
1659 { 0, 0, printargs, "n64_epoll_wait" }, /* 5209 */
1660- { 0, 0, printargs, "n64_remap_file_pages" }, /* 5210 */
1661+ { 0, TM, printargs, "n64_remap_file_pages" }, /* 5210 */
1662 { 0, 0, printargs, "n64_rt_sigreturn" }, /* 5211 */
1663 { 1, 0, printargs, "n64_set_tid_address" }, /* 5212 */
1664 { 0, 0, printargs, "n64_restart_syscall" }, /* 5213 */
1665@@ -5887,7 +5887,7 @@
1666 { 0, 0, printargs, "n64_clock_nanosleep" }, /* 5224 */
1667 { 0, 0, printargs, "n64_tgkill" }, /* 5225 */
1668 { 0, 0, printargs, "n64_utimes" }, /* 5226 */
1669- { 0, 0, printargs, "n64_mbind" }, /* 5227 */
1670+ { 0, TM, printargs, "n64_mbind" }, /* 5227 */
1671 { 0, 0, printargs, "n64_SYS_5228" }, /* 5228 */
1672 { 0, 0, printargs, "n64_SYS_5228" }, /* 5229 */
1673 { 0, 0, printargs, "n64_mq_open" }, /* 5230 */
1674@@ -5906,7 +5906,7 @@
1675 { 0, 0, printargs, "n64_inotify_init" }, /* 5243 */
1676 { 0, 0, printargs, "n64_inotify_add_watch" }, /* 5244 */
1677 { 0, 0, printargs, "n64_inotify_rm_watch" }, /* 5245 */
1678- { 0, 0, printargs, "n64_migrate_pages" }, /* 5246 */
1679+ { 0, TM, printargs, "n64_migrate_pages" }, /* 5246 */
1680 { 0, 0, printargs, "n64_openat" }, /* 5247 */
1681 { 0, 0, printargs, "n64_mkdirat" }, /* 5248 */
1682 { 0, 0, printargs, "n64_mknodat" }, /* 5249 */
1683@@ -5927,7 +5927,7 @@
1684 { 0, 0, printargs, "n64_sync_file_range" }, /* 5264 */
1685 { 0, 0, printargs, "n64_tee" }, /* 5265 */
1686 { 0, 0, printargs, "n64_vmsplice" }, /* 5266 */
1687- { 0, 0, printargs, "n64_move_pages" }, /* 5267 */
1688+ { 0, TM, printargs, "n64_move_pages" }, /* 5267 */
1689 { 0, 0, printargs, "n64_set_robust_list" }, /* 5268 */
1690 { 0, 0, printargs, "n64_get_robust_list" }, /* 5269 */
1691 { 0, 0, printargs, "n64_kexec_load" }, /* 5270 */
1692@@ -6673,10 +6673,10 @@
1693 { 2, TF, sys_lstat64, "lstat" }, /* 6006 */
1694 { 3, 0, sys_poll, "poll" }, /* 6007 */
1695 { 3, 0, sys_lseek, "lseek" }, /* 6008 */
1696- { 6, TD, sys_mmap, "mmap" }, /* 6009 */
1697- { 3, 0, sys_mprotect, "mprotect" }, /* 6010 */
1698- { 2, 0, sys_munmap, "munmap" }, /* 6011 */
1699- { 1, 0, sys_brk, "brk" }, /* 6012 */
1700+ { 6, TD|TM, sys_mmap, "mmap" }, /* 6009 */
1701+ { 3, TM, sys_mprotect, "mprotect" }, /* 6010 */
1702+ { 2, TM, sys_munmap, "munmap" }, /* 6011 */
1703+ { 1, TM, sys_brk, "brk" }, /* 6012 */
1704 { 4, TS, sys_rt_sigaction, "rt_sigaction" }, /* 6013 */
1705 { 4, TS, sys_rt_sigprocmask, "rt_sigprocmask"}, /* 6014 */
1706 { 3, 0, sys_ioctl, "ioctl" }, /* 6015 */
1707@@ -6688,10 +6688,10 @@
1708 { 1, 0, sys_pipe, "pipe" }, /* 6021 */
1709 { 5, 0, sys_select, "_newselect" }, /* 6022 */
1710 { 0, 0, sys_sched_yield, "sched_yield" }, /* 6023 */
1711- { 5, 0, sys_mremap, "mremap" }, /* 6024 */
1712- { 3, 0, sys_msync, "msync" }, /* 6025 */
1713- { 3, 0, sys_mincore, "mincore" }, /* 6026 */
1714- { 3, 0, sys_madvise, "madvise" }, /* 6027 */
1715+ { 5, TM, sys_mremap, "mremap" }, /* 6024 */
1716+ { 3, TM, sys_msync, "msync" }, /* 6025 */
1717+ { 3, TM, sys_mincore, "mincore" }, /* 6026 */
1718+ { 3, TM, sys_madvise, "madvise" }, /* 6027 */
1719 { 3, TI, sys_shmget, "shmget" }, /* 6028 */
1720 { 3, TI, sys_shmat, "shmgat" }, /* 6029 */
1721 { 3, TI, sys_shmctl, "shmctl" }, /* 6030 */
1722@@ -6810,10 +6810,10 @@
1723 { 1, 0, sys_sched_get_priority_max,"sched_get_priority_max"}, /* 6143 */
1724 { 1, 0, sys_sched_get_priority_min,"sched_get_priority_min"}, /* 6144 */
1725 { 2, 0, sys_sched_rr_get_interval,"sched_rr_get_interval"}, /* 6145 */
1726- { 2, 0, sys_mlock, "mlock" }, /* 6146 */
1727- { 2, 0, sys_munlock, "munlock" }, /* 6147 */
1728- { 1, 0, sys_mlockall, "mlockall" }, /* 6148 */
1729- { 0, 0, sys_munlockall, "munlockall" }, /* 6149 */
1730+ { 2, TM, sys_mlock, "mlock" }, /* 6146 */
1731+ { 2, TM, sys_munlock, "munlock" }, /* 6147 */
1732+ { 1, TM, sys_mlockall, "mlockall" }, /* 6148 */
1733+ { 0, TM, sys_munlockall, "munlockall" }, /* 6149 */
1734 { 0, 0, sys_vhangup, "vhangup" }, /* 6150 */
1735 { 2, 0, sys_pivotroot, "pivot_root" }, /* 6151 */
1736 { 1, 0, sys_sysctl, "_sysctl" }, /* 6152 */
1737@@ -6874,7 +6874,7 @@
1738 { 1, TD, sys_epoll_create, "epoll_create" }, /* 6207 */
1739 { 4, TD, sys_epoll_ctl, "epoll_ctl" }, /* 6208 */
1740 { 4, TD, sys_epoll_wait, "epoll_wait" }, /* 6209 */
1741- { 5, 0, sys_remap_file_pages, "remap_file_pages" }, /* 6210 */
1742+ { 5, TM, sys_remap_file_pages, "remap_file_pages" }, /* 6210 */
1743 { 0, TS, sys_rt_sigreturn, "rt_sigreturn" }, /* 6211 */
1744 { 3, 0, sys_fcntl, "fcntl64" }, /* 6212 */
1745 { 1, 0, sys_set_tid_address, "set_tid_address" }, /* 6213 */
1746@@ -6914,7 +6914,7 @@
1747 { 0, TD, sys_inotify_init, "inotify_init" }, /* 6247 */
1748 { 3, TD, sys_inotify_add_watch, "inotify_add_watch" }, /* 6248 */
1749 { 2, TD, sys_inotify_rm_watch, "inotify_rm_watch" }, /* 6249 */
1750- { 4, 0, sys_migrate_pages, "migrate_pages" }, /* 6250 */
1751+ { 4, TM, sys_migrate_pages, "migrate_pages" }, /* 6250 */
1752 { 4, TD|TF, sys_openat, "openat" }, /* 6251 */
1753 { 3, TD|TF, sys_mkdirat, "mkdirat" }, /* 6252 */
1754 { 4, TD|TF, sys_mknodat, "mknodat" }, /* 6253 */
1755@@ -6935,7 +6935,7 @@
1756 { 4, TD, sys_sync_file_range, "sync_file_range" }, /* 6268 */
1757 { 4, TD, sys_tee, "tee" }, /* 6269 */
1758 { 4, TD, sys_vmsplice, "vmsplice" }, /* 6270 */
1759- { 6, 0, printargs, "move_pages" }, /* 6271 */
1760+ { 6, TM, printargs, "move_pages" }, /* 6271 */
1761 { 2, 0, sys_set_robust_list, "set_robust_list" }, /* 6272 */
1762 { 3, 0, sys_get_robust_list, "get_robust_list" }, /* 6273 */
1763 { 4, 0, sys_kexec_load, "kexec_load" }, /* 6274 */
1764@@ -6986,10 +6986,10 @@
1765 { 0, 0, printargs, "n32_lstat" }, /* 6006 */
1766 { 0, 0, printargs, "n32_poll" }, /* 6007 */
1767 { 0, 0, printargs, "n32_lseek" }, /* 6008 */
1768- { 0, 0, printargs, "n32_mmap" }, /* 6009 */
1769- { 0, 0, printargs, "n32_mprotect" }, /* 6010 */
1770- { 0, 0, printargs, "n32_munmap" }, /* 6011 */
1771- { 0, 0, printargs, "n32_brk" }, /* 6012 */
1772+ { 0, TM, printargs, "n32_mmap" }, /* 6009 */
1773+ { 0, TM, printargs, "n32_mprotect" }, /* 6010 */
1774+ { 0, TM, printargs, "n32_munmap" }, /* 6011 */
1775+ { 0, TM, printargs, "n32_brk" }, /* 6012 */
1776 { 0, 0, printargs, "n32_rt_sigaction" }, /* 6013 */
1777 { 0, 0, printargs, "n32_rt_sigprocmask" }, /* 6014 */
1778 { 0, 0, printargs, "n32_ioctl" }, /* 6015 */
1779@@ -7001,10 +7001,10 @@
1780 { 0, 0, printargs, "n32_pipe" }, /* 6021 */
1781 { 0, 0, printargs, "n32__newselect" }, /* 6022 */
1782 { 0, 0, printargs, "n32_sched_yield" }, /* 6023 */
1783- { 0, 0, printargs, "n32_mremap" }, /* 6024 */
1784- { 0, 0, printargs, "n32_msync" }, /* 6025 */
1785- { 0, 0, printargs, "n32_mincore" }, /* 6026 */
1786- { 0, 0, printargs, "n32_madvise" }, /* 6027 */
1787+ { 0, TM, printargs, "n32_mremap" }, /* 6024 */
1788+ { 0, TM, printargs, "n32_msync" }, /* 6025 */
1789+ { 0, TM, printargs, "n32_mincore" }, /* 6026 */
1790+ { 0, TM, printargs, "n32_madvise" }, /* 6027 */
1791 { 0, 0, printargs, "n32_shmget" }, /* 6028 */
1792 { 0, 0, printargs, "n32_shmgat" }, /* 6029 */
1793 { 0, 0, printargs, "n32_shmctl" }, /* 6030 */
1794@@ -7123,10 +7123,10 @@
1795 { 0, 0, printargs, "n32_sched_get_priority_max"}, /* 6143 */
1796 { 0, 0, printargs, "n32_sched_get_priority_min"}, /* 6144 */
1797 { 0, 0, printargs, "n32_sched_rr_get_interval"}, /* 6145 */
1798- { 0, 0, printargs, "n32_mlock" }, /* 6146 */
1799- { 0, 0, printargs, "n32_munlock" }, /* 6147 */
1800- { 0, 0, printargs, "n32_mlockall" }, /* 6148 */
1801- { 0, 0, printargs, "n32_munlockall" }, /* 6149 */
1802+ { 0, TM, printargs, "n32_mlock" }, /* 6146 */
1803+ { 0, TM, printargs, "n32_munlock" }, /* 6147 */
1804+ { 0, TM, printargs, "n32_mlockall" }, /* 6148 */
1805+ { 0, TM, printargs, "n32_munlockall" }, /* 6149 */
1806 { 0, 0, printargs, "n32_vhangup" }, /* 6150 */
1807 { 0, 0, printargs, "n32_pivot_root" }, /* 6151 */
1808 { 0, 0, printargs, "n32__sysctl" }, /* 6152 */
1809@@ -7187,7 +7187,7 @@
1810 { 0, 0, printargs, "n32_epoll_create" }, /* 6207 */
1811 { 0, 0, printargs, "n32_epoll_ctl" }, /* 6208 */
1812 { 0, 0, printargs, "n32_epoll_wait" }, /* 6209 */
1813- { 0, 0, printargs, "n32_remap_file_pages" }, /* 6210 */
1814+ { 0, TM, printargs, "n32_remap_file_pages" }, /* 6210 */
1815 { 0, 0, printargs, "n32_rt_sigreturn" }, /* 6211 */
1816 { 0, 0, printargs, "n32_fcntl64" }, /* 6212 */
1817 { 0, 0, printargs, "n32_set_tid_address" }, /* 6213 */
1818@@ -7227,7 +7227,7 @@
1819 { 0, TD, printargs, "n32_inotify_init" }, /* 6247 */
1820 { 3, TD, printargs, "n32_inotify_add_watch" }, /* 6248 */
1821 { 2, TD, printargs, "n32_inotify_rm_watch" }, /* 6249 */
1822- { 4, 0, printargs, "n32_migrate_pages" }, /* 6250 */
1823+ { 4, TM, printargs, "n32_migrate_pages" }, /* 6250 */
1824 { 4, TD|TF, printargs, "n32_openat" }, /* 6251 */
1825 { 3, TD|TF, printargs, "n32_mkdirat" }, /* 6252 */
1826 { 4, TD|TF, printargs, "n32_mknodat" }, /* 6253 */
1827@@ -7248,7 +7248,7 @@
1828 { 4, TD, printargs, "n32_sync_file_range" }, /* 6268 */
1829 { 4, TD, printargs, "n32_tee" }, /* 6269 */
1830 { 4, TD, printargs, "n32_vmsplice" }, /* 6270 */
1831- { 6, 0, printargs, "n32_move_pages" }, /* 6271 */
1832+ { 6, TM, printargs, "n32_move_pages" }, /* 6271 */
1833 { 2, 0, printargs, "n32_set_robust_list" }, /* 6272 */
1834 { 3, 0, printargs, "n32_get_robust_list" }, /* 6273 */
1835 { 5, 0, printargs, "n32_kexec_load" }, /* 6274 */
1836diff --git a/linux/powerpc/syscallent.h b/linux/powerpc/syscallent.h
1837index 35f3b39..3228f97 100644
1838--- a/linux/powerpc/syscallent.h
1839+++ b/linux/powerpc/syscallent.h
1840@@ -43,7 +43,7 @@
1841 { 3, TF, sys_mknod, "mknod" }, /* 14 */
1842 { 2, TF, sys_chmod, "chmod" }, /* 15 */
1843 { 3, TF, sys_chown, "lchown" }, /* 16 */
1844- { 0, 0, sys_break, "break" }, /* 17 */
1845+ { 0, TM, sys_break, "break" }, /* 17 */
1846 { 2, TF, sys_oldstat, "oldstat" }, /* 18 */
1847 { 3, TF, sys_lseek, "lseek" }, /* 19 */
1848 { 0, 0, sys_getpid, "getpid" }, /* 20 */
1849@@ -71,7 +71,7 @@
1850 { 1, TD, sys_pipe, "pipe" }, /* 42 */
1851 { 1, 0, sys_times, "times" }, /* 43 */
1852 { 0, 0, sys_prof, "prof" }, /* 44 */
1853- { 1, 0, sys_brk, "brk" }, /* 45 */
1854+ { 1, TM, sys_brk, "brk" }, /* 45 */
1855 { 1, 0, sys_setgid, "setgid" }, /* 46 */
1856 { 0, NF, sys_getgid, "getgid" }, /* 47 */
1857 { 3, TS, sys_signal, "signal" }, /* 48 */
1858@@ -116,8 +116,8 @@
1859 { 2, TF, sys_swapon, "swapon" }, /* 87 */
1860 { 4, 0, sys_reboot, "reboot" }, /* 88 */
1861 { 3, TD, sys_readdir, "readdir" }, /* 89 */
1862- { 6, TD, sys_mmap, "mmap" }, /* 90 */
1863- { 2, 0, sys_munmap, "munmap" }, /* 91 */
1864+ { 6, TD|TM, sys_mmap, "mmap" }, /* 90 */
1865+ { 2, TM, sys_munmap, "munmap" }, /* 91 */
1866 { 2, TF, sys_truncate, "truncate" }, /* 92 */
1867 { 2, TD, sys_ftruncate, "ftruncate" }, /* 93 */
1868 { 2, TD, sys_fchmod, "fchmod" }, /* 94 */
1869@@ -151,7 +151,7 @@
1870 { 1, 0, sys_uname, "uname" }, /* 122 */
1871 { 5, 0, printargs, "modify_ldt" }, /* 123 */
1872 { 1, 0, sys_adjtimex, "adjtimex" }, /* 124 */
1873- { 3, 0, sys_mprotect, "mprotect" }, /* 125 */
1874+ { 3, TM, sys_mprotect, "mprotect" }, /* 125 */
1875 { 3, TS, sys_sigprocmask, "sigprocmask" }, /* 126 */
1876 { 2, 0, sys_create_module, "create_module" }, /* 127 */
1877 { 3, 0, sys_init_module, "init_module" }, /* 128 */
1878@@ -170,16 +170,16 @@
1879 { 3, TD, sys_getdents, "getdents" }, /* 141 */
1880 { 5, TD, sys_select, "select" }, /* 142 */
1881 { 2, TD, sys_flock, "flock" }, /* 143 */
1882- { 3, 0, sys_msync, "msync" }, /* 144 */
1883+ { 3, TM, sys_msync, "msync" }, /* 144 */
1884 { 3, TD, sys_readv, "readv" }, /* 145 */
1885 { 3, TD, sys_writev, "writev" }, /* 146 */
1886 { 1, 0, sys_getsid, "getsid" }, /* 147 */
1887 { 1, TD, sys_fdatasync, "fdatasync" }, /* 148 */
1888 { 1, 0, sys_sysctl, "_sysctl" }, /* 149 */
1889- { 2, 0, sys_mlock, "mlock" }, /* 150 */
1890- { 2, 0, sys_munlock, "munlock" }, /* 151 */
1891- { 1, 0, sys_mlockall, "mlockall" }, /* 152 */
1892- { 0, 0, sys_munlockall, "munlockall" }, /* 153 */
1893+ { 2, TM, sys_mlock, "mlock" }, /* 150 */
1894+ { 2, TM, sys_munlock, "munlock" }, /* 151 */
1895+ { 1, TM, sys_mlockall, "mlockall" }, /* 152 */
1896+ { 0, TM, sys_munlockall, "munlockall" }, /* 153 */
1897 { 2, 0, sys_sched_setparam, "sched_setparam" }, /* 154 */
1898 { 2, 0, sys_sched_getparam, "sched_getparam" }, /* 155 */
1899 { 3, 0, sys_sched_setscheduler, "sched_setscheduler" }, /* 156 */
1900@@ -189,7 +189,7 @@
1901 { 1, 0, sys_sched_get_priority_min,"sched_get_priority_min"}, /* 160 */
1902 { 2, 0, sys_sched_rr_get_interval,"sched_rr_get_interval"}, /* 161 */
1903 { 2, 0, sys_nanosleep, "nanosleep" }, /* 162 */
1904- { 5, 0, sys_mremap, "mremap" }, /* 163 */
1905+ { 5, TM, sys_mremap, "mremap" }, /* 163 */
1906 { 3, 0, sys_setresuid, "setresuid" }, /* 164 */
1907 { 3, 0, sys_getresuid, "getresuid" }, /* 165 */
1908 { 5, 0, sys_query_module, "query_module" }, /* 166 */
1909@@ -218,7 +218,7 @@
1910 { 0, TP, sys_vfork, "vfork" }, /* 189 */
1911 { 2, 0, sys_getrlimit, "getrlimit" }, /* 190 */
1912 { 5, TD, sys_readahead, "readahead" }, /* 190 */
1913- { 6, TD, sys_mmap, "mmap2" }, /* 192 */
1914+ { 6, TD|TM, sys_mmap, "mmap2" }, /* 192 */
1915 { 4, TF, sys_truncate64, "truncate64" }, /* 193 */
1916 { 4, TD, sys_ftruncate64, "ftruncate64" }, /* 194 */
1917 { 2, TF, sys_stat64, "stat64" }, /* 195 */
1918@@ -231,8 +231,8 @@
1919 { 3, TD, sys_getdents64, "getdents64" }, /* 202 */
1920 { 2, TF, sys_pivotroot, "pivot_root" }, /* 203 */
1921 { 3, TD, sys_fcntl, "fcntl64" }, /* 204 */
1922- { 3, 0, sys_madvise, "madvise" }, /* 205 */
1923- { 3, 0, sys_mincore, "mincore" }, /* 206 */
1924+ { 3, TM, sys_madvise, "madvise" }, /* 205 */
1925+ { 3, TM, sys_mincore, "mincore" }, /* 206 */
1926 { 0, 0, sys_gettid, "gettid" }, /* 207 */
1927 { 2, TS, sys_kill, "tkill" }, /* 208 */
1928 { 5, TF, sys_setxattr, "setxattr" }, /* 209 */
1929@@ -265,7 +265,7 @@
1930 { 1, TD, sys_epoll_create, "epoll_create" }, /* 236 */
1931 { 4, TD, sys_epoll_ctl, "epoll_ctl" }, /* 237 */
1932 { 4, TD, sys_epoll_wait, "epoll_wait" }, /* 238 */
1933- { 5, 0, sys_remap_file_pages, "remap_file_pages" }, /* 239 */
1934+ { 5, TM, sys_remap_file_pages, "remap_file_pages" }, /* 239 */
1935 { 3, 0, sys_timer_create, "timer_create" }, /* 240 */
1936 { 4, 0, sys_timer_settime, "timer_settime" }, /* 241 */
1937 { 2, 0, sys_timer_gettime, "timer_gettime" }, /* 242 */
1938@@ -284,10 +284,10 @@
1939 { 1, 0, printargs, "rtas" }, /* 255 */
1940 { 5, 0, printargs, "debug_setcontext" }, /* 256 */
1941 { 5, 0, sys_vserver, "vserver" }, /* 257 */
1942- { 5, 0, sys_migrate_pages, "migrate_pages" }, /* 258 */
1943- { 6, 0, sys_mbind, "mbind" }, /* 259 */
1944- { 5, 0, sys_get_mempolicy, "get_mempolicy" }, /* 260 */
1945- { 3, 0, sys_set_mempolicy, "set_mempolicy" }, /* 261 */
1946+ { 5, TM, sys_migrate_pages, "migrate_pages" }, /* 258 */
1947+ { 6, TM, sys_mbind, "mbind" }, /* 259 */
1948+ { 5, TM, sys_get_mempolicy, "get_mempolicy" }, /* 260 */
1949+ { 3, TM, sys_set_mempolicy, "set_mempolicy" }, /* 261 */
1950 { 4, 0, sys_mq_open, "mq_open" }, /* 262 */
1951 { 1, 0, sys_mq_unlink, "mq_unlink" }, /* 263 */
1952 { 5, 0, sys_mq_timedsend, "mq_timedsend" }, /* 264 */
1953@@ -327,7 +327,7 @@
1954 { 3, TD|TF, sys_faccessat, "faccessat" }, /* 298 */
1955 { 3, 0, sys_get_robust_list, "get_robust_list" }, /* 299 */
1956 { 2, 0, sys_set_robust_list, "set_robust_list" }, /* 300 */
1957- { 6, 0, sys_move_pages, "move_pages" }, /* 301 */
1958+ { 6, TM, sys_move_pages, "move_pages" }, /* 301 */
1959 { 3, 0, sys_getcpu, "getcpu" }, /* 302 */
1960 { 6, TD, sys_epoll_pwait, "epoll_pwait" }, /* 303 */
1961 { 4, TD|TF, sys_utimensat, "utimensat" }, /* 304 */
1962diff --git a/linux/s390/syscallent.h b/linux/s390/syscallent.h
1963index ccd4b01..1ce0fe2 100644
1964--- a/linux/s390/syscallent.h
1965+++ b/linux/s390/syscallent.h
1966@@ -73,7 +73,7 @@
1967 { 1, TD, sys_pipe, "pipe" }, /* 42 */
1968 { 1, 0, sys_times, "times" }, /* 43 */
1969 { MA, 0, NULL, NULL }, /* 44 */
1970- { 1, 0, sys_brk, "brk" }, /* 45 */
1971+ { 1, TM, sys_brk, "brk" }, /* 45 */
1972 { MA, 0, NULL, NULL }, /* 46 */
1973 { MA, 0, NULL, NULL }, /* 47 */
1974 { 3, TS, sys_signal, "signal" }, /* 48 */
1975@@ -118,8 +118,8 @@
1976 { 2, TF, sys_swapon, "swapon" }, /* 87 */
1977 { 4, 0, sys_reboot, "reboot" }, /* 88 */
1978 { 3, TD, sys_readdir, "readdir" }, /* 89 */
1979- { 6, TD, sys_old_mmap, "mmap" }, /* 90 */
1980- { 2, 0, sys_munmap, "munmap" }, /* 91 */
1981+ { 6, TD|TM, sys_old_mmap, "mmap" }, /* 90 */
1982+ { 2, TM, sys_munmap, "munmap" }, /* 91 */
1983 { 2, TF, sys_truncate, "truncate" }, /* 92 */
1984 { 2, TD, sys_ftruncate, "ftruncate" }, /* 93 */
1985 { 2, TD, sys_fchmod, "fchmod" }, /* 94 */
1986@@ -153,7 +153,7 @@
1987 { 1, 0, sys_uname, "uname" }, /* 122 */
1988 { MA, 0, NULL, NULL }, /* 123 */
1989 { 1, 0, sys_adjtimex, "adjtimex" }, /* 124 */
1990- { 3, 0, sys_mprotect, "mprotect" }, /* 125 */
1991+ { 3, TM, sys_mprotect, "mprotect" }, /* 125 */
1992 { 3, TS, sys_sigprocmask, "sigprocmask" }, /* 126 */
1993 { 2, 0, sys_create_module, "create_module" }, /* 127 */
1994 { 3, 0, sys_init_module, "init_module" }, /* 128 */
1995@@ -172,16 +172,16 @@
1996 { 3, TD, sys_getdents, "getdents" }, /* 141 */
1997 { 5, TD, sys_select, "select" }, /* 142 */
1998 { 2, TD, sys_flock, "flock" }, /* 143 */
1999- { 3, 0, sys_msync, "msync" }, /* 144 */
2000+ { 3, TM, sys_msync, "msync" }, /* 144 */
2001 { 3, TD, sys_readv, "readv" }, /* 145 */
2002 { 3, TD, sys_writev, "writev" }, /* 146 */
2003 { 1, 0, sys_getsid, "getsid" }, /* 147 */
2004 { 1, TD, sys_fdatasync, "fdatasync" }, /* 148 */
2005 { 1, 0, sys_sysctl, "_sysctl" }, /* 149 */
2006- { 2, 0, sys_mlock, "mlock" }, /* 150 */
2007- { 2, 0, sys_munlock, "munlock" }, /* 151 */
2008- { 1, 0, sys_mlockall, "mlockall" }, /* 152 */
2009- { 0, 0, sys_munlockall, "munlockall" }, /* 153 */
2010+ { 2, TM, sys_mlock, "mlock" }, /* 150 */
2011+ { 2, TM, sys_munlock, "munlock" }, /* 151 */
2012+ { 1, TM, sys_mlockall, "mlockall" }, /* 152 */
2013+ { 0, TM, sys_munlockall, "munlockall" }, /* 153 */
2014 { 0, 0, sys_sched_setparam, "sched_setparam"}, /* 154 */
2015 { 2, 0, sys_sched_getparam, "sched_getparam"}, /* 155 */
2016 { 3, 0, sys_sched_setscheduler, "sched_setscheduler"}, /* 156 */
2017@@ -191,7 +191,7 @@
2018 { 1, 0, sys_sched_get_priority_min,"sched_get_priority_min"}, /* 160 */
2019 { 2, 0, sys_sched_rr_get_interval,"sched_rr_get_interval"}, /* 161 */
2020 { 2, 0, sys_nanosleep, "nanosleep" }, /* 162 */
2021- { 5, 0, sys_mremap, "mremap" }, /* 163 */
2022+ { 5, TM, sys_mremap, "mremap" }, /* 163 */
2023 { 3, 0, sys_setresuid, "setresuid" }, /* 164 */
2024 { 3, 0, sys_getresuid, "getresuid" }, /* 165 */
2025 { MA, 0, NULL, NULL }, /* 166 */
2026@@ -220,7 +220,7 @@
2027 { 5, 0, sys_putpmsg, "putpmsg" }, /* 189 */
2028 { 0, TP, sys_vfork, "vfork" }, /* 190 */
2029 { 2, 0, sys_getrlimit, "getrlimit" }, /* 191 */
2030- { 6, TD, sys_mmap, "mmap2" }, /* 192 */
2031+ { 6, TD|TM, sys_mmap, "mmap2" }, /* 192 */
2032 { 2, TF, sys_truncate64, "truncate64" }, /* 193 */
2033 { 2, TD, sys_ftruncate64, "ftruncate64" }, /* 194 */
2034 { 2, TF, sys_stat64, "stat64" }, /* 195 */
2035@@ -246,8 +246,8 @@
2036 { 1, NF, sys_setfsuid, "setfsuid" }, /* 215 */
2037 { 1, NF, sys_setfsgid, "setfsgid" }, /* 216 */
2038 { 2, TF, sys_pivotroot, "pivot_root" }, /* 217 */
2039- { 3, 0, sys_mincore, "mincore" }, /* 218 */
2040- { 3, 0, sys_madvise, "madvise" }, /* 219 */
2041+ { 3, TM, sys_mincore, "mincore" }, /* 218 */
2042+ { 3, TM, sys_madvise, "madvise" }, /* 219 */
2043 { 3, TD, sys_getdents64, "getdents64" }, /* 220 */
2044 { 3, TD, sys_fcntl, "fcntl64" }, /* 221 */
2045 { 4, TD, sys_readahead, "readahead" }, /* 222 */
2046@@ -295,10 +295,10 @@
2047 { 5, TD, printargs, "fadvise64_64" }, /* 264 */
2048 { 3, TF, sys_statfs64, "statfs64" }, /* 265 */
2049 { 3, TF, sys_fstatfs64, "fstatfs64" }, /* 266 */
2050- { 5, 0, sys_remap_file_pages, "remap_file_pages"}, /* 267 */
2051- { 6, 0, sys_mbind, "mbind" }, /* 268 */
2052- { 5, 0, sys_get_mempolicy, "get_mempolicy" }, /* 269 */
2053- { 3, 0, sys_set_mempolicy, "set_mempolicy" }, /* 270 */
2054+ { 5, TM, sys_remap_file_pages, "remap_file_pages"}, /* 267 */
2055+ { 6, TM, sys_mbind, "mbind" }, /* 268 */
2056+ { 5, TM, sys_get_mempolicy, "get_mempolicy" }, /* 269 */
2057+ { 3, TM, sys_set_mempolicy, "set_mempolicy" }, /* 270 */
2058 { 4, 0, sys_mq_open, "mq_open" }, /* 271 */
2059 { 1, 0, sys_mq_unlink, "mq_unlink" }, /* 272 */
2060 { 5, 0, sys_mq_timedsend, "mq_timedsend" }, /* 273 */
2061@@ -315,7 +315,7 @@
2062 { 0, TD, sys_inotify_init, "inotify_init" }, /* 284 */
2063 { 3, TD, sys_inotify_add_watch, "inotify_add_watch" }, /* 285 */
2064 { 2, TD, sys_inotify_rm_watch, "inotify_rm_watch" }, /* 286 */
2065- { 4, 0, sys_migrate_pages, "migrate_pages" }, /* 287 */
2066+ { 4, TM, sys_migrate_pages, "migrate_pages" }, /* 287 */
2067 { 4, TD|TF, sys_openat, "openat" }, /* 288 */
2068 { 3, TD|TF, sys_mkdirat, "mkdirat" }, /* 289 */
2069 { 4, TD|TF, sys_mknodat, "mknodat" }, /* 290 */
2070@@ -338,7 +338,7 @@
2071 { 4, TD, sys_sync_file_range, "sync_file_range" }, /* 307 */
2072 { 4, TD, sys_tee, "tee" }, /* 308 */
2073 { 4, TD, sys_vmsplice, "vmsplice" }, /* 309 */
2074- { 6, 0, sys_move_pages, "move_pages" }, /* 310 */
2075+ { 6, TM, sys_move_pages, "move_pages" }, /* 310 */
2076 { 3, 0, sys_getcpu, "getcpu" }, /* 311 */
2077 { 6, TD, sys_epoll_pwait, "epoll_pwait" }, /* 312 */
2078 { 2, TF, sys_utimes, "utimes" }, /* 313 */
2079diff --git a/linux/s390x/syscallent.h b/linux/s390x/syscallent.h
2080index b1264d1..7fa8ff5 100644
2081--- a/linux/s390x/syscallent.h
2082+++ b/linux/s390x/syscallent.h
2083@@ -72,7 +72,7 @@
2084 { 1, TD, sys_pipe, "pipe" }, /* 42 */
2085 { 1, 0, sys_times, "times" }, /* 43 */
2086 { MA, 0, NULL, NULL }, /* 44 */
2087- { 1, 0, sys_brk, "brk" }, /* 45 */
2088+ { 1, TM, sys_brk, "brk" }, /* 45 */
2089 { MA, 0, NULL, NULL }, /* 46 */
2090 { MA, 0, NULL, NULL }, /* 47 */
2091 { 3, TS, sys_signal, "signal" }, /* 48 */
2092@@ -117,8 +117,8 @@
2093 { 2, TF, sys_swapon, "swapon" }, /* 87 */
2094 { 4, 0, sys_reboot, "reboot" }, /* 88 */
2095 { MA, 0, NULL, NULL }, /* 89 */
2096- { 6, TD, sys_old_mmap, "mmap" }, /* 90 */
2097- { 2, 0, sys_munmap, "munmap" }, /* 91 */
2098+ { 6, TD|TM, sys_old_mmap, "mmap" }, /* 90 */
2099+ { 2, TM, sys_munmap, "munmap" }, /* 91 */
2100 { 2, TF, sys_truncate, "truncate" }, /* 92 */
2101 { 2, TD, sys_ftruncate, "ftruncate" }, /* 93 */
2102 { 2, TD, sys_fchmod, "fchmod" }, /* 94 */
2103@@ -152,7 +152,7 @@
2104 { 1, 0, sys_uname, "uname" }, /* 122 */
2105 { MA, 0, NULL, NULL }, /* 123 */
2106 { 1, 0, sys_adjtimex, "adjtimex" }, /* 124 */
2107- { 3, 0, sys_mprotect, "mprotect" }, /* 125 */
2108+ { 3, TM, sys_mprotect, "mprotect" }, /* 125 */
2109 { 3, TS, sys_sigprocmask, "sigprocmask" }, /* 126 */
2110 { 2, 0, sys_create_module, "create_module" }, /* 127 */
2111 { 3, 0, sys_init_module, "init_module" }, /* 128 */
2112@@ -171,16 +171,16 @@
2113 { 3, TD, sys_getdents, "getdents" }, /* 141 */
2114 { 5, TD, sys_select, "select" }, /* 142 */
2115 { 2, TD, sys_flock, "flock" }, /* 143 */
2116- { 3, 0, sys_msync, "msync" }, /* 144 */
2117+ { 3, TM, sys_msync, "msync" }, /* 144 */
2118 { 3, TD, sys_readv, "readv" }, /* 145 */
2119 { 3, TD, sys_writev, "writev" }, /* 146 */
2120 { 1, 0, sys_getsid, "getsid" }, /* 147 */
2121 { 1, TD, sys_fdatasync, "fdatasync" }, /* 148 */
2122 { 1, 0, sys_sysctl, "_sysctl" }, /* 149 */
2123- { 2, 0, sys_mlock, "mlock" }, /* 150 */
2124- { 2, 0, sys_munlock, "munlock" }, /* 151 */
2125- { 1, 0, sys_mlockall, "mlockall" }, /* 152 */
2126- { 0, 0, sys_munlockall, "munlockall" }, /* 153 */
2127+ { 2, TM, sys_mlock, "mlock" }, /* 150 */
2128+ { 2, TM, sys_munlock, "munlock" }, /* 151 */
2129+ { 1, TM, sys_mlockall, "mlockall" }, /* 152 */
2130+ { 0, TM, sys_munlockall, "munlockall" }, /* 153 */
2131 { 0, 0, sys_sched_setparam, "sched_setparam"}, /* 154 */
2132 { 2, 0, sys_sched_getparam, "sched_getparam"}, /* 155 */
2133 { 3, 0, sys_sched_setscheduler, "sched_setscheduler"}, /* 156 */
2134@@ -190,7 +190,7 @@
2135 { 1, 0, sys_sched_get_priority_min,"sched_get_priority_min"}, /* 160 */
2136 { 2, 0, sys_sched_rr_get_interval,"sched_rr_get_interval"}, /* 161 */
2137 { 2, 0, sys_nanosleep, "nanosleep" }, /* 162 */
2138- { 5, 0, sys_mremap, "mremap" }, /* 163 */
2139+ { 5, TM, sys_mremap, "mremap" }, /* 163 */
2140 { MA, 0, NULL, NULL }, /* 164 */
2141 { MA, 0, NULL, NULL }, /* 165 */
2142 { MA, 0, NULL, NULL }, /* 166 */
2143@@ -245,8 +245,8 @@
2144 { 1, NF, sys_setfsuid, "setfsuid" }, /* 215 */
2145 { 1, NF, sys_setfsgid, "setfsgid" }, /* 216 */
2146 { 2, TF, sys_pivotroot, "pivot_root" }, /* 217 */
2147- { 3, 0, sys_mincore, "mincore" }, /* 218 */
2148- { 3, 0, sys_madvise, "madvise" }, /* 219 */
2149+ { 3, TM, sys_mincore, "mincore" }, /* 218 */
2150+ { 3, TM, sys_madvise, "madvise" }, /* 219 */
2151 { 3, TD, sys_getdents64, "getdents64" }, /* 220 */
2152 { MA, 0, NULL, NULL }, /* 221 */
2153 { 4, TD, sys_readahead, "readahead" }, /* 222 */
2154@@ -294,10 +294,10 @@
2155 { 6, TD, sys_fadvise64_64, "fadvise64_64" }, /* 264 */
2156 { 3, TF, sys_statfs64, "statfs64" }, /* 265 */
2157 { 3, TF, sys_fstatfs64, "fstatfs64" }, /* 266 */
2158- { 5, 0, sys_remap_file_pages, "remap_file_pages"}, /* 267 */
2159- { 6, 0, sys_mbind, "mbind" }, /* 268 */
2160- { 5, 0, sys_get_mempolicy, "get_mempolicy" }, /* 269 */
2161- { 3, 0, sys_set_mempolicy, "set_mempolicy" }, /* 270 */
2162+ { 5, TM, sys_remap_file_pages, "remap_file_pages"}, /* 267 */
2163+ { 6, TM, sys_mbind, "mbind" }, /* 268 */
2164+ { 5, TM, sys_get_mempolicy, "get_mempolicy" }, /* 269 */
2165+ { 3, TM, sys_set_mempolicy, "set_mempolicy" }, /* 270 */
2166 { 4, 0, sys_mq_open, "mq_open" }, /* 271 */
2167 { 1, 0, sys_mq_unlink, "mq_unlink" }, /* 272 */
2168 { 5, 0, sys_mq_timedsend, "mq_timedsend" }, /* 273 */
2169@@ -314,7 +314,7 @@
2170 { 0, TD, sys_inotify_init, "inotify_init" }, /* 284 */
2171 { 3, TD, sys_inotify_add_watch, "inotify_add_watch" }, /* 285 */
2172 { 2, TD, sys_inotify_rm_watch, "inotify_rm_watch" }, /* 286 */
2173- { 4, 0, sys_migrate_pages, "migrate_pages" }, /* 287 */
2174+ { 4, TM, sys_migrate_pages, "migrate_pages" }, /* 287 */
2175 { 4, TD|TF, sys_openat, "openat" }, /* 288 */
2176 { 3, TD|TF, sys_mkdirat, "mkdirat" }, /* 289 */
2177 { 4, TD|TF, sys_mknodat, "mknodat" }, /* 290 */
2178@@ -337,7 +337,7 @@
2179 { 4, TD, sys_sync_file_range, "sync_file_range" }, /* 307 */
2180 { 4, TD, sys_tee, "tee" }, /* 308 */
2181 { 4, TD, sys_vmsplice, "vmsplice" }, /* 309 */
2182- { 6, 0, sys_move_pages, "move_pages" }, /* 310 */
2183+ { 6, TM, sys_move_pages, "move_pages" }, /* 310 */
2184 { 3, 0, sys_getcpu, "getcpu" }, /* 311 */
2185 { 6, TD, sys_epoll_pwait, "epoll_pwait" }, /* 312 */
2186 { 2, TF, sys_utimes, "utimes" }, /* 313 */
2187diff --git a/linux/sh/syscallent.h b/linux/sh/syscallent.h
2188index 3f3917b..d9228b4 100644
2189--- a/linux/sh/syscallent.h
2190+++ b/linux/sh/syscallent.h
2191@@ -45,7 +45,7 @@
2192 { 3, TF, sys_mknod, "mknod" }, /* 14 */
2193 { 2, TF, sys_chmod, "chmod" }, /* 15 */
2194 { 3, TF, sys_chown, "lchown" }, /* 16 */
2195- { 0, 0, sys_break, "break" }, /* 17 */
2196+ { 0, TM, sys_break, "break" }, /* 17 */
2197 { 2, TF, sys_oldstat, "oldstat" }, /* 18 */
2198 { 3, TD, sys_lseek, "lseek" }, /* 19 */
2199 { 0, 0, sys_getpid, "getpid" }, /* 20 */
2200@@ -73,7 +73,7 @@
2201 { 1, TD, sys_pipe, "pipe" }, /* 42 */
2202 { 1, 0, sys_times, "times" }, /* 43 */
2203 { 0, 0, sys_prof, "prof" }, /* 44 */
2204- { 1, 0, sys_brk, "brk" }, /* 45 */
2205+ { 1, TM, sys_brk, "brk" }, /* 45 */
2206 { 1, 0, sys_setgid, "setgid" }, /* 46 */
2207 { 0, NF, sys_getgid, "getgid" }, /* 47 */
2208 { 3, TS, sys_signal, "signal" }, /* 48 */
2209@@ -118,8 +118,8 @@
2210 { 2, TF, sys_swapon, "swapon" }, /* 87 */
2211 { 4, 0, sys_reboot, "reboot" }, /* 88 */
2212 { 3, TD, sys_readdir, "readdir" }, /* 89 */
2213- { 6, TD, sys_old_mmap, "old_mmap" }, /* 90 */
2214- { 2, 0, sys_munmap, "munmap" }, /* 91 */
2215+ { 6, TD|TM, sys_old_mmap, "old_mmap" }, /* 90 */
2216+ { 2, TM, sys_munmap, "munmap" }, /* 91 */
2217 { 2, TF, sys_truncate, "truncate" }, /* 92 */
2218 { 2, TD, sys_ftruncate, "ftruncate" }, /* 93 */
2219 { 2, TD, sys_fchmod, "fchmod" }, /* 94 */
2220@@ -153,7 +153,7 @@
2221 { 1, 0, sys_uname, "uname" }, /* 122 */
2222 { 3, 0, sys_cacheflush, "cacheflush" }, /* 123 */
2223 { 1, 0, sys_adjtimex, "adjtimex" }, /* 124 */
2224- { 3, 0, sys_mprotect, "mprotect" }, /* 125 */
2225+ { 3, TM, sys_mprotect, "mprotect" }, /* 125 */
2226 { 3, TS, sys_sigprocmask, "sigprocmask" }, /* 126 */
2227 { 2, 0, sys_create_module, "create_module" }, /* 127 */
2228 { 3, 0, sys_init_module, "init_module" }, /* 128 */
2229@@ -172,16 +172,16 @@
2230 { 3, TD, sys_getdents, "getdents" }, /* 141 */
2231 { 5, TD, sys_select, "select" }, /* 142 */
2232 { 2, TD, sys_flock, "flock" }, /* 143 */
2233- { 3, 0, sys_msync, "msync" }, /* 144 */
2234+ { 3, TM, sys_msync, "msync" }, /* 144 */
2235 { 3, TD, sys_readv, "readv" }, /* 145 */
2236 { 3, TD, sys_writev, "writev" }, /* 146 */
2237 { 1, 0, sys_getsid, "getsid" }, /* 147 */
2238 { 1, TD, sys_fdatasync, "fdatasync" }, /* 148 */
2239 { 1, 0, sys_sysctl, "_sysctl" }, /* 149 */
2240- { 1, 0, sys_mlock, "mlock" }, /* 150 */
2241- { 2, 0, sys_munlock, "munlock" }, /* 151 */
2242- { 1, 0, sys_mlockall, "mlockall" }, /* 152 */
2243- { 1, 0, sys_munlockall, "munlockall" }, /* 153 */
2244+ { 1, TM, sys_mlock, "mlock" }, /* 150 */
2245+ { 2, TM, sys_munlock, "munlock" }, /* 151 */
2246+ { 1, TM, sys_mlockall, "mlockall" }, /* 152 */
2247+ { 1, TM, sys_munlockall, "munlockall" }, /* 153 */
2248 { 0, 0, sys_sched_setparam, "sched_setparam"}, /* 154 */
2249 { 2, 0, sys_sched_getparam, "sched_getparam"}, /* 155 */
2250 { 3, 0, sys_sched_setscheduler, "sched_setscheduler"}, /* 156 */
2251@@ -191,7 +191,7 @@
2252 { 1, 0, sys_sched_get_priority_min,"sched_get_priority_min"}, /* 160 */
2253 { 2, 0, sys_sched_rr_get_interval,"sched_rr_get_interval"}, /* 161 */
2254 { 2, 0, sys_nanosleep, "nanosleep" }, /* 162 */
2255- { 5, 0, sys_mremap, "mremap" }, /* 163 */
2256+ { 5, TM, sys_mremap, "mremap" }, /* 163 */
2257 { 3, 0, sys_setresuid, "setresuid" }, /* 164 */
2258 { 3, 0, sys_getresuid, "getresuid" }, /* 165 */
2259 { 5, 0, sys_vm86, "vm86" }, /* 166 */
2260@@ -221,7 +221,7 @@
2261 { 5, 0, NULL, NULL }, /* 189 */
2262 { 0, TP, sys_vfork, "vfork" }, /* 190 */
2263 { 5, 0, printargs, "getrlimit" }, /* 191 */
2264- { 6, TD, sys_mmap, "mmap2" }, /* 192 */
2265+ { 6, TD|TM, sys_mmap, "mmap2" }, /* 192 */
2266 { 5, 0, sys_truncate64, "truncate64" }, /* 193 */
2267 { 5, TD, sys_ftruncate64, "ftruncate64" }, /* 194 */
2268 { 2, TF, sys_stat64, "stat64" }, /* 195 */
2269@@ -248,8 +248,8 @@
2270 { 1, 0, printargs, "setfsuid32" }, /* 215 */
2271 { 1, 0, printargs, "setfsgid32" }, /* 216 */
2272 { 2, TF, sys_pivotroot, "pivot_root" }, /* 217 */
2273- { 3, 0, sys_mincore, "mincore" }, /* 218 */
2274- { 3, 0, sys_madvise, "madvise" }, /* 219 */
2275+ { 3, TM, sys_mincore, "mincore" }, /* 218 */
2276+ { 3, TM, sys_madvise, "madvise" }, /* 219 */
2277 { 3, TD, sys_getdents64, "getdents64" }, /* 220 */
2278 { 3, TD, sys_fcntl, "fcntl64" }, /* 221 */
2279 { 4, 0, NULL, NULL }, /* 222 */
2280@@ -287,7 +287,7 @@
2281 { 1, TD, sys_epoll_create, "epoll_create" }, /* 254 */
2282 { 4, TD, sys_epoll_ctl, "epoll_ctl" }, /* 255 */
2283 { 4, TD, sys_epoll_wait, "epoll_wait" }, /* 256 */
2284- { 5, 0, sys_remap_file_pages, "remap_file_pages"}, /* 257 */
2285+ { 5, TM, sys_remap_file_pages, "remap_file_pages"}, /* 257 */
2286 { 1, 0, sys_set_tid_address, "set_tid_address"}, /* 258 */
2287 { 3, 0, sys_timer_create, "timer_create" }, /* 259 */
2288 { 4, 0, sys_timer_settime, "timer_settime" }, /* 260 */
2289@@ -304,9 +304,9 @@
2290 { 2, TF, sys_utimes, "utimes" }, /* 271 */
2291 { 6, TD, sys_fadvise64_64, "fadvise64_64" }, /* 272 */
2292 { 0, 0, NULL, NULL }, /* 273 */
2293- { 4, 0, sys_mbind, "mbind" }, /* 274 */
2294- { 5, 0, sys_get_mempolicy, "get_mempolicy" }, /* 275 */
2295- { 3, 0, sys_set_mempolicy, "set_mempolicy" }, /* 276 */
2296+ { 4, TM, sys_mbind, "mbind" }, /* 274 */
2297+ { 5, TM, sys_get_mempolicy, "get_mempolicy" }, /* 275 */
2298+ { 3, TM, sys_set_mempolicy, "set_mempolicy" }, /* 276 */
2299 { 4, 0, sys_mq_open, "mq_open" }, /* 277 */
2300 { 1, 0, sys_mq_unlink, "mq_unlink" }, /* 278 */
2301 { 5, 0, sys_mq_timedsend, "mq_timedsend" }, /* 279 */
2302@@ -324,7 +324,7 @@
2303 { 3, TD, sys_inotify_add_watch, "inotify_add_watch"}, /* 291 */
2304 { 2, TD, sys_inotify_rm_watch, "inotify_rm_watch"}, /* 292 */
2305 { 5, 0, NULL, NULL }, /* 293 */
2306- { 4, 0, sys_migrate_pages, "migrate_pages" }, /* 294 */
2307+ { 4, TM, sys_migrate_pages, "migrate_pages" }, /* 294 */
2308 { 4, TD|TF, sys_openat, "openat" }, /* 295 */
2309 { 3, TD|TF, sys_mkdirat, "mkdirat" }, /* 296 */
2310 { 4, TD|TF, sys_mknodat, "mknodat" }, /* 297 */
2311@@ -347,7 +347,7 @@
2312 { 4, TD, sys_sync_file_range, "sync_file_range"}, /* 314 */
2313 { 4, TD, sys_tee, "tee" }, /* 315 */
2314 { 5, TD, sys_vmsplice, "vmsplice" }, /* 316 */
2315- { 6, 0, sys_move_pages, "move_pages" }, /* 317 */
2316+ { 6, TM, sys_move_pages, "move_pages" }, /* 317 */
2317 { 3, 0, sys_getcpu, "getcpu" }, /* 318 */
2318 { 6, TD, sys_epoll_pwait, "epoll_pwait" }, /* 319 */
2319 { 4, TD|TF, sys_utimensat, "utimensat" }, /* 320 */
2320diff --git a/linux/sh64/syscallent.h b/linux/sh64/syscallent.h
2321index 347ff0c..39c13e0 100644
2322--- a/linux/sh64/syscallent.h
2323+++ b/linux/sh64/syscallent.h
2324@@ -43,7 +43,7 @@
2325 { 3, TF, sys_mknod, "mknod" }, /* 14 */
2326 { 2, TF, sys_chmod, "chmod" }, /* 15 */
2327 { 3, TF, sys_chown, "lchown" }, /* 16 */
2328- { 0, 0, sys_break, "break" }, /* 17 */
2329+ { 0, TM, sys_break, "break" }, /* 17 */
2330 { 2, TF, sys_oldstat, "oldstat" }, /* 18 */
2331 { 3, TD, sys_lseek, "lseek" }, /* 19 */
2332 { 0, 0, sys_getpid, "getpid" }, /* 20 */
2333@@ -71,7 +71,7 @@
2334 { 1, TD, sys_pipe, "pipe" }, /* 42 */
2335 { 1, 0, sys_times, "times" }, /* 43 */
2336 { 0, 0, sys_prof, "prof" }, /* 44 */
2337- { 1, 0, sys_brk, "brk" }, /* 45 */
2338+ { 1, TM, sys_brk, "brk" }, /* 45 */
2339 { 1, 0, sys_setgid, "setgid" }, /* 46 */
2340 { 0, NF, sys_getgid, "getgid" }, /* 47 */
2341 { 3, TS, sys_signal, "signal" }, /* 48 */
2342@@ -116,8 +116,8 @@
2343 { 2, TF, sys_swapon, "swapon" }, /* 87 */
2344 { 4, 0, sys_reboot, "reboot" }, /* 88 */
2345 { 3, TD, sys_readdir, "readdir" }, /* 89 */
2346- { 6, TD, sys_old_mmap, "old_mmap" }, /* 90 */
2347- { 2, 0, sys_munmap, "munmap" }, /* 91 */
2348+ { 6, TD|TM, sys_old_mmap, "old_mmap" }, /* 90 */
2349+ { 2, TM, sys_munmap, "munmap" }, /* 91 */
2350 { 2, TF, sys_truncate, "truncate" }, /* 92 */
2351 { 2, TD, sys_ftruncate, "ftruncate" }, /* 93 */
2352 { 2, TD, sys_fchmod, "fchmod" }, /* 94 */
2353@@ -151,7 +151,7 @@
2354 { 1, 0, sys_uname, "uname" }, /* 122 */
2355 { 3, 0, printargs, "cacheflush" }, /* 123 */
2356 { 1, 0, sys_adjtimex, "adjtimex" }, /* 124 */
2357- { 3, 0, sys_mprotect, "mprotect" }, /* 125 */
2358+ { 3, TM, sys_mprotect, "mprotect" }, /* 125 */
2359 { 3, TS, sys_sigprocmask, "sigprocmask" }, /* 126 */
2360 { 2, 0, sys_create_module, "create_module" }, /* 127 */
2361 { 3, 0, sys_init_module, "init_module" }, /* 128 */
2362@@ -170,16 +170,16 @@
2363 { 3, TD, sys_getdents, "getdents" }, /* 141 */
2364 { 5, TD, sys_select, "select" }, /* 142 */
2365 { 2, TD, sys_flock, "flock" }, /* 143 */
2366- { 3, 0, sys_msync, "msync" }, /* 144 */
2367+ { 3, TM, sys_msync, "msync" }, /* 144 */
2368 { 3, TD, sys_readv, "readv" }, /* 145 */
2369 { 3, TD, sys_writev, "writev" }, /* 146 */
2370 { 1, 0, sys_getsid, "getsid" }, /* 147 */
2371 { 1, TD, sys_fdatasync, "fdatasync" }, /* 148 */
2372 { 1, 0, sys_sysctl, "_sysctl" }, /* 149 */
2373- { 1, 0, sys_mlock, "mlock" }, /* 150 */
2374- { 2, 0, sys_munlock, "munlock" }, /* 151 */
2375- { 1, 0, sys_mlockall, "mlockall" }, /* 152 */
2376- { 0, 0, sys_munlockall, "munlockall" }, /* 153 */
2377+ { 1, TM, sys_mlock, "mlock" }, /* 150 */
2378+ { 2, TM, sys_munlock, "munlock" }, /* 151 */
2379+ { 1, TM, sys_mlockall, "mlockall" }, /* 152 */
2380+ { 0, TM, sys_munlockall, "munlockall" }, /* 153 */
2381 { 0, 0, sys_sched_setparam, "sched_setparam"}, /* 154 */
2382 { 2, 0, sys_sched_getparam, "sched_getparam"}, /* 155 */
2383 { 3, 0, sys_sched_setscheduler, "sched_setscheduler"}, /* 156 */
2384@@ -189,7 +189,7 @@
2385 { 1, 0, sys_sched_get_priority_min,"sched_get_priority_min"}, /* 160 */
2386 { 2, 0, sys_sched_rr_get_interval,"sched_rr_get_interval"}, /* 161 */
2387 { 2, 0, sys_nanosleep, "nanosleep" }, /* 162 */
2388- { 5, 0, sys_mremap, "mremap" }, /* 163 */
2389+ { 5, TM, sys_mremap, "mremap" }, /* 163 */
2390 { 3, 0, sys_setresuid, "setresuid" }, /* 164 */
2391 { 3, 0, sys_getresuid, "getresuid" }, /* 165 */
2392 { 5, 0, NULL, NULL }, /* 166 */
2393@@ -218,7 +218,7 @@
2394 { 5, 0, NULL, NULL }, /* 189 */
2395 { 0, TP, sys_vfork, "vfork" }, /* 190 */
2396 { 2, 0, printargs, "getrlimit" }, /* 191 */
2397- { 6, TD, sys_mmap, "mmap2" }, /* 192 */
2398+ { 6, TD|TM, sys_mmap, "mmap2" }, /* 192 */
2399 { 2, TF, sys_truncate64, "truncate64" }, /* 193 */
2400 { 2, TD, sys_ftruncate64, "ftruncate64" }, /* 194 */
2401 { 2, TF, sys_stat64, "stat64" }, /* 195 */
2402@@ -244,8 +244,8 @@
2403 { 1, 0, printargs, "setfsuid32" }, /* 215 */
2404 { 1, 0, printargs, "setfsgid32" }, /* 216 */
2405 { 2, TF, sys_pivotroot, "pivot_root" }, /* 217 */
2406- { 3, 0, sys_mincore, "mincore" }, /* 218 */
2407- { 3, 0, sys_madvise, "madvise" }, /* 219 */
2408+ { 3, TM, sys_mincore, "mincore" }, /* 218 */
2409+ { 3, TM, sys_madvise, "madvise" }, /* 219 */
2410 { 3, TN, sys_socket, "socket" }, /* 220 */
2411 { 3, TN, sys_bind, "bind" }, /* 221 */
2412 { 3, TN, sys_connect, "connect" }, /* 222 */
2413@@ -311,7 +311,7 @@
2414 { 1, TD, sys_epoll_create, "epoll_create" }, /* 282 */
2415 { 4, TD, sys_epoll_ctl, "epoll_ctl" }, /* 283 */
2416 { 4, TD, sys_epoll_wait, "epoll_wait" }, /* 284 */
2417- { 5, 0, sys_remap_file_pages, "remap_file_pages"}, /* 285 */
2418+ { 5, TM, sys_remap_file_pages, "remap_file_pages"}, /* 285 */
2419 { 1, 0, sys_set_tid_address, "set_tid_address"}, /* 286 */
2420 { 3, 0, sys_timer_create, "timer_create" }, /* 287 */
2421 { 4, 0, sys_timer_settime, "timer_settime" }, /* 288 */
2422@@ -328,9 +328,9 @@
2423 { 2, TF, sys_utimes, "utimes" }, /* 299 */
2424 { 6, TD, sys_fadvise64_64, "fadvise64_64" }, /* 300 */
2425 { 0, 0, NULL, NULL }, /* 301 */
2426- { 4, 0, sys_mbind, "mbind" }, /* 302 */
2427- { 5, 0, sys_get_mempolicy, "get_mempolicy" }, /* 303 */
2428- { 3, 0, sys_set_mempolicy, "set_mempolicy" }, /* 304 */
2429+ { 4, TM, sys_mbind, "mbind" }, /* 302 */
2430+ { 5, TM, sys_get_mempolicy, "get_mempolicy" }, /* 303 */
2431+ { 3, TM, sys_set_mempolicy, "set_mempolicy" }, /* 304 */
2432 { 4, 0, sys_mq_open, "mq_open" }, /* 305 */
2433 { 1, 0, sys_mq_unlink, "mq_unlink" }, /* 306 */
2434 { 5, 0, sys_mq_timedsend, "mq_timedsend" }, /* 307 */
2435@@ -348,7 +348,7 @@
2436 { 3, TD, printargs, "inotify_add_watch"}, /* 319 */
2437 { 2, TD, printargs, "inotify_rm_watch"}, /* 320 */
2438 { 5, 0, NULL, NULL }, /* 321 */
2439- { 4, 0, sys_migrate_pages, "migrate_pages" }, /* 322 */
2440+ { 4, TM, sys_migrate_pages, "migrate_pages" }, /* 322 */
2441 { 4, TD|TF, sys_openat, "openat" }, /* 323 */
2442 { 3, TD|TF, sys_mkdirat, "mkdirat" }, /* 324 */
2443 { 4, TD|TF, sys_mknodat, "mknodat" }, /* 325 */
2444@@ -371,7 +371,7 @@
2445 { 4, TD, sys_sync_file_range, "sync_file_range"}, /* 342 */
2446 { 4, TD, sys_tee, "tee" }, /* 343 */
2447 { 5, TD, sys_vmsplice, "vmsplice" }, /* 344 */
2448- { 6, 0, sys_move_pages, "move_pages" }, /* 345 */
2449+ { 6, TM, sys_move_pages, "move_pages" }, /* 345 */
2450 { 3, 0, sys_getcpu, "getcpu" }, /* 346 */
2451 { 6, TD, sys_epoll_pwait, "epoll_pwait" }, /* 347 */
2452 { 4, TD|TF, sys_utimensat, "utimensat" }, /* 348 */
2453diff --git a/linux/sparc/syscallent.h b/linux/sparc/syscallent.h
2454index 259eb4b..d6b518a 100644
2455--- a/linux/sparc/syscallent.h
2456+++ b/linux/sparc/syscallent.h
2457@@ -15,7 +15,7 @@
2458 { 3, TF, sys_mknod, "mknod" }, /* 14 */
2459 { 2, TF, sys_chmod, "chmod" }, /* 15 */
2460 { 3, TF, sys_chown, "lchown" }, /* 16 */
2461- { 1, 0, sys_brk, "brk" }, /* 17 */
2462+ { 1, TM, sys_brk, "brk" }, /* 17 */
2463 { 4, 0, printargs, "perfctr" }, /* 18 */
2464 { 3, TD, sys_lseek, "lseek" }, /* 19 */
2465 { 0, 0, sys_getpid, "getpid" }, /* 20 */
2466@@ -54,7 +54,7 @@
2467 { 0, NF, sys_getgid, "getgid32" }, /* 53 */
2468 { 3, TD, sys_ioctl, "ioctl" }, /* 54 */
2469 { 4, 0, sys_reboot, "reboot" }, /* 55 */
2470- { 6, TD, sys_mmap, "mmap2" }, /* 56 */
2471+ { 6, TD|TM, sys_mmap, "mmap2" }, /* 56 */
2472 { 2, TF, sys_symlink, "symlink" }, /* 57 */
2473 { 3, TF, sys_readlink, "readlink" }, /* 58 */
2474 { 3, TF|TP, sys_execve, "execve" }, /* 59 */
2475@@ -63,20 +63,20 @@
2476 { 2, TD, sys_fstat, "fstat" }, /* 62 */
2477 { 2, TD, sys_fstat64, "fstat64" }, /* 63 */
2478 { 0, 0, sys_getpagesize,"getpagesize" }, /* 64 */
2479- { 3, 0, sys_msync, "msync" }, /* 65 */
2480+ { 3, TM, sys_msync, "msync" }, /* 65 */
2481 { 0, TP, sys_vfork, "vfork" }, /* 66 */
2482 { 5, TD, sys_pread, "pread" }, /* 67 */
2483 { 5, TD, sys_pwrite, "pwrite" }, /* 68 */
2484 { 0, NF, sys_geteuid, "geteuid32" }, /* 69 */
2485 { 0, NF, sys_getegid, "getegid32" }, /* 70 */
2486- { 6, TD, sys_mmap, "mmap" }, /* 71 */
2487+ { 6, TD|TM, sys_mmap, "mmap" }, /* 71 */
2488 { 2, 0, sys_setreuid, "setreuid32" }, /* 72 */
2489- { 2, 0, sys_munmap, "munmap" }, /* 73 */
2490- { 3, 0, sys_mprotect, "mprotect" }, /* 74 */
2491- { 3, 0, sys_madvise, "madvise" }, /* 75 */
2492+ { 2, TM, sys_munmap, "munmap" }, /* 73 */
2493+ { 3, TM, sys_mprotect, "mprotect" }, /* 74 */
2494+ { 3, TM, sys_madvise, "madvise" }, /* 75 */
2495 { 0, 0, sys_vhangup, "vhangup" }, /* 76 */
2496 { 3, TF, sys_truncate64, "truncate64" }, /* 77 */
2497- { 3, 0, sys_mincore, "mincore" }, /* 78 */
2498+ { 3, TM, sys_mincore, "mincore" }, /* 78 */
2499 { 2, 0, sys_getgroups, "getgroups" }, /* 79 */
2500 { 2, 0, sys_setgroups, "setgroups" }, /* 80 */
2501 { 0, 0, sys_getpgrp, "getpgrp" }, /* 81 */
2502@@ -190,7 +190,7 @@
2503 { 1, 0, sys_uname, "uname" }, /* 189 */
2504 { 3, 0, sys_init_module,"init_module" }, /* 190 */
2505 { 1, 0, sys_personality,"personality" }, /* 191 */
2506- { 5, 0, sys_remap_file_pages,"remap_file_pages" },/* 192 */
2507+ { 5, TM, sys_remap_file_pages,"remap_file_pages" },/* 192 */
2508 { 1, TD, sys_epoll_create,"epoll_create" }, /* 193 */
2509 { 4, TD, sys_epoll_ctl, "epoll_ctl" }, /* 194 */
2510 { 4, TD, sys_epoll_wait, "epoll_wait" }, /* 195 */
2511@@ -235,10 +235,10 @@
2512 { 3, TF, sys_statfs64, "statfs64" }, /* 234 */
2513 { 3, TD, sys_fstatfs64, "fstatfs64" }, /* 235 */
2514 { 5, TD, sys_llseek, "_llseek" }, /* 236 */
2515- { 2, 0, sys_mlock, "mlock" }, /* 237 */
2516- { 2, 0, sys_munlock, "munlock" }, /* 238 */
2517- { 1, 0, sys_mlockall, "mlockall" }, /* 239 */
2518- { 0, 0, sys_munlockall, "munlockall" }, /* 240 */
2519+ { 2, TM, sys_mlock, "mlock" }, /* 237 */
2520+ { 2, TM, sys_munlock, "munlock" }, /* 238 */
2521+ { 1, TM, sys_mlockall, "mlockall" }, /* 239 */
2522+ { 0, TM, sys_munlockall, "munlockall" }, /* 240 */
2523 { 2, 0, sys_sched_setparam,"sched_setparam"}, /* 241 */
2524 { 2, 0, sys_sched_getparam,"sched_getparam"}, /* 242 */
2525 { 3, 0, sys_sched_setscheduler,"sched_setscheduler"},/* 243 */
2526@@ -248,7 +248,7 @@
2527 { 1,0,sys_sched_get_priority_min,"sched_get_priority_min"},/* 247 */
2528 { 2, 0,sys_sched_rr_get_interval,"sched_rr_get_interval"},/* 248 */
2529 { 2, 0, sys_nanosleep, "nanosleep" }, /* 249 */
2530- { 5, 0, sys_mremap, "mremap" }, /* 250 */
2531+ { 5, TM, sys_mremap, "mremap" }, /* 250 */
2532 { 1, 0, sys_sysctl, "_sysctl" }, /* 251 */
2533 { 1, 0, sys_getsid, "getsid" }, /* 252 */
2534 { 1, TD, sys_fdatasync, "fdatasync" }, /* 253 */
2535@@ -300,12 +300,12 @@
2536 { 1, TP, sys_unshare, "unshare" }, /* 299 */
2537 { 2, 0, sys_set_robust_list, "set_robust_list" }, /* 300 */
2538 { 3, 0, sys_get_robust_list, "get_robust_list" }, /* 301 */
2539- { 4, 0, sys_migrate_pages, "migrate_pages" }, /* 302 */
2540- { 6, 0, sys_mbind, "mbind" }, /* 303 */
2541- { 5, 0, sys_get_mempolicy, "get_mempolicy" }, /* 304 */
2542- { 3, 0, sys_set_mempolicy, "set_mempolicy" }, /* 305 */
2543+ { 4, TM, sys_migrate_pages, "migrate_pages" }, /* 302 */
2544+ { 6, TM, sys_mbind, "mbind" }, /* 303 */
2545+ { 5, TM, sys_get_mempolicy, "get_mempolicy" }, /* 304 */
2546+ { 3, TM, sys_set_mempolicy, "set_mempolicy" }, /* 305 */
2547 { 4, 0, sys_kexec_load, "kexec_load" }, /* 306 */
2548- { 6, 0, sys_move_pages, "move_pages" }, /* 307 */
2549+ { 6, TM, sys_move_pages, "move_pages" }, /* 307 */
2550 { 3, 0, sys_getcpu, "getcpu" }, /* 308 */
2551 { 6, TD, sys_epoll_pwait, "epoll_pwait" }, /* 309 */
2552 { 4, TD|TF, sys_utimensat, "utimensat" }, /* 310 */
2553diff --git a/linux/tile/syscallent.h b/linux/tile/syscallent.h
2554index c21a1e0..89205e3 100644
2555--- a/linux/tile/syscallent.h
2556+++ b/linux/tile/syscallent.h
2557@@ -38,7 +38,7 @@
2558 { 1, TD, sys_dup, "dup" }, /* 37 */
2559 { 1, TD, sys_pipe, "pipe" }, /* 38 */
2560 { 1, 0, sys_times, "times" }, /* 39 */
2561- { 1, 0, sys_brk, "brk" }, /* 40 */
2562+ { 1, TM, sys_brk, "brk" }, /* 40 */
2563 { 1, 0, sys_setgid, "setgid" }, /* 41 */
2564 { 0, NF, sys_getgid, "getgid" }, /* 42 */
2565 { 3, TS, sys_signal, "signal" }, /* 43 */
2566@@ -75,8 +75,8 @@
2567 { 1, TF, sys_uselib, "uselib" }, /* 74 */
2568 { 2, TF, sys_swapon, "swapon" }, /* 75 */
2569 { 4, 0, sys_reboot, "reboot" }, /* 76 */
2570- { 6, TD, sys_mmap, "mmap2" }, /* 77 */
2571- { 2, 0, sys_munmap, "munmap" }, /* 78 */
2572+ { 6, TD|TM, sys_mmap, "mmap2" }, /* 77 */
2573+ { 2, TM, sys_munmap, "munmap" }, /* 78 */
2574 { 2, TF, sys_truncate, "truncate" }, /* 79 */
2575 { 2, TD, sys_ftruncate, "ftruncate" }, /* 80 */
2576 { 2, TD, sys_fchmod, "fchmod" }, /* 81 */
2577@@ -127,7 +127,7 @@
2578 { 2, 0, sys_setdomainname, "setdomainname" }, /* 126 */
2579 { 1, 0, sys_uname, "uname" }, /* 127 */
2580 { 1, 0, sys_adjtimex, "adjtimex" }, /* 128 */
2581- { 3, 0, sys_mprotect, "mprotect" }, /* 129 */
2582+ { 3, TM, sys_mprotect, "mprotect" }, /* 129 */
2583 { 3, TS, sys_sigprocmask, "sigprocmask" }, /* 130 */
2584 { 3, 0, sys_init_module, "init_module" }, /* 131 */
2585 { 1, 0, sys_delete_module, "delete_module" }, /* 132 */
2586@@ -143,16 +143,16 @@
2587 { 5, TD, sys_llseek, "_llseek" }, /* 142 */
2588 { 3, TD, sys_getdents, "getdents" }, /* 143 */
2589 { 2, TD, sys_flock, "flock" }, /* 144 */
2590- { 3, 0, sys_msync, "msync" }, /* 145 */
2591+ { 3, TM, sys_msync, "msync" }, /* 145 */
2592 { 3, TD, sys_readv, "readv" }, /* 146 */
2593 { 3, TD, sys_writev, "writev" }, /* 147 */
2594 { 1, 0, sys_getsid, "getsid" }, /* 148 */
2595 { 1, TD, sys_fdatasync, "fdatasync" }, /* 149 */
2596 { 1, 0, sys_sysctl, "_sysctl" }, /* 150 */
2597- { 2, 0, sys_mlock, "mlock" }, /* 151 */
2598- { 2, 0, sys_munlock, "munlock" }, /* 152 */
2599- { 1, 0, sys_mlockall, "mlockall" }, /* 153 */
2600- { 0, 0, sys_munlockall, "munlockall" }, /* 154 */
2601+ { 2, TM, sys_mlock, "mlock" }, /* 151 */
2602+ { 2, TM, sys_munlock, "munlock" }, /* 152 */
2603+ { 1, TM, sys_mlockall, "mlockall" }, /* 153 */
2604+ { 0, TM, sys_munlockall, "munlockall" }, /* 154 */
2605 { 0, 0, sys_sched_setparam, "sched_setparam" }, /* 155 */
2606 { 2, 0, sys_sched_getparam, "sched_getparam" }, /* 156 */
2607 { 3, 0, sys_sched_setscheduler, "sched_setscheduler" }, /* 157 */
2608@@ -162,7 +162,7 @@
2609 { 1, 0, sys_sched_get_priority_min,"sched_get_priority_min" }, /* 161 */
2610 { 2, 0, sys_sched_rr_get_interval,"sched_rr_get_interval" }, /* 162 */
2611 { 2, 0, sys_nanosleep, "nanosleep" }, /* 163 */
2612- { 4, 0, sys_mremap, "mremap" }, /* 164 */
2613+ { 4, TM, sys_mremap, "mremap" }, /* 164 */
2614 { 3, 0, sys_setresuid, "setresuid" }, /* 165 */
2615 { 3, 0, sys_getresuid, "getresuid" }, /* 166 */
2616 { 3, TD, sys_poll, "poll" }, /* 167 */
2617@@ -194,8 +194,8 @@
2618 { 2, TF, sys_lstat64, "lstat64" }, /* 193 */
2619 { 2, TD, sys_fstat64, "fstat64" }, /* 194 */
2620 { 2, TF, sys_pivotroot, "pivot_root" }, /* 195 */
2621- { 3, 0, sys_mincore, "mincore" }, /* 196 */
2622- { 3, 0, sys_madvise, "madvise" }, /* 197 */
2623+ { 3, TM, sys_mincore, "mincore" }, /* 196 */
2624+ { 3, TM, sys_madvise, "madvise" }, /* 197 */
2625 { 4, TD, sys_getdents64, "getdents64" }, /* 198 */
2626 { 3, TD, sys_fcntl, "fcntl64" }, /* 199 */
2627 { 0, 0, sys_gettid, "gettid" }, /* 200 */
2628@@ -223,13 +223,13 @@
2629 { 3, 0, sys_io_submit, "io_submit" }, /* 222 */
2630 { 3, 0, sys_io_cancel, "io_cancel" }, /* 223 */
2631 { 5, TD, sys_fadvise64, "fadvise64" }, /* 224 */
2632- { 4, 0, sys_migrate_pages, "migrate_pages" }, /* 225 */
2633+ { 4, TM, sys_migrate_pages, "migrate_pages" }, /* 225 */
2634 { 1, TP, sys_exit, "exit_group" }, /* 226 */
2635 { 4, 0, sys_lookup_dcookie, "lookup_dcookie" }, /* 227 */
2636 { 1, TD, sys_epoll_create, "epoll_create" }, /* 228 */
2637 { 4, TD, sys_epoll_ctl, "epoll_ctl" }, /* 229 */
2638 { 4, TD, sys_epoll_wait, "epoll_wait" }, /* 230 */
2639- { 5, 0, sys_remap_file_pages, "remap_file_pages" }, /* 231 */
2640+ { 5, TM, sys_remap_file_pages, "remap_file_pages" }, /* 231 */
2641 { 1, 0, sys_set_tid_address, "set_tid_address" }, /* 232 */
2642 { 3, 0, sys_timer_create, "timer_create" }, /* 233 */
2643 { 4, 0, sys_timer_settime, "timer_settime" }, /* 234 */
2644@@ -245,9 +245,9 @@
2645 { 3, TS, sys_tgkill, "tgkill" }, /* 244 */
2646 { 2, TF, sys_utimes, "utimes" }, /* 245 */
2647 { 6, TD, sys_fadvise64_64, "fadvise64_64" }, /* 246 */
2648- { 6, 0, sys_mbind, "mbind" }, /* 247 */
2649- { 5, 0, sys_get_mempolicy, "get_mempolicy" }, /* 248 */
2650- { 3, 0, sys_set_mempolicy, "set_mempolicy" }, /* 249 */
2651+ { 6, TM, sys_mbind, "mbind" }, /* 247 */
2652+ { 5, TM, sys_get_mempolicy, "get_mempolicy" }, /* 248 */
2653+ { 3, TM, sys_set_mempolicy, "set_mempolicy" }, /* 249 */
2654 { 4, 0, sys_mq_open, "mq_open" }, /* 250 */
2655 { 1, 0, sys_mq_unlink, "mq_unlink" }, /* 251 */
2656 { 5, 0, sys_mq_timedsend, "mq_timedsend" }, /* 252 */
2657@@ -287,7 +287,7 @@
2658 { 4, TD, sys_sync_file_range, "sync_file_range" }, /* 286 */
2659 { 4, TD, sys_tee, "tee" }, /* 287 */
2660 { 4, TD, sys_vmsplice, "vmsplice" }, /* 288 */
2661- { 6, TP, sys_move_pages, "move_pages" }, /* 289 */
2662+ { 6, TM, sys_move_pages, "move_pages" }, /* 289 */
2663 { 1, TP, printargs, "unused" }, /* 290 */
2664 { 1, 0, printargs, "cmpxchg_badaddr" }, /* 291 */
2665 { 3, 0, sys_getcpu, "getcpu" }, /* 292 */
2666diff --git a/linux/x32/syscallent.h b/linux/x32/syscallent.h
2667index 978af94..924164e 100644
2668--- a/linux/x32/syscallent.h
2669+++ b/linux/x32/syscallent.h
2670@@ -7,10 +7,10 @@
2671 { 2, TF, sys_lstat, "lstat" }, /* 6 */
2672 { 3, TD, sys_poll, "poll" }, /* 7 */
2673 { 3, TD, sys_lseek, "lseek" }, /* 8 */
2674- { 6, TD, sys_mmap, "mmap" }, /* 9 */
2675- { 3, 0, sys_mprotect, "mprotect" }, /* 10 */
2676- { 2, 0, sys_munmap, "munmap" }, /* 11 */
2677- { 1, 0, sys_brk, "brk" }, /* 12 */
2678+ { 6, TD|TM, sys_mmap, "mmap" }, /* 9 */
2679+ { 3, TM, sys_mprotect, "mprotect" }, /* 10 */
2680+ { 2, TM, sys_munmap, "munmap" }, /* 11 */
2681+ { 1, TM, sys_brk, "brk" }, /* 12 */
2682 { 4, TS, printargs, "64:rt_sigaction" }, /* 13 */
2683 { 4, TS, sys_rt_sigprocmask, "rt_sigprocmask"}, /* 14 */
2684 { 0, TS, printargs, "64:rt_sigreturn" }, /* 15 */
2685@@ -23,10 +23,10 @@
2686 { 1, TD, sys_pipe, "pipe" }, /* 22 */
2687 { 5, TD, sys_select, "select" }, /* 23 */
2688 { 0, 0, sys_sched_yield, "sched_yield" }, /* 24 */
2689- { 5, 0, sys_mremap, "mremap" }, /* 25 */
2690- { 3, 0, sys_msync, "msync" }, /* 26 */
2691- { 3, 0, sys_mincore, "mincore" }, /* 27 */
2692- { 3, 0, sys_madvise, "madvise" }, /* 28 */
2693+ { 5, TM, sys_mremap, "mremap" }, /* 25 */
2694+ { 3, TM, sys_msync, "msync" }, /* 26 */
2695+ { 3, TM, sys_mincore, "mincore" }, /* 27 */
2696+ { 3, TM, sys_madvise, "madvise" }, /* 28 */
2697 { 4, TI, sys_shmget, "shmget" }, /* 29 */
2698 { 4, TI, sys_shmat, "shmat" }, /* 30 */
2699 { 4, TI, sys_shmctl, "shmctl" }, /* 31 */
2700@@ -147,10 +147,10 @@
2701 { 1, 0, sys_sched_get_priority_max, "sched_get_priority_max" }, /* 146 */
2702 { 1, 0, sys_sched_get_priority_min, "sched_get_priority_min" }, /* 147 */
2703 { 2, 0, sys_sched_rr_get_interval, "sched_rr_get_interval" }, /* 148 */
2704- { 2, 0, sys_mlock, "mlock" }, /* 149 */
2705- { 2, 0, sys_munlock, "munlock" }, /* 150 */
2706- { 1, 0, sys_mlockall, "mlockall" }, /* 151 */
2707- { 0, 0, sys_munlockall, "munlockall" }, /* 152 */
2708+ { 2, TM, sys_mlock, "mlock" }, /* 149 */
2709+ { 2, TM, sys_munlock, "munlock" }, /* 150 */
2710+ { 1, TM, sys_mlockall, "mlockall" }, /* 151 */
2711+ { 0, TM, sys_munlockall, "munlockall" }, /* 152 */
2712 { 0, 0, sys_vhangup, "vhangup" }, /* 153 */
2713 { 3, 0, sys_modify_ldt, "modify_ldt" }, /* 154 */
2714 { 2, TF, sys_pivotroot, "pivot_root" }, /* 155 */
2715@@ -214,7 +214,7 @@
2716 { 1, TD, sys_epoll_create, "epoll_create" }, /* 213 */
2717 { 4, 0, printargs, "64:epoll_ctl_old" }, /* 214 */
2718 { 4, 0, printargs, "64:epoll_wait_old" }, /* 215 */
2719- { 5, 0, sys_remap_file_pages, "remap_file_pages"}, /* 216 */
2720+ { 5, TM, sys_remap_file_pages, "remap_file_pages"}, /* 216 */
2721 { 3, TD, sys_getdents64, "getdents64" }, /* 217 */
2722 { 1, 0, sys_set_tid_address, "set_tid_address"}, /* 218 */
2723 { 0, 0, sys_restart_syscall, "restart_syscall"}, /* 219 */
2724@@ -235,9 +235,9 @@
2725 { 3, TS, sys_tgkill, "tgkill" }, /* 234 */
2726 { 2, TF, sys_utimes, "utimes" }, /* 235 */
2727 { 5, 0, printargs, "64:vserver" }, /* 236 */
2728- { 6, 0, sys_mbind, "mbind" }, /* 237 */
2729- { 3, 0, sys_set_mempolicy, "set_mempolicy" }, /* 238 */
2730- { 5, 0, sys_get_mempolicy, "get_mempolicy" }, /* 239 */
2731+ { 6, TM, sys_mbind, "mbind" }, /* 237 */
2732+ { 3, TM, sys_set_mempolicy, "set_mempolicy" }, /* 238 */
2733+ { 5, TM, sys_get_mempolicy, "get_mempolicy" }, /* 239 */
2734 { 4, 0, sys_mq_open, "mq_open" }, /* 240 */
2735 { 1, 0, sys_mq_unlink, "mq_unlink" }, /* 241 */
2736 { 5, 0, sys_mq_timedsend, "mq_timedsend" }, /* 242 */
2737@@ -254,7 +254,7 @@
2738 { 0, TD, sys_inotify_init, "inotify_init" }, /* 253 */
2739 { 3, TD, sys_inotify_add_watch, "inotify_add_watch" }, /* 254 */
2740 { 2, TD, sys_inotify_rm_watch, "inotify_rm_watch" }, /* 255 */
2741- { 4, 0, sys_migrate_pages, "migrate_pages" }, /* 256 */
2742+ { 4, TM, sys_migrate_pages, "migrate_pages" }, /* 256 */
2743 { 4, TD|TF, sys_openat, "openat" }, /* 257 */
2744 { 3, TD|TF, sys_mkdirat, "mkdirat" }, /* 258 */
2745 { 4, TD|TF, sys_mknodat, "mknodat" }, /* 259 */
2746@@ -277,7 +277,7 @@
2747 { 4, TD, sys_tee, "tee" }, /* 276 */
2748 { 4, TD, sys_sync_file_range, "sync_file_range" }, /* 277 */
2749 { 4, TD, printargs, "64:vmsplice" }, /* 278 */
2750- { 6, 0, printargs, "64:move_pages" }, /* 279 */
2751+ { 6, TM, printargs, "64:move_pages" }, /* 279 */
2752 { 4, TD|TF, sys_utimensat, "utimensat" }, /* 280 */
2753 { 6, TD, sys_epoll_pwait, "epoll_pwait" }, /* 281 */
2754 { 3, TD|TS, sys_signalfd, "signalfd" }, /* 282 */
2755@@ -334,7 +334,7 @@
2756 { 2, 0, sys_set_robust_list, "set_robust_list" }, /* 530 */
2757 { 3, 0, sys_get_robust_list, "get_robust_list" }, /* 531 */
2758 { 4, TD, sys_vmsplice, "vmsplice" }, /* 532 */
2759- { 6, 0, sys_move_pages, "move_pages" }, /* 533 */
2760+ { 6, TM, sys_move_pages, "move_pages" }, /* 533 */
2761 { 5, TD, sys_preadv, "preadv" }, /* 534 */
2762 { 5, TD, sys_pwritev, "pwritev" }, /* 535 */
2763 { 4, TP|TS, sys_rt_tgsigqueueinfo, "rt_tgsigqueueinfo" }, /* 536 */
2764diff --git a/linux/x86_64/syscallent.h b/linux/x86_64/syscallent.h
2765index 34ebc53..2ce663f 100644
2766--- a/linux/x86_64/syscallent.h
2767+++ b/linux/x86_64/syscallent.h
2768@@ -7,10 +7,10 @@
2769 { 2, TF, sys_lstat, "lstat" }, /* 6 */
2770 { 3, TD, sys_poll, "poll" }, /* 7 */
2771 { 3, TD, sys_lseek, "lseek" }, /* 8 */
2772- { 6, TD, sys_mmap, "mmap" }, /* 9 */
2773- { 3, 0, sys_mprotect, "mprotect" }, /* 10 */
2774- { 2, 0, sys_munmap, "munmap" }, /* 11 */
2775- { 1, 0, sys_brk, "brk" }, /* 12 */
2776+ { 6, TD|TM, sys_mmap, "mmap" }, /* 9 */
2777+ { 3, TM, sys_mprotect, "mprotect" }, /* 10 */
2778+ { 2, TM, sys_munmap, "munmap" }, /* 11 */
2779+ { 1, TM, sys_brk, "brk" }, /* 12 */
2780 { 4, TS, sys_rt_sigaction, "rt_sigaction" }, /* 13 */
2781 { 4, TS, sys_rt_sigprocmask, "rt_sigprocmask"}, /* 14 */
2782 { 0, TS, sys_rt_sigreturn, "rt_sigreturn" }, /* 15 */
2783@@ -23,10 +23,10 @@
2784 { 1, TD, sys_pipe, "pipe" }, /* 22 */
2785 { 5, TD, sys_select, "select" }, /* 23 */
2786 { 0, 0, sys_sched_yield, "sched_yield" }, /* 24 */
2787- { 5, 0, sys_mremap, "mremap" }, /* 25 */
2788- { 3, 0, sys_msync, "msync" }, /* 26 */
2789- { 3, 0, sys_mincore, "mincore" }, /* 27 */
2790- { 3, 0, sys_madvise, "madvise" }, /* 28 */
2791+ { 5, TM, sys_mremap, "mremap" }, /* 25 */
2792+ { 3, TM, sys_msync, "msync" }, /* 26 */
2793+ { 3, TM, sys_mincore, "mincore" }, /* 27 */
2794+ { 3, TM, sys_madvise, "madvise" }, /* 28 */
2795 { 4, TI, sys_shmget, "shmget" }, /* 29 */
2796 { 4, TI, sys_shmat, "shmat" }, /* 30 */
2797 { 4, TI, sys_shmctl, "shmctl" }, /* 31 */
2798@@ -147,10 +147,10 @@
2799 { 1, 0, sys_sched_get_priority_max, "sched_get_priority_max" }, /* 146 */
2800 { 1, 0, sys_sched_get_priority_min, "sched_get_priority_min" }, /* 147 */
2801 { 2, 0, sys_sched_rr_get_interval, "sched_rr_get_interval" }, /* 148 */
2802- { 2, 0, sys_mlock, "mlock" }, /* 149 */
2803- { 2, 0, sys_munlock, "munlock" }, /* 150 */
2804- { 1, 0, sys_mlockall, "mlockall" }, /* 151 */
2805- { 0, 0, sys_munlockall, "munlockall" }, /* 152 */
2806+ { 2, TM, sys_mlock, "mlock" }, /* 149 */
2807+ { 2, TM, sys_munlock, "munlock" }, /* 150 */
2808+ { 1, TM, sys_mlockall, "mlockall" }, /* 151 */
2809+ { 0, TM, sys_munlockall, "munlockall" }, /* 152 */
2810 { 0, 0, sys_vhangup, "vhangup" }, /* 153 */
2811 { 3, 0, sys_modify_ldt, "modify_ldt" }, /* 154 */
2812 { 2, TF, sys_pivotroot, "pivot_root" }, /* 155 */
2813@@ -214,7 +214,7 @@
2814 { 1, TD, sys_epoll_create, "epoll_create" }, /* 213 */
2815 { 4, 0, printargs, "epoll_ctl_old" }, /* 214 */
2816 { 4, 0, printargs, "epoll_wait_old"}, /* 215 */
2817- { 5, 0, sys_remap_file_pages, "remap_file_pages"}, /* 216 */
2818+ { 5, TM, sys_remap_file_pages, "remap_file_pages"}, /* 216 */
2819 { 3, TD, sys_getdents64, "getdents64" }, /* 217 */
2820 { 1, 0, sys_set_tid_address, "set_tid_address"}, /* 218 */
2821 { 0, 0, sys_restart_syscall, "restart_syscall"}, /* 219 */
2822@@ -235,9 +235,9 @@
2823 { 3, TS, sys_tgkill, "tgkill" }, /* 234 */
2824 { 2, TF, sys_utimes, "utimes" }, /* 235 */
2825 { 5, 0, sys_vserver, "vserver" }, /* 236 */
2826- { 6, 0, sys_mbind, "mbind" }, /* 237 */
2827- { 3, 0, sys_set_mempolicy, "set_mempolicy" }, /* 238 */
2828- { 5, 0, sys_get_mempolicy, "get_mempolicy" }, /* 239 */
2829+ { 6, TM, sys_mbind, "mbind" }, /* 237 */
2830+ { 3, TM, sys_set_mempolicy, "set_mempolicy" }, /* 238 */
2831+ { 5, TM, sys_get_mempolicy, "get_mempolicy" }, /* 239 */
2832 { 4, 0, sys_mq_open, "mq_open" }, /* 240 */
2833 { 1, 0, sys_mq_unlink, "mq_unlink" }, /* 241 */
2834 { 5, 0, sys_mq_timedsend, "mq_timedsend" }, /* 242 */
2835@@ -254,7 +254,7 @@
2836 { 0, TD, sys_inotify_init, "inotify_init" }, /* 253 */
2837 { 3, TD, sys_inotify_add_watch, "inotify_add_watch" }, /* 254 */
2838 { 2, TD, sys_inotify_rm_watch, "inotify_rm_watch" }, /* 255 */
2839- { 4, 0, sys_migrate_pages, "migrate_pages" }, /* 256 */
2840+ { 4, TM, sys_migrate_pages, "migrate_pages" }, /* 256 */
2841 { 4, TD|TF, sys_openat, "openat" }, /* 257 */
2842 { 3, TD|TF, sys_mkdirat, "mkdirat" }, /* 258 */
2843 { 4, TD|TF, sys_mknodat, "mknodat" }, /* 259 */
2844@@ -277,7 +277,7 @@
2845 { 4, TD, sys_tee, "tee" }, /* 276 */
2846 { 4, TD, sys_sync_file_range, "sync_file_range" }, /* 277 */
2847 { 4, TD, sys_vmsplice, "vmsplice" }, /* 278 */
2848- { 6, 0, sys_move_pages, "move_pages" }, /* 279 */
2849+ { 6, TM, sys_move_pages, "move_pages" }, /* 279 */
2850 { 4, TD|TF, sys_utimensat, "utimensat" }, /* 280 */
2851 { 6, TD, sys_epoll_pwait, "epoll_pwait" }, /* 281 */
2852 { 3, TD|TS, sys_signalfd, "signalfd" }, /* 282 */
2853diff --git a/strace.1 b/strace.1
2854index faf4d45..f31b217 100644
2855--- a/strace.1
2856+++ b/strace.1
2857@@ -395,6 +395,9 @@ Trace all IPC related system calls.
2858 .BR "\-e\ trace" = desc
2859 Trace all file descriptor related system calls.
2860 .TP
2861+.BR "\-e\ trace" = memory
2862+Trace all memory mapping related system calls.
2863+.TP
2864 \fB\-e\ abbrev\fR=\fIset\fR
2865 Abbreviate the output from printing each member of large structures.
2866 The default is
2867diff --git a/syscall.c b/syscall.c
2868index c4c5e86..37936ad 100644
2869--- a/syscall.c
2870+++ b/syscall.c
2871@@ -97,6 +97,7 @@
2872 #define TN TRACE_NETWORK
2873 #define TP TRACE_PROCESS
2874 #define TS TRACE_SIGNAL
2875+#define TM TRACE_MEMORY
2876 #define NF SYSCALL_NEVER_FAILS
2877 #define MA MAX_ARGS
2878
2879@@ -123,6 +124,7 @@ static const struct sysent sysent2[] = {
2880 #undef TN
2881 #undef TP
2882 #undef TS
2883+#undef TM
2884 #undef NF
2885 #undef MA
2886
2887@@ -441,6 +443,8 @@ lookup_class(const char *s)
2888 return TRACE_SIGNAL;
2889 if (strcmp(s, "desc") == 0)
2890 return TRACE_DESC;
2891+ if (strcmp(s, "memory") == 0)
2892+ return TRACE_MEMORY;
2893 return -1;
2894 }
2895
2896--
28971.8.0
2898
diff --git a/meta/recipes-devtools/strace/strace-4.7/0026-linux-add-new-errno-values-for-EPROBE_DEFER-and-EOPE.patch b/meta/recipes-devtools/strace/strace-4.7/0026-linux-add-new-errno-values-for-EPROBE_DEFER-and-EOPE.patch
deleted file mode 100644
index 1f84d46ad0..0000000000
--- a/meta/recipes-devtools/strace/strace-4.7/0026-linux-add-new-errno-values-for-EPROBE_DEFER-and-EOPE.patch
+++ /dev/null
@@ -1,36 +0,0 @@
1Upstream-Status: Backport
2
3From d6dbd998b723087f933f88a9e10843c6a7682fa2 Mon Sep 17 00:00:00 2001
4From: Steve McIntyre <steve.mcintyre@linaro.org>
5Date: Wed, 24 Oct 2012 14:49:20 +0100
6Subject: [PATCH 26/31] linux: add new errno values for EPROBE_DEFER and
7 EOPENSTALE
8
9New definitions match updates in Linux 3.4 and Linux 3.5 respectively.
10
11* linux/errnoent.h (ERRNO_517): Change to EPROBE_DEFER.
12(ERRNO_518): Change to EOPENSTALE.
13
14Signed-off-by: Steve McIntyre <steve.mcintyre@linaro.org>
15---
16 linux/errnoent.h | 4 ++--
17 1 file changed, 2 insertions(+), 2 deletions(-)
18
19diff --git a/linux/errnoent.h b/linux/errnoent.h
20index e43bff5..c2ac683 100644
21--- a/linux/errnoent.h
22+++ b/linux/errnoent.h
23@@ -519,8 +519,8 @@
24 "ERESTARTNOHAND", /* 514 */
25 "ENOIOCTLCMD", /* 515 */
26 "ERESTART_RESTARTBLOCK", /* 516 */
27- "ERRNO_517", /* 517 */
28- "ERRNO_518", /* 518 */
29+ "EPROBE_DEFER", /* 517 */
30+ "EOPENSTALE", /* 518 */
31 "ERRNO_519", /* 519 */
32 "ERRNO_520", /* 520 */
33 "EBADHANDLE", /* 521 */
34--
351.8.0
36
diff --git a/meta/recipes-devtools/strace/strace-4.7/0027-Add-AArch64-support-to-strace.patch b/meta/recipes-devtools/strace/strace-4.7/0027-Add-AArch64-support-to-strace.patch
deleted file mode 100644
index 9c204e441b..0000000000
--- a/meta/recipes-devtools/strace/strace-4.7/0027-Add-AArch64-support-to-strace.patch
+++ /dev/null
@@ -1,542 +0,0 @@
1Upstream-Status: Backport
2
3From d8d3bd3709eb52581c8ce86cec5a7a9c43c3c5b9 Mon Sep 17 00:00:00 2001
4From: Steve McIntyre <steve.mcintyre@linaro.org>
5Date: Wed, 24 Oct 2012 17:58:16 +0100
6Subject: [PATCH 27/31] Add AArch64 support to strace
7
8AArch64 has been included in linux from 3.7 onwards.
9Add support for AArch64 in strace, tested on linux in a simulator.
10
11* configure.ac: Support AArch64.
12* defs.h [AARCH64]: Include <sys/ptrace.h>, define TCB_WAITEXECVE.
13* ipc.c (indirect_ipccall): Support AArch64.
14* process.c (struct_user_offsets): Likewise.
15* syscall.c [AARCH64]: Include <asm/ptrace.h>, <sys/uio.h>, and
16<elf.h>. Define struct user_pt_regs regs.
17(get_scno, get_syscall_result): Support AArch64 using PTRACE_GETREGSET.
18(get_syscall_args, get_error): Support AArch64.
19* linux/aarch64/ioctlent.h.in: New file.
20* linux/aarch64/syscallent.h: New file, based on linux 3.7 version of
21asm-generic/unistd.h.
22
23Signed-off-by: Steve McIntyre <steve.mcintyre@linaro.org>
24---
25 configure.ac | 4 +
26 defs.h | 5 +-
27 ipc.c | 2 +-
28 linux/aarch64/ioctlent.h.in | 1 +
29 linux/aarch64/syscallent.h | 330 ++++++++++++++++++++++++++++++++++++++++++++
30 process.c | 7 +-
31 syscall.c | 32 +++++
32 7 files changed, 375 insertions(+), 6 deletions(-)
33 create mode 100644 linux/aarch64/ioctlent.h.in
34 create mode 100644 linux/aarch64/syscallent.h
35
36diff --git a/configure.ac b/configure.ac
37index a9f8d15..f44eaf1 100644
38--- a/configure.ac
39+++ b/configure.ac
40@@ -56,6 +56,10 @@ arm*)
41 arch=arm
42 AC_DEFINE([ARM], 1, [Define for the ARM architecture.])
43 ;;
44+aarch64*)
45+ arch=aarch64
46+ AC_DEFINE([AARCH64], 1, [Define for the AArch64 architecture.])
47+ ;;
48 avr32*)
49 arch=avr32
50 AC_DEFINE([AVR32], 1, [Define for the AVR32 architecture.])
51diff --git a/defs.h b/defs.h
52index d366b21..11e26bb 100644
53--- a/defs.h
54+++ b/defs.h
55@@ -134,7 +134,7 @@ extern char *stpcpy(char *dst, const char *src);
56 # define LINUX_MIPS64
57 #endif
58
59-#if (defined(LINUXSPARC) || defined(X86_64) || defined(ARM) || defined(AVR32)) && defined(__GLIBC__)
60+#if (defined(LINUXSPARC) || defined(X86_64) || defined(ARM) || defined(AARCH64) || defined(AVR32)) && defined(__GLIBC__)
61 # include <sys/ptrace.h>
62 #else
63 /* Work around awkward prototype in ptrace.h. */
64@@ -389,7 +389,8 @@ struct tcb {
65 #if defined(ALPHA) || defined(AVR32) || defined(SPARC) || defined(SPARC64) \
66 || defined(POWERPC) || defined(IA64) || defined(HPPA) \
67 || defined(SH) || defined(SH64) || defined(S390) || defined(S390X) \
68- || defined(ARM) || defined(MIPS) || defined(BFIN) || defined(TILE)
69+ || defined(ARM) || defined(AARCH64) || defined(MIPS) || defined(BFIN) \
70+ || defined(TILE)
71 /* This tracee has entered into execve syscall. Expect post-execve SIGTRAP
72 * to happen. (When it is detected, tracee is continued and this bit is cleared.)
73 */
74diff --git a/ipc.c b/ipc.c
75index f4ec522..0bde1cf 100644
76--- a/ipc.c
77+++ b/ipc.c
78@@ -174,7 +174,7 @@ indirect_ipccall(struct tcb *tcp)
79 #if defined IA64
80 return tcp->scno < 1024; /* ia32 emulation syscalls are low */
81 #endif
82-#if defined(ALPHA) || defined(MIPS) || defined(HPPA) || defined(__ARM_EABI__)
83+#if defined(ALPHA) || defined(MIPS) || defined(HPPA) || defined(__ARM_EABI__) || defined(AARCH64)
84 return 0;
85 #endif
86 return 1;
87diff --git a/linux/aarch64/ioctlent.h.in b/linux/aarch64/ioctlent.h.in
88new file mode 100644
89index 0000000..83e6eb2
90--- /dev/null
91+++ b/linux/aarch64/ioctlent.h.in
92@@ -0,0 +1 @@
93+#include "../arm/ioctlent.h.in"
94diff --git a/linux/aarch64/syscallent.h b/linux/aarch64/syscallent.h
95new file mode 100644
96index 0000000..eeda429
97--- /dev/null
98+++ b/linux/aarch64/syscallent.h
99@@ -0,0 +1,330 @@
100+ { 2, 0, sys_io_setup, "io_setup" }, /* 0 */
101+ { 1, 0, sys_io_destroy, "io_destroy" }, /* 1 */
102+ { 3, 0, sys_io_submit, "io_submit" }, /* 2 */
103+ { 3, 0, sys_io_cancel, "io_cancel" }, /* 3 */
104+ { 5, 0, sys_io_getevents, "io_getevents" }, /* 4 */
105+ { 5, TF, sys_setxattr, "setxattr" }, /* 5 */
106+ { 5, TF, sys_setxattr, "lsetxattr" }, /* 6 */
107+ { 5, TD, sys_fsetxattr, "fsetxattr" }, /* 7 */
108+ { 4, TF, sys_getxattr, "getxattr" }, /* 8 */
109+ { 4, TF, sys_getxattr, "lgetxattr" }, /* 9 */
110+ { 4, TD, sys_fgetxattr, "fgetxattr" }, /* 10 */
111+ { 3, TF, sys_listxattr, "listxattr" }, /* 11 */
112+ { 3, TF, sys_listxattr, "llistxattr" }, /* 12 */
113+ { 3, TD, sys_flistxattr, "flistxattr" }, /* 13 */
114+ { 2, TF, sys_removexattr, "removexattr" }, /* 14 */
115+ { 2, TF, sys_removexattr, "lremovexattr" }, /* 15 */
116+ { 2, TD, sys_fremovexattr, "fremovexattr" }, /* 16 */
117+ { 2, TF, sys_getcwd, "getcwd" }, /* 17 */
118+ { 4, 0, sys_lookup_dcookie, "lookup_dcookie" }, /* 18 */
119+ { 2, TD, sys_eventfd2, "eventfd2" }, /* 19 */
120+ { 1, TD, sys_epoll_create1, "epoll_create1" }, /* 20 */
121+ { 4, TD, sys_epoll_ctl, "epoll_ctl" }, /* 21 */
122+ { 6, TD, sys_epoll_pwait, "epoll_pwait" }, /* 22 */
123+ { 1, TD, sys_dup, "dup" }, /* 23 */
124+ { 3, TD, sys_dup3, "dup3" }, /* 24 */
125+ { 3, TD, sys_fcntl, "fcntl" }, /* 25 */
126+ { 1, TD, sys_inotify_init1, "inotify_init1" }, /* 26 */
127+ { 3, TD, sys_inotify_add_watch, "inotify_add_watch" }, /* 27 */
128+ { 2, TD, sys_inotify_rm_watch, "inotify_rm_watch" }, /* 28 */
129+ { 3, TD, sys_ioctl, "ioctl" }, /* 29 */
130+ { 3, 0, sys_ioprio_set, "ioprio_set" }, /* 30 */
131+ { 2, 0, sys_ioprio_get, "ioprio_get" }, /* 31 */
132+ { 2, TD, sys_flock, "flock" }, /* 32 */
133+ { 4, TD|TF, sys_mknodat, "mknodat" }, /* 33 */
134+ { 3, TD|TF, sys_mkdirat, "mkdirat" }, /* 34 */
135+ { 3, TD|TF, sys_unlinkat, "unlinkat" }, /* 35 */
136+ { 3, TD|TF, sys_symlinkat, "symlinkat" }, /* 36 */
137+ { 5, TD|TF, sys_linkat, "linkat" }, /* 37 */
138+ { 4, TD|TF, sys_renameat, "renameat" }, /* 38 */
139+ { 2, TF, sys_umount2, "umount2" }, /* 39 */
140+ { 5, TF, sys_mount, "mount" }, /* 40 */
141+ { 2, TF, sys_pivotroot, "pivot_root" }, /* 41 */
142+ { 3, 0, sys_nfsservctl, "nfsservctl" }, /* 42 */
143+ { 2, TF, sys_statfs, "statfs64" }, /* 43 */
144+ { 2, TD, sys_fstatfs, "fstatfs64" }, /* 44 */
145+ { 2, TF, sys_truncate, "truncate64" }, /* 45 */
146+ { 2, TD, sys_ftruncate, "ftruncate64" }, /* 46 */
147+ { 6, TD, sys_fallocate, "fallocate" }, /* 47 */
148+ { 3, TD|TF, sys_faccessat, "faccessat" }, /* 48 */
149+ { 1, TF, sys_chdir, "chdir" }, /* 49 */
150+ { 1, TD, sys_fchdir, "fchdir" }, /* 50 */
151+ { 1, TF, sys_chroot, "chroot" }, /* 51 */
152+ { 2, TD, sys_fchmod, "fchmod" }, /* 52 */
153+ { 3, TD|TF, sys_fchmodat, "fchmodat" }, /* 53 */
154+ { 5, TD|TF, sys_fchownat, "fchownat" }, /* 54 */
155+ { 3, TD, sys_fchown, "fchown" }, /* 55 */
156+ { 4, TD|TF, sys_openat, "openat" }, /* 56 */
157+ { 1, TD, sys_close, "close" }, /* 57 */
158+ { 0, 0, sys_vhangup, "vhangup" }, /* 58 */
159+ { 2, TD, sys_pipe2, "pipe2" }, /* 59 */
160+ { 4, 0, sys_quotactl, "quotactl" }, /* 60 */
161+ { 3, TD, sys_getdents64, "getdents64" }, /* 61 */
162+ { 3, TD, sys_lseek, "lseek" }, /* 62 */
163+ { 3, TD, sys_read, "read" }, /* 63 */
164+ { 3, TD, sys_write, "write" }, /* 64 */
165+ { 3, TD, sys_readv, "readv" }, /* 65 */
166+ { 3, TD, sys_writev, "writev" }, /* 66 */
167+ { 5, TD, sys_pread, "pread64" }, /* 67 */
168+ { 5, TD, sys_pwrite, "pwrite64" }, /* 68 */
169+ { 5, TD, sys_preadv, "preadv" }, /* 69 */
170+ { 5, TD, sys_pwritev, "pwritev" }, /* 70 */
171+ { 4, TD|TN, sys_sendfile, "sendfile" }, /* 71 */
172+ { 6, TD, sys_pselect6, "pselect6" }, /* 72 */
173+ { 5, TD, sys_ppoll, "ppoll" }, /* 73 */
174+ { 4, TD|TS, sys_signalfd4, "signalfd4" }, /* 74 */
175+ { 4, TD, sys_vmsplice, "vmsplice" }, /* 75 */
176+ { 6, TD, sys_splice, "splice" }, /* 76 */
177+ { 4, TD, sys_tee, "tee" }, /* 77 */
178+ { 4, TD|TF, sys_readlinkat, "readlinkat" }, /* 78 */
179+ { 4, TD|TF, sys_newfstatat, "newfstatat" }, /* 79 */
180+ { 2, TD, sys_fstat, "fstat" }, /* 80 */
181+ { 0, 0, sys_sync, "sync" }, /* 81 */
182+ { 1, TD, sys_fsync, "fsync" }, /* 82 */
183+ { 1, TD, sys_fdatasync, "fdatasync" }, /* 83 */
184+ { 4, TD, sys_sync_file_range, "sync_file_range" }, /* 84 */
185+ { 2, TD, sys_timerfd_create, "timerfd_create" }, /* 85 */
186+ { 4, TD, sys_timerfd_settime, "timerfd_settime" }, /* 86 */
187+ { 2, TD, sys_timerfd_gettime, "timerfd_gettime" }, /* 87 */
188+ { 4, TD|TF, sys_utimensat, "utimensat" }, /* 88 */
189+ { 1, TF, sys_acct, "acct" }, /* 89 */
190+ { 2, 0, sys_capget, "capget" }, /* 90 */
191+ { 2, 0, sys_capset, "capset" }, /* 91 */
192+ { 1, 0, sys_personality, "personality" }, /* 92 */
193+ { 1, TP, sys_exit, "exit" }, /* 93 */
194+ { 1, TP, sys_exit, "exit_group" }, /* 94 */
195+ { 5, TP, sys_waitid, "waitid" }, /* 95 */
196+ { 1, 0, sys_set_tid_address, "set_tid_address" }, /* 96 */
197+ { 1, TP, sys_unshare, "unshare" }, /* 97 */
198+ { 6, 0, sys_futex, "futex" }, /* 98 */
199+ { 2, 0, sys_set_robust_list, "set_robust_list" }, /* 99 */
200+ { 3, 0, sys_get_robust_list, "get_robust_list" }, /* 100 */
201+ { 2, 0, sys_nanosleep, "nanosleep" }, /* 101 */
202+ { 2, 0, sys_getitimer, "getitimer" }, /* 102 */
203+ { 3, 0, sys_setitimer, "setitimer" }, /* 103 */
204+ { 4, 0, sys_kexec_load, "kexec_load" }, /* 104 */
205+ { 3, 0, sys_init_module, "init_module" }, /* 105 */
206+ { 2, 0, sys_delete_module, "delete_module" }, /* 106 */
207+ { 3, 0, sys_timer_create, "timer_create" }, /* 107 */
208+ { 2, 0, sys_timer_gettime, "timer_gettime" }, /* 108 */
209+ { 1, 0, sys_timer_getoverrun, "timer_getoverrun" }, /* 109 */
210+ { 4, 0, sys_timer_settime, "timer_settime" }, /* 110 */
211+ { 1, 0, sys_timer_delete, "timer_delete" }, /* 111 */
212+ { 2, 0, sys_clock_settime, "clock_settime" }, /* 112 */
213+ { 2, 0, sys_clock_gettime, "clock_gettime" }, /* 113 */
214+ { 2, 0, sys_clock_getres, "clock_getres" }, /* 114 */
215+ { 4, 0, sys_clock_nanosleep, "clock_nanosleep" }, /* 115 */
216+ { 3, 0, sys_syslog, "syslog" }, /* 116 */
217+ { 4, 0, sys_ptrace, "ptrace" }, /* 117 */
218+ { 0, 0, sys_sched_setparam, "sched_setparam" }, /* 118 */
219+ { 3, 0, sys_sched_setscheduler, "sched_setscheduler" }, /* 119 */
220+ { 1, 0, sys_sched_getscheduler, "sched_getscheduler" }, /* 120 */
221+ { 2, 0, sys_sched_getparam, "sched_getparam" }, /* 121 */
222+ { 3, 0, sys_sched_setaffinity, "sched_setaffinity" }, /* 122 */
223+ { 3, 0, sys_sched_getaffinity, "sched_getaffinity" }, /* 123 */
224+ { 0, 0, sys_sched_yield, "sched_yield" }, /* 124 */
225+ { 1, 0, sys_sched_get_priority_max, "sched_get_priority_max" }, /* 125 */
226+ { 1, 0, sys_sched_get_priority_min, "sched_get_priority_min" }, /* 126 */
227+ { 2, 0, sys_sched_rr_get_interval, "sched_rr_get_interval" }, /* 127 */
228+ { 0, 0, sys_restart_syscall, "restart_syscall" }, /* 128 */
229+ { 2, TS, sys_kill, "kill" }, /* 129 */
230+ { 2, TS, sys_kill, "tkill" }, /* 130 */
231+ { 3, TS, sys_tgkill, "tgkill" }, /* 131 */
232+ { 2, TS, sys_sigaltstack, "sigaltstack" }, /* 132 */
233+ { 2, TS, sys_rt_sigsuspend, "rt_sigsuspend" }, /* 133 */
234+ { 4, TS, sys_rt_sigaction, "rt_sigaction" }, /* 134 */
235+ { 4, TS, sys_rt_sigprocmask, "rt_sigprocmask" }, /* 135 */
236+ { 2, TS, sys_rt_sigpending, "rt_sigpending" }, /* 136 */
237+ { 4, TS, sys_rt_sigtimedwait, "rt_sigtimedwait" }, /* 137 */
238+ { 3, TS, sys_rt_sigqueueinfo, "rt_sigqueueinfo" }, /* 138 */
239+ { 0, TS, sys_rt_sigreturn, "rt_sigreturn" }, /* 139 */
240+ { 3, 0, sys_setpriority, "setpriority" }, /* 140 */
241+ { 2, 0, sys_getpriority, "getpriority" }, /* 141 */
242+ { 4, 0, sys_reboot, "reboot" }, /* 142 */
243+ { 2, 0, sys_setregid, "setregid" }, /* 143 */
244+ { 1, 0, sys_setgid, "setgid" }, /* 144 */
245+ { 2, 0, sys_setreuid, "setreuid" }, /* 145 */
246+ { 1, 0, sys_setuid, "setuid" }, /* 146 */
247+ { 3, 0, sys_setresuid, "setresuid" }, /* 147 */
248+ { 3, 0, sys_getresuid, "getresuid" }, /* 148 */
249+ { 3, 0, sys_setresgid, "setresgid" }, /* 149 */
250+ { 3, 0, sys_getresgid, "getresgid" }, /* 150 */
251+ { 1, NF, sys_setfsuid, "setfsuid" }, /* 151 */
252+ { 1, NF, sys_setfsgid, "setfsgid" }, /* 152 */
253+ { 1, 0, sys_times, "times" }, /* 153 */
254+ { 2, 0, sys_setpgid, "setpgid" }, /* 154 */
255+ { 1, 0, sys_getpgid, "getpgid" }, /* 155 */
256+ { 1, 0, sys_getsid, "getsid" }, /* 156 */
257+ { 0, 0, sys_setsid, "setsid" }, /* 157 */
258+ { 2, 0, sys_getgroups, "getgroups" }, /* 158 */
259+ { 2, 0, sys_setgroups, "setgroups" }, /* 159 */
260+ { 1, 0, sys_uname, "uname" }, /* 160 */
261+ { 2, 0, sys_sethostname, "sethostname" }, /* 161 */
262+ { 2, 0, sys_setdomainname, "setdomainname" }, /* 162 */
263+ { 2, 0, sys_getrlimit, "getrlimit" }, /* 163 */
264+ { 2, 0, sys_setrlimit, "setrlimit" }, /* 164 */
265+ { 2, 0, sys_getrusage, "getrusage" }, /* 165 */
266+ { 1, 0, sys_umask, "umask" }, /* 166 */
267+ { 5, 0, sys_prctl, "prctl" }, /* 167 */
268+ { 3, 0, sys_getcpu, "getcpu" }, /* 168 */
269+ { 2, 0, sys_gettimeofday, "gettimeofday" }, /* 169 */
270+ { 2, 0, sys_settimeofday, "settimeofday" }, /* 170 */
271+ { 1, 0, sys_adjtimex, "adjtimex" }, /* 171 */
272+ { 0, 0, sys_getpid, "getpid" }, /* 172 */
273+ { 0, 0, sys_getppid, "getppid" }, /* 173 */
274+ { 0, NF, sys_getuid, "getuid" }, /* 174 */
275+ { 0, NF, sys_geteuid, "geteuid" }, /* 175 */
276+ { 0, NF, sys_getgid, "getgid" }, /* 176 */
277+ { 0, NF, sys_getegid, "getegid" }, /* 177 */
278+ { 0, 0, sys_gettid, "gettid" }, /* 178 */
279+ { 1, 0, sys_sysinfo, "sysinfo" }, /* 179 */
280+ { 4, 0, sys_mq_open, "mq_open" }, /* 180 */
281+ { 1, 0, sys_mq_unlink, "mq_unlink" }, /* 181 */
282+ { 5, 0, sys_mq_timedsend, "mq_timedsend" }, /* 182 */
283+ { 5, 0, sys_mq_timedreceive, "mq_timedreceive" }, /* 183 */
284+ { 2, 0, sys_mq_notify, "mq_notify" }, /* 184 */
285+ { 3, 0, sys_mq_getsetattr, "mq_getsetattr" }, /* 185 */
286+ { 4, TI, sys_msgget, "msgget" }, /* 186 */
287+ { 3, TI, sys_msgctl, "msgctl" }, /* 187 */
288+ { 5, TI, sys_msgrcv, "msgrcv" }, /* 188 */
289+ { 4, TI, sys_msgsnd, "msgsnd" }, /* 189 */
290+ { 4, TI, sys_semget, "semget" }, /* 190 */
291+ { 4, TI, sys_semctl, "semctl" }, /* 191 */
292+ { 5, TI, sys_semtimedop, "semtimedop" }, /* 192 */
293+ { 4, TI, sys_semop, "semop" }, /* 193 */
294+ { 4, TI, sys_shmget, "shmget" }, /* 194 */
295+ { 4, TI, sys_shmctl, "shmctl" }, /* 195 */
296+ { 4, TI, sys_shmat, "shmat" }, /* 196 */
297+ { 4, TI, sys_shmdt, "shmdt" }, /* 197 */
298+ { 3, TN, sys_socket, "socket" }, /* 198 */
299+ { 4, TN, sys_socketpair, "socketpair" }, /* 199 */
300+ { 3, TN, sys_bind, "bind" }, /* 200 */
301+ { 2, TN, sys_listen, "listen" }, /* 201 */
302+ { 3, TN, sys_accept, "accept" }, /* 202 */
303+ { 3, TN, sys_connect, "connect" }, /* 203 */
304+ { 3, TN, sys_getsockname, "getsockname" }, /* 204 */
305+ { 3, TN, sys_getpeername, "getpeername" }, /* 205 */
306+ { 6, TN, sys_sendto, "sendto" }, /* 206 */
307+ { 6, TN, sys_recvfrom, "recvfrom" }, /* 207 */
308+ { 5, TN, sys_setsockopt, "setsockopt" }, /* 208 */
309+ { 5, TN, sys_getsockopt, "getsockopt" }, /* 209 */
310+ { 2, TN, sys_shutdown, "shutdown" }, /* 210 */
311+ { 3, TN, sys_sendmsg, "sendmsg" }, /* 211 */
312+ { 5, TN, sys_recvmsg, "recvmsg" }, /* 212 */
313+ { 4, TD, sys_readahead, "readahead" }, /* 213 */
314+ { 1, TM, sys_brk, "brk" }, /* 214 */
315+ { 2, TM, sys_munmap, "munmap" }, /* 215 */
316+ { 5, TM, sys_mremap, "mremap" }, /* 216 */
317+ { 5, 0, sys_add_key, "add_key" }, /* 217 */
318+ { 4, 0, sys_request_key, "request_key" }, /* 218 */
319+ { 5, 0, sys_keyctl, "keyctl" }, /* 219 */
320+ { 5, TP, sys_clone, "clone" }, /* 220 */
321+ { 3, TF|TP, sys_execve, "execve" }, /* 221 */
322+ { 6, TD|TM, sys_mmap, "mmap" }, /* 222 */
323+ { 4, TD, sys_fadvise64, "fadvise64" }, /* 223 */
324+ { 2, TF, sys_swapon, "swapon" }, /* 224 */
325+ { 1, TF, sys_swapoff, "swapoff" }, /* 225 */
326+ { 3, TM, sys_mprotect, "mprotect" }, /* 226 */
327+ { 3, TM, sys_msync, "msync" }, /* 227 */
328+ { 3, TM, sys_msync, "msync" }, /* 228 */
329+ { 2, TM, sys_munlock, "munlock" }, /* 229 */
330+ { 1, TM, sys_mlockall, "mlockall" }, /* 230 */
331+ { 0, TM, sys_munlockall, "munlockall" }, /* 231 */
332+ { 3, TM, sys_mincore, "mincore" }, /* 232 */
333+ { 3, TM, sys_madvise, "madvise" }, /* 233 */
334+ { 5, TM, sys_remap_file_pages, "remap_file_pages" }, /* 234 */
335+ { 6, TM, sys_mbind, "mbind" }, /* 235 */
336+ { 5, TM, sys_get_mempolicy, "get_mempolicy" }, /* 236 */
337+ { 3, TM, sys_set_mempolicy, "set_mempolicy" }, /* 237 */
338+ { 4, TM, sys_migrate_pages, "migrate_pages" }, /* 238 */
339+ { 6, TM, sys_move_pages, "move_pages" }, /* 239 */
340+ { 4, TP|TS, sys_rt_tgsigqueueinfo, "rt_tgsigqueueinfo" }, /* 240 */
341+ { 5, TD, sys_perf_event_open, "perf_event_open" }, /* 241 */
342+ { 4, TN, sys_accept4, "accept4" }, /* 242 */
343+ { 5, TN, sys_recvmmsg, "recvmmsg" }, /* 243 */
344+
345+ /* Arch-specific block, not used on AArch64 */
346+ [244 ... 259] = { },
347+
348+ { 4, TP, sys_wait4, "wait4" }, /* 260 */
349+ { 4, 0, sys_prlimit64, "prlimit64" }, /* 261 */
350+ { 2, TD, sys_fanotify_init, "fanotify_init" }, /* 262 */
351+ { 5, TD|TF, sys_fanotify_mark, "fanotify_mark" }, /* 263 */
352+ { 5, TD|TF, sys_name_to_handle_at, "name_to_handle_at" }, /* 264 */
353+ { 3, TD, sys_open_by_handle_at, "open_by_handle_at" }, /* 265 */
354+ { 2, 0, sys_clock_adjtime, "clock_adjtime" }, /* 266 */
355+ { 1, TD, sys_syncfs, "syncfs" }, /* 267 */
356+ { 2, TD, sys_setns, "setns" }, /* 268 */
357+ { 4, TN, sys_sendmmsg, "sendmmsg" }, /* 269 */
358+ { 6, 0, sys_process_vm_readv, "process_vm_readv" }, /* 270 */
359+ { 6, 0, sys_process_vm_writev, "process_vm_writev" }, /* 271 */
360+
361+ /* Blank down to 1023 */
362+ [272 ... 1023] = { },
363+
364+ /* Quote from asm-generic/unistd.h:
365+ *
366+ * All syscalls below here should go away really,
367+ * these are provided for both review and as a porting
368+ * help for the C library version.
369+ *
370+ * Last chance: are any of these important enough to
371+ * enable by default?
372+ */
373+
374+ { 3, TD|TF, sys_open, "open" }, /* 1024 */
375+ { 2, TF, sys_link, "link" }, /* 1025 */
376+ { 1, TF, sys_unlink, "unlink" }, /* 1026 */
377+ { 3, TF, sys_mknod, "mknod" }, /* 1027 */
378+ { 2, TF, sys_chmod, "chmod" }, /* 1028 */
379+ { 3, TF, sys_chown, "chown" }, /* 1029 */
380+ { 2, TF, sys_mkdir, "mkdir" }, /* 1030 */
381+ { 1, TF, sys_rmdir, "rmdir" }, /* 1031 */
382+ { 3, TF, sys_chown, "lchown" }, /* 1032 */
383+ { 2, TF, sys_access, "access" }, /* 1033 */
384+ { 2, TF, sys_rename, "rename" }, /* 1034 */
385+ { 3, TF, sys_readlink, "readlink" }, /* 1035 */
386+ { 2, TF, sys_symlink, "symlink" }, /* 1036 */
387+ { 2, TF, sys_utimes, "utimes" }, /* 1037 */
388+ { 2, TF, sys_stat, "stat" }, /* 1038 */
389+ { 2, TF, sys_lstat, "lstat" }, /* 1039 */
390+ { 1, TD, sys_pipe, "pipe" }, /* 1040 */
391+ { 2, TD, sys_dup2, "dup2" }, /* 1041 */
392+ { 1, TD, sys_epoll_create, "epoll_create" }, /* 1042 */
393+ { 0, TD, sys_inotify_init, "inotify_init" }, /* 1043 */
394+ { 1, TD, sys_eventfd, "eventfd" }, /* 1044 */
395+ { 3, TD|TS, sys_signalfd, "signalfd" }, /* 1045 */
396+ { 4, TD|TN, sys_sendfile, "sendfile" }, /* 1046 */
397+ { 2, TD, sys_ftruncate, "ftruncate" }, /* 1047 */
398+ { 2, TF, sys_truncate, "truncate" }, /* 1048 */
399+ { 2, TF, sys_stat, "stat" }, /* 1049 */
400+ { 2, TF, sys_lstat, "lstat" }, /* 1050 */
401+ { 2, TD, sys_fstat, "fstat" }, /* 1051 */
402+ { 3, TD, sys_fcntl, "fcntl" }, /* 1052 */
403+ { 4, TD, sys_fadvise64, "fadvise64" }, /* 1053 */
404+ { 4, TD|TF, sys_newfstatat, "newfstatat" }, /* 1054 */
405+ { 2, TD, sys_fstatfs, "fstatfs" }, /* 1055 */
406+ { 2, TF, sys_statfs, "statfs" }, /* 1056 */
407+ { 3, TD, sys_lseek, "lseek" }, /* 1057 */
408+ { 6, TD|TM, sys_mmap, "mmap" }, /* 1058 */
409+ { 1, 0, sys_alarm, "alarm" }, /* 1059 */
410+ { 0, 0, sys_getpgrp, "getpgrp" }, /* 1060 */
411+ { 0, TS, sys_pause, "pause" }, /* 1061 */
412+ { 1, 0, sys_time, "time" }, /* 1062 */
413+ { 2, TF, sys_utime, "utime" }, /* 1063 */
414+ { 2, TD|TF, sys_creat, "creat" }, /* 1064 */
415+ { 3, TD, sys_getdents, "getdents" }, /* 1065 */
416+ { 3, TD|TF, sys_futimesat, "futimesat" }, /* 1066 */
417+ { 5, TD, sys_select, "select" }, /* 1067 */
418+ { 3, TD, sys_poll, "poll" }, /* 1068 */
419+ { 4, TD, sys_epoll_wait, "epoll_wait" }, /* 1069 */
420+ { 2, 0, sys_ustat, "ustat" }, /* 1070 */
421+ { 0, TP, sys_vfork, "vfork" }, /* 1071 */
422+ { 4, TP, sys_wait4, "wait4" }, /* 1072 */
423+ { 6, TN, sys_recv, "recv" }, /* 1073 */
424+ { 4, TD|TN, sys_send, "send" }, /* 1074 */
425+ { 2, 0, sys_bdflush, "bdflush" }, /* 1075 */
426+ { 2, TF, sys_umount, "umount" }, /* 1076 */
427+ { 1, TF, sys_uselib, "uselib" }, /* 1077 */
428+ { 1, 0, sys_sysctl, "sysctl" }, /* 1078 */
429+ { 0, TP, sys_fork, "fork" }, /* 1079 */
430diff --git a/process.c b/process.c
431index fa304e5..467c096 100644
432--- a/process.c
433+++ b/process.c
434@@ -2119,7 +2119,8 @@ const struct xlat struct_user_offsets[] = {
435
436 #if !defined(SPARC) && !defined(HPPA) && !defined(POWERPC) \
437 && !defined(ALPHA) && !defined(IA64) \
438- && !defined(CRISV10) && !defined(CRISV32) && !defined(MICROBLAZE)
439+ && !defined(CRISV10) && !defined(CRISV32) && !defined(MICROBLAZE) \
440+ && !defined(AARCH64)
441 # if !defined(S390) && !defined(S390X) && !defined(MIPS) && !defined(SPARC64) && !defined(AVR32) && !defined(BFIN) && !defined(TILE)
442 { uoff(u_fpvalid), "offsetof(struct user, u_fpvalid)" },
443 # endif
444@@ -2148,7 +2149,7 @@ const struct xlat struct_user_offsets[] = {
445 # if !defined(SPARC64)
446 { uoff(u_ar0), "offsetof(struct user, u_ar0)" },
447 # endif
448-# if !defined(ARM) && !defined(AVR32) && !defined(MIPS) && !defined(S390) && !defined(S390X) && !defined(SPARC64) && !defined(BFIN) && !defined(TILE)
449+# if !defined(ARM) && !defined(AARCH64) && !defined(AVR32) && !defined(MIPS) && !defined(S390) && !defined(S390X) && !defined(SPARC64) && !defined(BFIN) && !defined(TILE)
450 { uoff(u_fpstate), "offsetof(struct user, u_fpstate)" },
451 # endif
452 { uoff(magic), "offsetof(struct user, magic)" },
453@@ -2158,7 +2159,7 @@ const struct xlat struct_user_offsets[] = {
454 # endif
455 #endif /* !defined(many arches) */
456
457-#ifndef HPPA
458+#if !defined(HPPA) && !defined(AARCH64)
459 { sizeof(struct user), "sizeof(struct user)" },
460 #endif
461 { 0, NULL },
462diff --git a/syscall.c b/syscall.c
463index 37936ad..680cbc3 100644
464--- a/syscall.c
465+++ b/syscall.c
466@@ -65,6 +65,12 @@
467 # include <asm/rse.h>
468 #endif
469
470+#if defined(AARCH64)
471+# include <asm/ptrace.h>
472+# include <sys/uio.h>
473+# include <elf.h>
474+#endif
475+
476 #ifndef ERESTARTSYS
477 # define ERESTARTSYS 512
478 #endif
479@@ -657,6 +663,8 @@ static long d0;
480 static long r0;
481 #elif defined(ARM)
482 static struct pt_regs regs;
483+#elif defined(AARCH64)
484+static struct user_pt_regs regs;
485 #elif defined(ALPHA)
486 static long r0;
487 static long a3;
488@@ -967,6 +975,13 @@ get_scno(struct tcb *tcp)
489 fprintf(stderr, "pid %d stray syscall entry\n", tcp->pid);
490 tcp->flags |= TCB_INSYSCALL;
491 }
492+#elif defined(AARCH64)
493+ struct iovec io;
494+ io.iov_base = &regs;
495+ io.iov_len = sizeof(regs);
496+ if (ptrace(PTRACE_GETREGSET, tcp->pid, NT_PRSTATUS, (void *)&io) == -1)
497+ return -1;
498+ scno = regs.regs[8];
499 #elif defined(M68K)
500 if (upeek(tcp, 4*PT_ORIG_D0, &scno) < 0)
501 return -1;
502@@ -1403,6 +1418,9 @@ get_syscall_args(struct tcb *tcp)
503 #elif defined(ARM)
504 for (i = 0; i < nargs; ++i)
505 tcp->u_arg[i] = regs.uregs[i];
506+#elif defined(AARCH64)
507+ for (i = 0; i < nargs; ++i)
508+ tcp->u_arg[i] = regs.regs[i];
509 #elif defined(AVR32)
510 (void)i;
511 (void)nargs;
512@@ -1641,6 +1659,12 @@ get_syscall_result(struct tcb *tcp)
513 /* Read complete register set in one go. */
514 if (ptrace(PTRACE_GETREGS, tcp->pid, NULL, (void *)&regs) == -1)
515 return -1;
516+#elif defined(AARCH64)
517+ struct iovec io;
518+ io.iov_base = &regs;
519+ io.iov_len = sizeof(regs);
520+ if (ptrace(PTRACE_GETREGSET, tcp->pid, NT_PRSTATUS, (void *)&io) == -1)
521+ return -1;
522 #elif defined(M68K)
523 if (upeek(tcp, 4*PT_D0, &d0) < 0)
524 return -1;
525@@ -1823,6 +1847,14 @@ get_error(struct tcb *tcp)
526 else {
527 tcp->u_rval = regs.ARM_r0;
528 }
529+#elif defined(AARCH64)
530+ if (check_errno && is_negated_errno(regs.regs[0])) {
531+ tcp->u_rval = -1;
532+ u_error = -regs.regs[0];
533+ }
534+ else {
535+ tcp->u_rval = regs.regs[0];
536+ }
537 #elif defined(AVR32)
538 if (check_errno && regs.r12 && (unsigned) -regs.r12 < nerrnos) {
539 tcp->u_rval = -1;
540--
5411.8.0
542
diff --git a/meta/recipes-devtools/strace/strace-4.7/0028-Enhance-quotactl-decoding.patch b/meta/recipes-devtools/strace/strace-4.7/0028-Enhance-quotactl-decoding.patch
deleted file mode 100644
index b12bbf80b1..0000000000
--- a/meta/recipes-devtools/strace/strace-4.7/0028-Enhance-quotactl-decoding.patch
+++ /dev/null
@@ -1,391 +0,0 @@
1Upstream-Status: Backport
2
3From 7943966f6cd137e44f27d56aaf21b023fb1fae63 Mon Sep 17 00:00:00 2001
4From: "Dmitry V. Levin" <ldv@altlinux.org>
5Date: Fri, 26 Oct 2012 23:43:13 +0000
6Subject: [PATCH 28/31] Enhance quotactl decoding
7
8* quota.c (sys_quotactl): Decode 2nd syscall argument using printpath.
9* pathtrace.c (pathtrace_match): Add quotactl support.
10* linux/*/syscallent.h: Add TF flag to quotactl entry.
11---
12 linux/aarch64/syscallent.h | 2 +-
13 linux/alpha/syscallent.h | 2 +-
14 linux/arm/syscallent.h | 2 +-
15 linux/avr32/syscallent.h | 2 +-
16 linux/bfin/syscallent.h | 2 +-
17 linux/hppa/syscallent.h | 2 +-
18 linux/i386/syscallent.h | 2 +-
19 linux/ia64/syscallent.h | 2 +-
20 linux/m68k/syscallent.h | 2 +-
21 linux/microblaze/syscallent.h | 2 +-
22 linux/mips/syscallent.h | 16 ++++++++--------
23 linux/powerpc/syscallent.h | 2 +-
24 linux/s390/syscallent.h | 2 +-
25 linux/s390x/syscallent.h | 2 +-
26 linux/sh/syscallent.h | 2 +-
27 linux/sh64/syscallent.h | 2 +-
28 linux/sparc/syscallent.h | 2 +-
29 linux/tile/syscallent.h | 2 +-
30 linux/x32/syscallent.h | 2 +-
31 linux/x86_64/syscallent.h | 2 +-
32 pathtrace.c | 6 ++++++
33 quota.c | 2 +-
34 22 files changed, 34 insertions(+), 28 deletions(-)
35
36diff --git a/linux/aarch64/syscallent.h b/linux/aarch64/syscallent.h
37index eeda429..b712c9f 100644
38--- a/linux/aarch64/syscallent.h
39+++ b/linux/aarch64/syscallent.h
40@@ -58,7 +58,7 @@
41 { 1, TD, sys_close, "close" }, /* 57 */
42 { 0, 0, sys_vhangup, "vhangup" }, /* 58 */
43 { 2, TD, sys_pipe2, "pipe2" }, /* 59 */
44- { 4, 0, sys_quotactl, "quotactl" }, /* 60 */
45+ { 4, TF, sys_quotactl, "quotactl" }, /* 60 */
46 { 3, TD, sys_getdents64, "getdents64" }, /* 61 */
47 { 3, TD, sys_lseek, "lseek" }, /* 62 */
48 { 3, TD, sys_read, "read" }, /* 63 */
49diff --git a/linux/alpha/syscallent.h b/linux/alpha/syscallent.h
50index aa76a43..dde7017 100644
51--- a/linux/alpha/syscallent.h
52+++ b/linux/alpha/syscallent.h
53@@ -174,7 +174,7 @@
54 { 2, 0, sys_setrlimit, "setrlimit" }, /* 145 */
55 { 5, 0, printargs, "osf_old_killpg" }, /* 146, not implemented */
56 { 0, 0, sys_setsid, "setsid" }, /* 147 */
57- { 4, 0, sys_quotactl, "quotactl" }, /* 148 */
58+ { 4, TF, sys_quotactl, "quotactl" }, /* 148 */
59 { 5, 0, printargs, "osf_oldquota" }, /* 149, not implemented */
60 { 3, TN, sys_getsockname, "getsockname" }, /* 150 */
61 { 5, 0, NULL, NULL }, /* 151 */
62diff --git a/linux/arm/syscallent.h b/linux/arm/syscallent.h
63index 9b8da02..123b910 100644
64--- a/linux/arm/syscallent.h
65+++ b/linux/arm/syscallent.h
66@@ -157,7 +157,7 @@
67 { 3, 0, sys_init_module, "init_module" }, /* 128 */
68 { 2, 0, sys_delete_module, "delete_module" }, /* 129 */
69 { 1, 0, sys_get_kernel_syms, "get_kernel_syms"}, /* 130 */
70- { 4, 0, sys_quotactl, "quotactl" }, /* 131 */
71+ { 4, TF, sys_quotactl, "quotactl" }, /* 131 */
72 { 1, 0, sys_getpgid, "getpgid" }, /* 132 */
73 { 1, 0, sys_fchdir, "fchdir" }, /* 133 */
74 { 0, 0, sys_bdflush, "bdflush" }, /* 134 */
75diff --git a/linux/avr32/syscallent.h b/linux/avr32/syscallent.h
76index 6076fca..b215cc1 100644
77--- a/linux/avr32/syscallent.h
78+++ b/linux/avr32/syscallent.h
79@@ -142,7 +142,7 @@
80 { 0, TP, sys_vfork, "vfork" }, /* 114 */
81 { 3, 0, sys_init_module, "init_module" }, /* 115 */
82 { 2, 0, sys_delete_module, "delete_module" }, /* 116 */
83- { 4, 0, sys_quotactl, "quotactl" }, /* 117 */
84+ { 4, TF, sys_quotactl, "quotactl" }, /* 117 */
85 { 1, 0, sys_getpgid, "getpgid" }, /* 118 */
86 { 0, 0, sys_bdflush, "bdflush" }, /* 119 */
87 { 3, 0, sys_sysfs, "sysfs" }, /* 120 */
88diff --git a/linux/bfin/syscallent.h b/linux/bfin/syscallent.h
89index 7a9e618..05194fb 100644
90--- a/linux/bfin/syscallent.h
91+++ b/linux/bfin/syscallent.h
92@@ -157,7 +157,7 @@
93 { 3, 0, sys_init_module, "init_module" }, /* 128 */
94 { 1, 0, sys_delete_module, "delete_module" }, /* 129 */
95 { 1, 0, sys_get_kernel_syms, "get_kernel_syms" }, /* 130 */
96- { 4, 0, sys_quotactl, "quotactl" }, /* 131 */
97+ { 4, TF, sys_quotactl, "quotactl" }, /* 131 */
98 { 1, 0, sys_getpgid, "getpgid" }, /* 132 */
99 { 1, TD, sys_fchdir, "fchdir" }, /* 133 */
100 { 0, 0, sys_bdflush, "bdflush" }, /* 134 */
101diff --git a/linux/hppa/syscallent.h b/linux/hppa/syscallent.h
102index f21d0c3..dc12299 100644
103--- a/linux/hppa/syscallent.h
104+++ b/linux/hppa/syscallent.h
105@@ -133,7 +133,7 @@
106 { 4, 0, sys_init_module, "init_module" }, /* 128 */
107 { 2, 0, sys_delete_module, "delete_module" }, /* 129 */
108 { 1, 0, sys_get_kernel_syms, "get_kernel_syms" }, /* 130 */
109- { 4, 0, sys_quotactl, "quotactl" }, /* 131 */
110+ { 4, TF, sys_quotactl, "quotactl" }, /* 131 */
111 { 1, 0, sys_getpgid, "getpgid" }, /* 132 */
112 { 1, TF, sys_fchdir, "fchdir" }, /* 133 */
113 { 0, 0, sys_bdflush, "bdflush" }, /* 134 */
114diff --git a/linux/i386/syscallent.h b/linux/i386/syscallent.h
115index dd76244..1b7feb5 100644
116--- a/linux/i386/syscallent.h
117+++ b/linux/i386/syscallent.h
118@@ -157,7 +157,7 @@
119 { 3, 0, sys_init_module, "init_module" }, /* 128 */
120 { 2, 0, sys_delete_module, "delete_module" }, /* 129 */
121 { 1, 0, sys_get_kernel_syms, "get_kernel_syms"}, /* 130 */
122- { 4, 0, sys_quotactl, "quotactl" }, /* 131 */
123+ { 4, TF, sys_quotactl, "quotactl" }, /* 131 */
124 { 1, 0, sys_getpgid, "getpgid" }, /* 132 */
125 { 1, TD, sys_fchdir, "fchdir" }, /* 133 */
126 { 0, 0, sys_bdflush, "bdflush" }, /* 134 */
127diff --git a/linux/ia64/syscallent.h b/linux/ia64/syscallent.h
128index bbdfc36..8e130ad 100644
129--- a/linux/ia64/syscallent.h
130+++ b/linux/ia64/syscallent.h
131@@ -925,7 +925,7 @@
132 { 2, 0, sys_delete_module, "delete_module" }, /* 1134 */
133 { 1, 0, sys_get_kernel_syms, "get_kernel_syms"}, /* 1135 */
134 { 5, 0, sys_query_module, "query_module" }, /* 1136 */
135- { 4, 0, sys_quotactl, "quotactl" }, /* 1137 */
136+ { 4, TF, sys_quotactl, "quotactl" }, /* 1137 */
137 { 0, 0, sys_bdflush, "bdflush" }, /* 1138 */
138 { 3, 0, sys_sysfs, "sysfs" }, /* 1139 */
139 { 1, 0, sys_personality, "personality" }, /* 1140 */
140diff --git a/linux/m68k/syscallent.h b/linux/m68k/syscallent.h
141index f95cf8d..184f01c 100644
142--- a/linux/m68k/syscallent.h
143+++ b/linux/m68k/syscallent.h
144@@ -157,7 +157,7 @@
145 { 3, 0, sys_init_module, "init_module" }, /* 128 */
146 { 2, 0, sys_delete_module, "delete_module" }, /* 129 */
147 { 1, 0, sys_get_kernel_syms, "get_kernel_syms"}, /* 130 */
148- { 4, 0, sys_quotactl, "quotactl" }, /* 131 */
149+ { 4, TF, sys_quotactl, "quotactl" }, /* 131 */
150 { 1, 0, sys_getpgid, "getpgid" }, /* 132 */
151 { 1, 0, sys_fchdir, "fchdir" }, /* 133 */
152 { 0, 0, sys_bdflush, "bdflush" }, /* 134 */
153diff --git a/linux/microblaze/syscallent.h b/linux/microblaze/syscallent.h
154index 51c5e6c..c5a52fa 100644
155--- a/linux/microblaze/syscallent.h
156+++ b/linux/microblaze/syscallent.h
157@@ -157,7 +157,7 @@
158 { 3, 0, sys_init_module, "init_module" }, /* 128 */
159 { 2, 0, sys_delete_module, "delete_module" }, /* 129 */
160 { 1, 0, sys_get_kernel_syms, "get_kernel_syms"}, /* 130 */
161- { 4, 0, sys_quotactl, "quotactl" }, /* 131 */
162+ { 4, TF, sys_quotactl, "quotactl" }, /* 131 */
163 { 1, 0, sys_getpgid, "getpgid" }, /* 132 */
164 { 1, 0, sys_fchdir, "fchdir" }, /* 133 */
165 { 0, 0, sys_bdflush, "bdflush" }, /* 134 */
166diff --git a/linux/mips/syscallent.h b/linux/mips/syscallent.h
167index 4c72763..df206ec 100644
168--- a/linux/mips/syscallent.h
169+++ b/linux/mips/syscallent.h
170@@ -1141,7 +1141,7 @@
171 { 0, TM, printargs, "sysv_madvise" }, /* 1138 */
172 { 0, 0, printargs, "sysv_pagelock" }, /* 1139 */
173 { 0, 0, printargs, "sysv_getpagesize" }, /* 1140 */
174- { 0, 0, printargs, "sysv_quotactl" }, /* 1141 */
175+ { 0, TF, printargs, "sysv_quotactl" }, /* 1141 */
176 { 0, 0, printargs, "sysv_libdetach" }, /* 1142 */
177 { 0, 0, printargs, "sysv_BSDgetpgrp" }, /* 1143 */
178 { 0, 0, printargs, "sysv_BSDsetpgrp" }, /* 1144 */
179@@ -2168,7 +2168,7 @@
180 { 0, 0, printargs, "bsd43_getdomainname" }, /* 2165 */
181 { 0, 0, printargs, "bsd43_setdomainname" }, /* 2166 */
182 { 0, 0, printargs, "bsd43_pcfs_mount" }, /* 2167 */
183- { 0, 0, printargs, "bsd43_quotactl" }, /* 2168 */
184+ { 0, TF, printargs, "bsd43_quotactl" }, /* 2168 */
185 { 0, 0, printargs, "bsd43_oldexportfs" }, /* 2169 */
186 { 0, 0, printargs, "bsd43_smount" }, /* 2170 */
187 { 0, 0, printargs, "bsd43_mipshwconf" }, /* 2171 */
188@@ -4133,7 +4133,7 @@
189 { 3, 0, sys_init_module, "init_module" }, /* 4128 */
190 { 2, 0, sys_delete_module, "delete_module" }, /* 4129 */
191 { 1, 0, sys_get_kernel_syms, "get_kernel_syms"}, /* 4130 */
192- { 4, 0, sys_quotactl, "quotactl" }, /* 4131 */
193+ { 4, TF, sys_quotactl, "quotactl" }, /* 4131 */
194 { 1, 0, sys_getpgid, "getpgid" }, /* 4132 */
195 { 1, TF, sys_fchdir, "fchdir" }, /* 4133 */
196 { 2, 0, sys_bdflush, "bdflush" }, /* 4134 */
197@@ -4481,7 +4481,7 @@
198 { 0, 0, printargs, "o32_init_module" }, /* 4128 */
199 { 0, 0, printargs, "o32_delete_module" }, /* 4129 */
200 { 0, 0, printargs, "o32_get_kernel_syms"}, /* 4130 */
201- { 0, 0, printargs, "o32_quotactl" }, /* 4131 */
202+ { 0, TF, printargs, "o32_quotactl" }, /* 4131 */
203 { 0, 0, printargs, "o32_getpgid" }, /* 4132 */
204 { 0, 0, printargs, "o32_fchdir" }, /* 4133 */
205 { 0, 0, printargs, "o32_bdflush" }, /* 4134 */
206@@ -5525,7 +5525,7 @@
207 { 1, 0, sys_delete_module, "delete_module" }, /* 5169 */
208 { 1, 0, sys_get_kernel_syms, "get_kernel_syms"}, /* 5170 */
209 { 5, 0, sys_query_module, "query_module" }, /* 5171 */
210- { 4, 0, sys_quotactl, "quotactl" }, /* 5172 */
211+ { 4, TF, sys_quotactl, "quotactl" }, /* 5172 */
212 { 3, 0, sys_nfsservctl, "nfsservctl" }, /* 5173 */
213 { 5, TN, printargs, "getpmsg" }, /* 5174 */
214 { 5, TN, printargs, "putpmsg" }, /* 5175 */
215@@ -5832,7 +5832,7 @@
216 { 0, 0, printargs, "n64_delete_module" }, /* 5169 */
217 { 0, 0, printargs, "n64_get_kernel_syms" }, /* 5170 */
218 { 0, 0, printargs, "n64_query_module" }, /* 5171 */
219- { 0, 0, printargs, "n64_quotactl" }, /* 5172 */
220+ { 0, TF, printargs, "n64_quotactl" }, /* 5172 */
221 { 0, 0, printargs, "n64_nfsservctl" }, /* 5173 */
222 { 0, 0, printargs, "n64_getpmsg" }, /* 5174 */
223 { 0, 0, printargs, "n64_putpmsg" }, /* 5175 */
224@@ -6836,7 +6836,7 @@
225 { 1, 0, sys_delete_module, "delete_module" }, /* 6169 */
226 { 1, 0, sys_get_kernel_syms, "get_kernel_syms"}, /* 6170 */
227 { 5, 0, sys_query_module, "query_module" }, /* 6171 */
228- { 4, 0, sys_quotactl, "quotactl" }, /* 6172 */
229+ { 4, TF, sys_quotactl, "quotactl" }, /* 6172 */
230 { 3, 0, sys_nfsservctl, "nfsservctl" }, /* 6173 */
231 { 5, TN, printargs, "getpmsg" }, /* 6174 */
232 { 5, TN, printargs, "putpmsg" }, /* 6175 */
233@@ -7149,7 +7149,7 @@
234 { 0, 0, printargs, "n32_delete_module" }, /* 6169 */
235 { 0, 0, printargs, "n32_get_kernel_syms" }, /* 6170 */
236 { 0, 0, printargs, "n32_query_module" }, /* 6171 */
237- { 0, 0, printargs, "n32_quotactl" }, /* 6172 */
238+ { 0, TF, printargs, "n32_quotactl" }, /* 6172 */
239 { 0, 0, printargs, "n32_nfsservctl" }, /* 6173 */
240 { 0, 0, printargs, "n32_getpmsg" }, /* 6174 */
241 { 0, 0, printargs, "n32_putpmsg" }, /* 6175 */
242diff --git a/linux/powerpc/syscallent.h b/linux/powerpc/syscallent.h
243index 3228f97..e61946e 100644
244--- a/linux/powerpc/syscallent.h
245+++ b/linux/powerpc/syscallent.h
246@@ -157,7 +157,7 @@
247 { 3, 0, sys_init_module, "init_module" }, /* 128 */
248 { 2, 0, sys_delete_module, "delete_module" }, /* 129 */
249 { 1, 0, sys_get_kernel_syms, "get_kernel_syms" }, /* 130 */
250- { 4, 0, sys_quotactl, "quotactl" }, /* 131 */
251+ { 4, TF, sys_quotactl, "quotactl" }, /* 131 */
252 { 1, 0, sys_getpgid, "getpgid" }, /* 132 */
253 { 1, TF, sys_fchdir, "fchdir" }, /* 133 */
254 { 0, 0, sys_bdflush, "bdflush" }, /* 134 */
255diff --git a/linux/s390/syscallent.h b/linux/s390/syscallent.h
256index 1ce0fe2..94f4d25 100644
257--- a/linux/s390/syscallent.h
258+++ b/linux/s390/syscallent.h
259@@ -159,7 +159,7 @@
260 { 3, 0, sys_init_module, "init_module" }, /* 128 */
261 { 2, 0, sys_delete_module, "delete_module" }, /* 129 */
262 { 1, 0, sys_get_kernel_syms, "get_kernel_syms"}, /* 130 */
263- { 4, 0, sys_quotactl, "quotactl" }, /* 131 */
264+ { 4, TF, sys_quotactl, "quotactl" }, /* 131 */
265 { 1, 0, sys_getpgid, "getpgid" }, /* 132 */
266 { 1, TD, sys_fchdir, "fchdir" }, /* 133 */
267 { 0, 0, sys_bdflush, "bdflush" }, /* 134 */
268diff --git a/linux/s390x/syscallent.h b/linux/s390x/syscallent.h
269index 7fa8ff5..ebf35d4 100644
270--- a/linux/s390x/syscallent.h
271+++ b/linux/s390x/syscallent.h
272@@ -158,7 +158,7 @@
273 { 3, 0, sys_init_module, "init_module" }, /* 128 */
274 { 2, 0, sys_delete_module, "delete_module" }, /* 129 */
275 { 1, 0, sys_get_kernel_syms, "get_kernel_syms"}, /* 130 */
276- { 4, 0, sys_quotactl, "quotactl" }, /* 131 */
277+ { 4, TF, sys_quotactl, "quotactl" }, /* 131 */
278 { 1, 0, sys_getpgid, "getpgid" }, /* 132 */
279 { 1, TD, sys_fchdir, "fchdir" }, /* 133 */
280 { 0, 0, sys_bdflush, "bdflush" }, /* 134 */
281diff --git a/linux/sh/syscallent.h b/linux/sh/syscallent.h
282index d9228b4..1546ff6 100644
283--- a/linux/sh/syscallent.h
284+++ b/linux/sh/syscallent.h
285@@ -159,7 +159,7 @@
286 { 3, 0, sys_init_module, "init_module" }, /* 128 */
287 { 2, 0, sys_delete_module, "delete_module" }, /* 129 */
288 { 1, 0, sys_get_kernel_syms, "get_kernel_syms"}, /* 130 */
289- { 4, 0, sys_quotactl, "quotactl" }, /* 131 */
290+ { 4, TF, sys_quotactl, "quotactl" }, /* 131 */
291 { 1, 0, sys_getpgid, "getpgid" }, /* 132 */
292 { 1, TD, sys_fchdir, "fchdir" }, /* 133 */
293 { 0, 0, sys_bdflush, "bdflush" }, /* 134 */
294diff --git a/linux/sh64/syscallent.h b/linux/sh64/syscallent.h
295index 39c13e0..4e20c47 100644
296--- a/linux/sh64/syscallent.h
297+++ b/linux/sh64/syscallent.h
298@@ -157,7 +157,7 @@
299 { 3, 0, sys_init_module, "init_module" }, /* 128 */
300 { 2, 0, sys_delete_module, "delete_module" }, /* 129 */
301 { 1, 0, sys_get_kernel_syms, "get_kernel_syms"}, /* 130 */
302- { 4, 0, sys_quotactl, "quotactl" }, /* 131 */
303+ { 4, TF, sys_quotactl, "quotactl" }, /* 131 */
304 { 1, 0, sys_getpgid, "getpgid" }, /* 132 */
305 { 1, TD, sys_fchdir, "fchdir" }, /* 133 */
306 { 0, 0, sys_bdflush, "bdflush" }, /* 134 */
307diff --git a/linux/sparc/syscallent.h b/linux/sparc/syscallent.h
308index d6b518a..fe3a940 100644
309--- a/linux/sparc/syscallent.h
310+++ b/linux/sparc/syscallent.h
311@@ -163,7 +163,7 @@
312 { 2, 0, printargs, "getdomainname" }, /* 162 */
313 { 2, 0, sys_setdomainname,"setdomainname" }, /* 163 */
314 { 5, 0, printargs, "utrap_install" }, /* 164 */
315- { 4, 0, sys_quotactl, "quotactl" }, /* 165 */
316+ { 4, TF, sys_quotactl, "quotactl" }, /* 165 */
317 { 1, 0, sys_set_tid_address,"set_tid_address" }, /* 166 */
318 { 5, TF, sys_mount, "mount" }, /* 167 */
319 { 2, 0, sys_ustat, "ustat" }, /* 168 */
320diff --git a/linux/tile/syscallent.h b/linux/tile/syscallent.h
321index 89205e3..3bf59ae 100644
322--- a/linux/tile/syscallent.h
323+++ b/linux/tile/syscallent.h
324@@ -131,7 +131,7 @@
325 { 3, TS, sys_sigprocmask, "sigprocmask" }, /* 130 */
326 { 3, 0, sys_init_module, "init_module" }, /* 131 */
327 { 1, 0, sys_delete_module, "delete_module" }, /* 132 */
328- { 4, 0, sys_quotactl, "quotactl" }, /* 133 */
329+ { 4, TF, sys_quotactl, "quotactl" }, /* 133 */
330 { 1, 0, sys_getpgid, "getpgid" }, /* 134 */
331 { 1, TD, sys_fchdir, "fchdir" }, /* 135 */
332 { 0, 0, sys_bdflush, "bdflush" }, /* 136 */
333diff --git a/linux/x32/syscallent.h b/linux/x32/syscallent.h
334index 924164e..cfe546c 100644
335--- a/linux/x32/syscallent.h
336+++ b/linux/x32/syscallent.h
337@@ -177,7 +177,7 @@
338 { 2, 0, sys_delete_module, "delete_module" }, /* 176 */
339 { 1, 0, printargs, "64:get_kernel_syms" }, /* 177 */
340 { 5, 0, printargs, "64:query_module" }, /* 178 */
341- { 4, 0, sys_quotactl, "quotactl" }, /* 179 */
342+ { 4, TF, sys_quotactl, "quotactl" }, /* 179 */
343 { 3, 0, printargs, "64:nfsservctl" }, /* 180 */
344 { 5, 0, sys_getpmsg, "getpmsg" }, /* 181 */
345 { 5, 0, sys_putpmsg, "putpmsg" }, /* 182 */
346diff --git a/linux/x86_64/syscallent.h b/linux/x86_64/syscallent.h
347index 2ce663f..f98cd37 100644
348--- a/linux/x86_64/syscallent.h
349+++ b/linux/x86_64/syscallent.h
350@@ -177,7 +177,7 @@
351 { 2, 0, sys_delete_module, "delete_module" }, /* 176 */
352 { 1, 0, sys_get_kernel_syms, "get_kernel_syms"}, /* 177 */
353 { 5, 0, sys_query_module, "query_module" }, /* 178 */
354- { 4, 0, sys_quotactl, "quotactl" }, /* 179 */
355+ { 4, TF, sys_quotactl, "quotactl" }, /* 179 */
356 { 3, 0, sys_nfsservctl, "nfsservctl" }, /* 180 */
357 { 5, 0, sys_getpmsg, "getpmsg" }, /* 181 */
358 { 5, 0, sys_putpmsg, "putpmsg" }, /* 182 */
359diff --git a/pathtrace.c b/pathtrace.c
360index c000c83..12e47e9 100644
361--- a/pathtrace.c
362+++ b/pathtrace.c
363@@ -213,6 +213,12 @@ pathtrace_match(struct tcb *tcp)
364 upathmatch(tcp, tcp->u_arg[1]);
365 }
366
367+ if (s->sys_func == sys_quotactl)
368+ {
369+ /* x, path */
370+ return upathmatch(tcp, tcp->u_arg[1]);
371+ }
372+
373 if (s->sys_func == sys_renameat ||
374 s->sys_func == sys_linkat)
375 {
376diff --git a/quota.c b/quota.c
377index a1fd92d..780abf9 100644
378--- a/quota.c
379+++ b/quota.c
380@@ -617,7 +617,7 @@ sys_quotactl(struct tcb *tcp)
381 tprints("|");
382 printxval(quotatypes, type, "???QUOTA");
383 tprints(", ");
384- printstr(tcp, tcp->u_arg[1], -1);
385+ printpath(tcp, tcp->u_arg[1]);
386 tprints(", ");
387 switch (cmd) {
388 case Q_V1_QUOTAON:
389--
3901.8.0
391
diff --git a/meta/recipes-devtools/strace/strace-4.7/0029-Filter-out-redundant-32-ioctl-entries.patch b/meta/recipes-devtools/strace/strace-4.7/0029-Filter-out-redundant-32-ioctl-entries.patch
deleted file mode 100644
index de9440dcbb..0000000000
--- a/meta/recipes-devtools/strace/strace-4.7/0029-Filter-out-redundant-32-ioctl-entries.patch
+++ /dev/null
@@ -1,145 +0,0 @@
1Upstream-Status: Backport
2
3From 17e3860ee8684b397b99eea59b6458a8a7b88f5c Mon Sep 17 00:00:00 2001
4From: "Dmitry V. Levin" <ldv@altlinux.org>
5Date: Sat, 27 Oct 2012 01:11:13 +0000
6Subject: [PATCH 29/31] Filter out redundant "*32" ioctl entries
7
8* linux/ioctlent-filter.awk: New file.
9* Makefile.am: Use it.
10* linux/ioctlent.h.in: Removed redundant "*32" entries.
11---
12 Makefile.am | 3 ++-
13 linux/ioctlent-filter.awk | 19 +++++++++++++++++++
14 linux/ioctlent.h.in | 14 --------------
15 3 files changed, 21 insertions(+), 15 deletions(-)
16 create mode 100644 linux/ioctlent-filter.awk
17
18diff --git a/Makefile.am b/Makefile.am
19index 3e8c810..aa1a5f4 100644
20--- a/Makefile.am
21+++ b/Makefile.am
22@@ -151,4 +151,5 @@ $(ioctlent_h): $(top_builddir)/config.status $(ioctlent_h_deps)
23 $(MKDIR_P) $(builddir)/$(OS)
24 cat $(ioctlent_h_deps) | \
25 $(COMPILE) -E -P - | \
26- LC_ALL=C sort -u -k3,3 -k2,2 > $@
27+ LC_ALL=C sort -u -k3,3 -k2,2 | \
28+ awk -f $(srcdir)/linux/ioctlent-filter.awk > $@
29diff --git a/linux/ioctlent-filter.awk b/linux/ioctlent-filter.awk
30new file mode 100644
31index 0000000..181c4bf
32--- /dev/null
33+++ b/linux/ioctlent-filter.awk
34@@ -0,0 +1,19 @@
35+#!/bin/awk -f
36+# Filter out redundant "*32" symbols.
37+
38+BEGIN {
39+ s=""
40+ c=""
41+}
42+
43+NF == 3 && $2 ~ /^"[^",]*",$/ {
44+ if ($2 == s && $3 == c)
45+ next
46+ s = $2
47+ sub(/",$/, "32\",", s)
48+ c = $3
49+}
50+
51+{
52+ print
53+}
54diff --git a/linux/ioctlent.h.in b/linux/ioctlent.h.in
55index 98ebbcc..895070c 100644
56--- a/linux/ioctlent.h.in
57+++ b/linux/ioctlent.h.in
58@@ -103,7 +103,6 @@
59 {"linux/fs.h", "BLKBSZSET", 0x1271},
60 {"linux/fs.h", "BLKGETSIZE64", 0x1272},
61 {"linux/fs.h", "BLKTRACESETUP", 0x1273},
62- {"linux/blktrace_api.h", "BLKTRACESETUP32", 0x1273},
63 {"linux/fs.h", "BLKTRACESTART", 0x1274},
64 {"linux/fs.h", "BLKTRACESTOP", 0x1275},
65 {"linux/fs.h", "BLKTRACETEARDOWN", 0x1276},
66@@ -257,14 +256,12 @@
67 {"linux/cciss_ioctl.h", "CCISS_GETDRIVVER", 0x4209},
68 {"linux/cciss_ioctl.h", "CCISS_REVALIDVOLS", 0x420a},
69 {"linux/cciss_ioctl.h", "CCISS_PASSTHRU", 0x420b},
70- {"linux/cciss_ioctl.h", "CCISS_PASSTHRU32", 0x420b},
71 {"linux/cciss_ioctl.h", "CCISS_DEREGDISK", 0x420c},
72 {"linux/cciss_ioctl.h", "CCISS_REGNEWDISK", 0x420d},
73 {"linux/cciss_ioctl.h", "CCISS_REGNEWD", 0x420e},
74 {"linux/cciss_ioctl.h", "CCISS_RESCANDISK", 0x4210},
75 {"linux/cciss_ioctl.h", "CCISS_GETLUNINFO", 0x4211},
76 {"linux/cciss_ioctl.h", "CCISS_BIG_PASSTHRU", 0x4212},
77- {"linux/cciss_ioctl.h", "CCISS_BIG_PASSTHRU32", 0x4212},
78 {"linux/soundcard.h", "SNDCTL_COPR_RESET", 0x4300},
79 {"linux/capi.h", "CAPI_REGISTER", 0x4301},
80 {"linux/soundcard.h", "SNDCTL_COPR_LOAD", 0x4301},
81@@ -775,25 +772,19 @@
82 {"linux/if_tun.h", "TUNSETVNETHDRSZ", 0x54d8},
83 {"sound/asound.h", "SNDRV_CTL_IOCTL_PVERSION", 0x5500},
84 {"linux/usbdevice_fs.h", "USBDEVFS_CONTROL", 0x5500},
85- {"linux/usbdevice_fs.h", "USBDEVFS_CONTROL32", 0x5500},
86 {"sound/asound.h", "SNDRV_CTL_IOCTL_CARD_INFO", 0x5501},
87 {"linux/uinput.h", "UI_DEV_CREATE", 0x5501},
88 {"linux/uinput.h", "UI_DEV_DESTROY", 0x5502},
89 {"linux/usbdevice_fs.h", "USBDEVFS_BULK", 0x5502},
90- {"linux/usbdevice_fs.h", "USBDEVFS_BULK32", 0x5502},
91 {"linux/usbdevice_fs.h", "USBDEVFS_RESETEP", 0x5503},
92 {"linux/usbdevice_fs.h", "USBDEVFS_SETINTERFACE", 0x5504},
93 {"linux/usbdevice_fs.h", "USBDEVFS_SETCONFIGURATION", 0x5505},
94 {"linux/usbdevice_fs.h", "USBDEVFS_GETDRIVER", 0x5508},
95 {"linux/usbdevice_fs.h", "USBDEVFS_SUBMITURB", 0x550a},
96- {"linux/usbdevice_fs.h", "USBDEVFS_SUBMITURB32", 0x550a},
97 {"linux/usbdevice_fs.h", "USBDEVFS_DISCARDURB", 0x550b},
98 {"linux/usbdevice_fs.h", "USBDEVFS_REAPURB", 0x550c},
99- {"linux/usbdevice_fs.h", "USBDEVFS_REAPURB32", 0x550c},
100 {"linux/usbdevice_fs.h", "USBDEVFS_REAPURBNDELAY", 0x550d},
101- {"linux/usbdevice_fs.h", "USBDEVFS_REAPURBNDELAY32", 0x550d},
102 {"linux/usbdevice_fs.h", "USBDEVFS_DISCSIGNAL", 0x550e},
103- {"linux/usbdevice_fs.h", "USBDEVFS_DISCSIGNAL32", 0x550e},
104 {"linux/usbdevice_fs.h", "USBDEVFS_CLAIMINTERFACE", 0x550f},
105 {"sound/asound.h", "SNDRV_CTL_IOCTL_ELEM_LIST", 0x5510},
106 {"linux/usbdevice_fs.h", "USBDEVFS_RELEASEINTERFACE", 0x5510},
107@@ -801,7 +792,6 @@
108 {"linux/usbdevice_fs.h", "USBDEVFS_CONNECTINFO", 0x5511},
109 {"sound/asound.h", "SNDRV_CTL_IOCTL_ELEM_READ", 0x5512},
110 {"linux/usbdevice_fs.h", "USBDEVFS_IOCTL", 0x5512},
111- {"linux/usbdevice_fs.h", "USBDEVFS_IOCTL32", 0x5512},
112 {"sound/asound.h", "SNDRV_CTL_IOCTL_ELEM_WRITE", 0x5513},
113 {"linux/usbdevice_fs.h", "USBDEVFS_HUB_PORTINFO", 0x5513},
114 {"sound/asound.h", "SNDRV_CTL_IOCTL_ELEM_LOCK", 0x5514},
115@@ -1119,7 +1109,6 @@
116 {"linux/ipmi.h", "IPMICTL_RECEIVE_MSG_TRUNC", 0x690b},
117 {"media/lirc.h", "LIRC_GET_MAX_FILTER_PULSE", 0x690b},
118 {"linux/i2o-dev.h", "I2OPASSTHRU", 0x690c},
119- {"linux/i2o-dev.h", "I2OPASSTHRU32", 0x690c},
120 {"linux/ipmi.h", "IPMICTL_RECEIVE_MSG", 0x690c},
121 {"media/lirc.h", "LIRC_GET_MIN_FILTER_SPACE", 0x690c},
122 {"linux/ipmi.h", "IPMICTL_SEND_COMMAND", 0x690d},
123@@ -1194,11 +1183,9 @@
124 {"linux/udf_fs_i.h", "UDF_GETVOLIDENT", 0x6c42},
125 {"linux/udf_fs_i.h", "UDF_RELOCATE_BLOCKS", 0x6c43},
126 {"linux/synclink.h", "MGSL_IOCSPARAMS", 0x6d00},
127- {"linux/synclink.h", "MGSL_IOCSPARAMS32", 0x6d00},
128 {"linux/mmtimer.h", "MMTIMER_GETOFFSET", 0x6d00},
129 {"linux/soundcard.h", "SNDCTL_MIDI_PRETIME", 0x6d00},
130 {"linux/synclink.h", "MGSL_IOCGPARAMS", 0x6d01},
131- {"linux/synclink.h", "MGSL_IOCGPARAMS32", 0x6d01},
132 {"linux/mmtimer.h", "MMTIMER_GETRES", 0x6d01},
133 {"linux/msm_mdp.h", "MSMFB_GRP_DISP", 0x6d01},
134 {"linux/mtio.h", "MTIOCTOP", 0x6d01},
135@@ -1754,7 +1741,6 @@
136 {"linux/auto_fs.h", "AUTOFS_IOC_CATATONIC", 0x9362},
137 {"linux/auto_fs.h", "AUTOFS_IOC_PROTOVER", 0x9363},
138 {"linux/auto_fs.h", "AUTOFS_IOC_SETTIMEOUT", 0x9364},
139- {"linux/auto_fs.h", "AUTOFS_IOC_SETTIMEOUT32", 0x9364},
140 {"linux/auto_fs.h", "AUTOFS_IOC_EXPIRE", 0x9365},
141 {"linux/auto_fs4.h", "AUTOFS_IOC_EXPIRE_MULTI", 0x9366},
142 {"linux/auto_fs4.h", "AUTOFS_IOC_PROTOSUBVER", 0x9367},
143--
1441.8.0
145
diff --git a/meta/recipes-devtools/strace/strace-4.7/0030-Move-asm-generic-ioctl-definitions-to-linux-ioctlent.patch b/meta/recipes-devtools/strace/strace-4.7/0030-Move-asm-generic-ioctl-definitions-to-linux-ioctlent.patch
deleted file mode 100644
index 02064f2687..0000000000
--- a/meta/recipes-devtools/strace/strace-4.7/0030-Move-asm-generic-ioctl-definitions-to-linux-ioctlent.patch
+++ /dev/null
@@ -1,571 +0,0 @@
1Upstream-Status: Backport
2
3From 716c93ecf8edc5dda092d4fa4d878f333a601b51 Mon Sep 17 00:00:00 2001
4From: "Dmitry V. Levin" <ldv@altlinux.org>
5Date: Mon, 12 Nov 2012 14:04:46 +0000
6Subject: [PATCH 30/31] Move asm-generic ioctl definitions to
7 linux/ioctlent.h.in
8
9* linux/ioctlent.h.in: Add asm-generic ioctl entries from all
10linux/*/ioctlent.h.in files.
11* linux/bfin/ioctlent.h.in: Remove asm-generic ioctl entries.
12* linux/i386/ioctlent.h.in: Likewise.
13* linux/powerpc/ioctlent.h.in: Likewise.
14* linux/s390/ioctlent.h.in: Likewise.
15* linux/sparc/ioctlent.h.in: Likewise.
16---
17 linux/bfin/ioctlent.h.in | 78 -------------------------------------------
18 linux/i386/ioctlent.h.in | 77 -------------------------------------------
19 linux/ioctlent.h.in | 80 +++++++++++++++++++++++++++++++++++++++++++++
20 linux/powerpc/ioctlent.h.in | 30 -----------------
21 linux/s390/ioctlent.h.in | 76 ------------------------------------------
22 linux/sparc/ioctlent.h.in | 53 ------------------------------
23 6 files changed, 80 insertions(+), 314 deletions(-)
24
25diff --git a/linux/bfin/ioctlent.h.in b/linux/bfin/ioctlent.h.in
26index 3773544..791d8e3 100644
27--- a/linux/bfin/ioctlent.h.in
28+++ b/linux/bfin/ioctlent.h.in
29@@ -1,86 +1,8 @@
30 {"asm/bfin_sport.h", "SPORT_IOC_CONFIG", 0x5001},
31 {"asm/bfin_sport.h", "SPORT_IOC_GET_SYSTEMCLOCK", 0x5002},
32 {"asm/bfin_sport.h", "SPORT_IOC_SET_BAUDRATE", 0x5003},
33- {"asm-generic/ioctls.h", "TCGETS", 0x5401},
34- {"asm-generic/ioctls.h", "TCSETS", 0x5402},
35- {"asm-generic/ioctls.h", "TCSETSW", 0x5403},
36- {"asm-generic/ioctls.h", "TCSETSF", 0x5404},
37- {"asm-generic/ioctls.h", "TCGETA", 0x5405},
38- {"asm-generic/ioctls.h", "TCSETA", 0x5406},
39- {"asm-generic/ioctls.h", "TCSETAW", 0x5407},
40- {"asm-generic/ioctls.h", "TCSETAF", 0x5408},
41- {"asm-generic/ioctls.h", "TCSBRK", 0x5409},
42- {"asm-generic/ioctls.h", "TCXONC", 0x540a},
43- {"asm-generic/ioctls.h", "TCFLSH", 0x540b},
44- {"asm-generic/ioctls.h", "TIOCEXCL", 0x540c},
45- {"asm-generic/ioctls.h", "TIOCNXCL", 0x540d},
46- {"asm-generic/ioctls.h", "TIOCSCTTY", 0x540e},
47- {"asm-generic/ioctls.h", "TIOCGPGRP", 0x540f},
48- {"asm-generic/ioctls.h", "TIOCSPGRP", 0x5410},
49- {"asm-generic/ioctls.h", "TIOCOUTQ", 0x5411},
50- {"asm-generic/ioctls.h", "TIOCSTI", 0x5412},
51- {"asm-generic/ioctls.h", "TIOCGWINSZ", 0x5413},
52- {"asm-generic/ioctls.h", "TIOCSWINSZ", 0x5414},
53- {"asm-generic/ioctls.h", "TIOCMGET", 0x5415},
54- {"asm-generic/ioctls.h", "TIOCMBIS", 0x5416},
55- {"asm-generic/ioctls.h", "TIOCMBIC", 0x5417},
56- {"asm-generic/ioctls.h", "TIOCMSET", 0x5418},
57- {"asm-generic/ioctls.h", "TIOCGSOFTCAR", 0x5419},
58- {"asm-generic/ioctls.h", "TIOCSSOFTCAR", 0x541a},
59- {"asm-generic/ioctls.h", "FIONREAD", 0x541b},
60- {"asm-generic/ioctls.h", "TIOCLINUX", 0x541c},
61- {"asm-generic/ioctls.h", "TIOCCONS", 0x541d},
62- {"asm-generic/ioctls.h", "TIOCGSERIAL", 0x541e},
63- {"asm-generic/ioctls.h", "TIOCSSERIAL", 0x541f},
64- {"asm-generic/ioctls.h", "TIOCPKT", 0x5420},
65- {"asm-generic/ioctls.h", "FIONBIO", 0x5421},
66- {"asm-generic/ioctls.h", "TIOCNOTTY", 0x5422},
67- {"asm-generic/ioctls.h", "TIOCSETD", 0x5423},
68- {"asm-generic/ioctls.h", "TIOCGETD", 0x5424},
69- {"asm-generic/ioctls.h", "TCSBRKP", 0x5425},
70- {"asm-generic/ioctls.h", "TIOCTTYGSTRUCT", 0x5426},
71- {"asm-generic/ioctls.h", "TIOCSBRK", 0x5427},
72- {"asm-generic/ioctls.h", "TIOCCBRK", 0x5428},
73- {"asm-generic/ioctls.h", "TIOCGSID", 0x5429},
74- {"asm-generic/ioctls.h", "TCGETS2", 0x542a},
75- {"asm-generic/ioctls.h", "TCSETS2", 0x542b},
76- {"asm-generic/ioctls.h", "TCSETSW2", 0x542c},
77- {"asm-generic/ioctls.h", "TCSETSF2", 0x542d},
78- {"asm-generic/ioctls.h", "TIOCGRS485", 0x542e},
79- {"asm-generic/ioctls.h", "TIOCSRS485", 0x542f},
80- {"asm-generic/ioctls.h", "TIOCGPTN", 0x5430},
81- {"asm-generic/ioctls.h", "TIOCSPTLCK", 0x5431},
82- {"asm-generic/ioctls.h", "TCGETX", 0x5432},
83- {"asm-generic/ioctls.h", "TCSETX", 0x5433},
84- {"asm-generic/ioctls.h", "TCSETXF", 0x5434},
85- {"asm-generic/ioctls.h", "TCSETXW", 0x5435},
86- {"asm-generic/ioctls.h", "TIOCSIG", 0x5436},
87- {"asm-generic/ioctls.h", "FIONCLEX", 0x5450},
88- {"asm-generic/ioctls.h", "FIOCLEX", 0x5451},
89- {"asm-generic/ioctls.h", "FIOASYNC", 0x5452},
90- {"asm-generic/ioctls.h", "TIOCSERCONFIG", 0x5453},
91- {"asm-generic/ioctls.h", "TIOCSERGWILD", 0x5454},
92- {"asm-generic/ioctls.h", "TIOCSERSWILD", 0x5455},
93- {"asm-generic/ioctls.h", "TIOCGLCKTRMIOS", 0x5456},
94- {"asm-generic/ioctls.h", "TIOCSLCKTRMIOS", 0x5457},
95- {"asm-generic/ioctls.h", "TIOCSERGSTRUCT", 0x5458},
96- {"asm-generic/ioctls.h", "TIOCSERGETLSR", 0x5459},
97- {"asm-generic/ioctls.h", "TIOCSERGETMULTI", 0x545a},
98- {"asm-generic/ioctls.h", "TIOCSERSETMULTI", 0x545b},
99- {"asm-generic/ioctls.h", "TIOCMIWAIT", 0x545c},
100- {"asm-generic/ioctls.h", "TIOCGICOUNT", 0x545d},
101 {"asm/ioctls.h", "FIOQSIZE", 0x545e},
102- {"asm-generic/ioctls.h", "TIOCGHAYESESP", 0x545e},
103- {"asm-generic/ioctls.h", "TIOCSHAYESESP", 0x545f},
104- {"asm-generic/ioctls.h", "FIOQSIZE", 0x5460},
105 {"asm/bfin_simple_timer.h", "BFIN_SIMPLE_TIMER_SET_PERIOD", 0x7402},
106 {"asm/bfin_simple_timer.h", "BFIN_SIMPLE_TIMER_START", 0x7406},
107 {"asm/bfin_simple_timer.h", "BFIN_SIMPLE_TIMER_STOP", 0x7408},
108 {"asm/bfin_simple_timer.h", "BFIN_SIMPLE_TIMER_READ", 0x740a},
109- {"asm-generic/sockios.h", "FIOSETOWN", 0x8901},
110- {"asm-generic/sockios.h", "SIOCSPGRP", 0x8902},
111- {"asm-generic/sockios.h", "FIOGETOWN", 0x8903},
112- {"asm-generic/sockios.h", "SIOCGPGRP", 0x8904},
113- {"asm-generic/sockios.h", "SIOCATMARK", 0x8905},
114- {"asm-generic/sockios.h", "SIOCGSTAMP", 0x8906},
115- {"asm-generic/sockios.h", "SIOCGSTAMPNS", 0x8907},
116diff --git a/linux/i386/ioctlent.h.in b/linux/i386/ioctlent.h.in
117index 9a90ec8..449ad40 100644
118--- a/linux/i386/ioctlent.h.in
119+++ b/linux/i386/ioctlent.h.in
120@@ -11,82 +11,5 @@
121 {"asm/mtrr.h", "MTRRIOC_DEL_PAGE_ENTRY", 0x4d07},
122 {"asm/mtrr.h", "MTRRIOC_GET_PAGE_ENTRY", 0x4d08},
123 {"asm/mtrr.h", "MTRRIOC_KILL_PAGE_ENTRY", 0x4d09},
124- {"asm-generic/ioctls.h", "TCGETS", 0x5401},
125- {"asm-generic/ioctls.h", "TCSETS", 0x5402},
126- {"asm-generic/ioctls.h", "TCSETSW", 0x5403},
127- {"asm-generic/ioctls.h", "TCSETSF", 0x5404},
128- {"asm-generic/ioctls.h", "TCGETA", 0x5405},
129- {"asm-generic/ioctls.h", "TCSETA", 0x5406},
130- {"asm-generic/ioctls.h", "TCSETAW", 0x5407},
131- {"asm-generic/ioctls.h", "TCSETAF", 0x5408},
132- {"asm-generic/ioctls.h", "TCSBRK", 0x5409},
133- {"asm-generic/ioctls.h", "TCXONC", 0x540a},
134- {"asm-generic/ioctls.h", "TCFLSH", 0x540b},
135- {"asm-generic/ioctls.h", "TIOCEXCL", 0x540c},
136- {"asm-generic/ioctls.h", "TIOCNXCL", 0x540d},
137- {"asm-generic/ioctls.h", "TIOCSCTTY", 0x540e},
138- {"asm-generic/ioctls.h", "TIOCGPGRP", 0x540f},
139- {"asm-generic/ioctls.h", "TIOCSPGRP", 0x5410},
140- {"asm-generic/ioctls.h", "TIOCOUTQ", 0x5411},
141- {"asm-generic/ioctls.h", "TIOCSTI", 0x5412},
142- {"asm-generic/ioctls.h", "TIOCGWINSZ", 0x5413},
143- {"asm-generic/ioctls.h", "TIOCSWINSZ", 0x5414},
144- {"asm-generic/ioctls.h", "TIOCMGET", 0x5415},
145- {"asm-generic/ioctls.h", "TIOCMBIS", 0x5416},
146- {"asm-generic/ioctls.h", "TIOCMBIC", 0x5417},
147- {"asm-generic/ioctls.h", "TIOCMSET", 0x5418},
148- {"asm-generic/ioctls.h", "TIOCGSOFTCAR", 0x5419},
149- {"asm-generic/ioctls.h", "TIOCSSOFTCAR", 0x541a},
150- {"asm-generic/ioctls.h", "FIONREAD", 0x541b},
151- {"asm-generic/ioctls.h", "TIOCLINUX", 0x541c},
152- {"asm-generic/ioctls.h", "TIOCCONS", 0x541d},
153- {"asm-generic/ioctls.h", "TIOCGSERIAL", 0x541e},
154- {"asm-generic/ioctls.h", "TIOCSSERIAL", 0x541f},
155- {"asm-generic/ioctls.h", "TIOCPKT", 0x5420},
156- {"asm-generic/ioctls.h", "FIONBIO", 0x5421},
157- {"asm-generic/ioctls.h", "TIOCNOTTY", 0x5422},
158- {"asm-generic/ioctls.h", "TIOCSETD", 0x5423},
159- {"asm-generic/ioctls.h", "TIOCGETD", 0x5424},
160- {"asm-generic/ioctls.h", "TCSBRKP", 0x5425},
161- {"asm-generic/ioctls.h", "TIOCSBRK", 0x5427},
162- {"asm-generic/ioctls.h", "TIOCCBRK", 0x5428},
163- {"asm-generic/ioctls.h", "TIOCGSID", 0x5429},
164- {"asm-generic/ioctls.h", "TCGETS2", 0x542a},
165- {"asm-generic/ioctls.h", "TCSETS2", 0x542b},
166- {"asm-generic/ioctls.h", "TCSETSW2", 0x542c},
167- {"asm-generic/ioctls.h", "TCSETSF2", 0x542d},
168- {"asm-generic/ioctls.h", "TIOCGRS485", 0x542e},
169- {"asm-generic/ioctls.h", "TIOCSRS485", 0x542f},
170- {"asm-generic/ioctls.h", "TIOCGPTN", 0x5430},
171- {"asm-generic/ioctls.h", "TIOCSPTLCK", 0x5431},
172- {"asm-generic/ioctls.h", "TCGETX", 0x5432},
173- {"asm-generic/ioctls.h", "TIOCGDEV", 0x5432},
174- {"asm-generic/ioctls.h", "TCSETX", 0x5433},
175- {"asm-generic/ioctls.h", "TCSETXF", 0x5434},
176- {"asm-generic/ioctls.h", "TCSETXW", 0x5435},
177- {"asm-generic/ioctls.h", "TIOCSIG", 0x5436},
178- {"asm-generic/ioctls.h", "TIOCVHANGUP", 0x5437},
179- {"asm-generic/ioctls.h", "FIONCLEX", 0x5450},
180- {"asm-generic/ioctls.h", "FIOCLEX", 0x5451},
181- {"asm-generic/ioctls.h", "FIOASYNC", 0x5452},
182- {"asm-generic/ioctls.h", "TIOCSERCONFIG", 0x5453},
183- {"asm-generic/ioctls.h", "TIOCSERGWILD", 0x5454},
184- {"asm-generic/ioctls.h", "TIOCSERSWILD", 0x5455},
185- {"asm-generic/ioctls.h", "TIOCGLCKTRMIOS", 0x5456},
186- {"asm-generic/ioctls.h", "TIOCSLCKTRMIOS", 0x5457},
187- {"asm-generic/ioctls.h", "TIOCSERGSTRUCT", 0x5458},
188- {"asm-generic/ioctls.h", "TIOCSERGETLSR", 0x5459},
189- {"asm-generic/ioctls.h", "TIOCSERGETMULTI", 0x545a},
190- {"asm-generic/ioctls.h", "TIOCSERSETMULTI", 0x545b},
191- {"asm-generic/ioctls.h", "TIOCMIWAIT", 0x545c},
192- {"asm-generic/ioctls.h", "TIOCGICOUNT", 0x545d},
193- {"asm-generic/ioctls.h", "FIOQSIZE", 0x5460},
194 {"asm/msr.h", "X86_IOC_RDMSR_REGS", 0x63a0},
195 {"asm/msr.h", "X86_IOC_WRMSR_REGS", 0x63a1},
196- {"asm-generic/sockios.h", "FIOSETOWN", 0x8901},
197- {"asm-generic/sockios.h", "SIOCSPGRP", 0x8902},
198- {"asm-generic/sockios.h", "FIOGETOWN", 0x8903},
199- {"asm-generic/sockios.h", "SIOCGPGRP", 0x8904},
200- {"asm-generic/sockios.h", "SIOCATMARK", 0x8905},
201- {"asm-generic/sockios.h", "SIOCGSTAMP", 0x8906},
202- {"asm-generic/sockios.h", "SIOCGSTAMPNS", 0x8907},
203diff --git a/linux/ioctlent.h.in b/linux/ioctlent.h.in
204index 895070c..8843b47 100644
205--- a/linux/ioctlent.h.in
206+++ b/linux/ioctlent.h.in
207@@ -734,21 +734,94 @@
208 {"sound/asound.h", "SNDRV_TIMER_IOCTL_PVERSION", 0x5400},
209 {"linux/soundcard.h", "SNDCTL_TMR_TIMEBASE", 0x5401},
210 {"sound/asound.h", "SNDRV_TIMER_IOCTL_NEXT_DEVICE", 0x5401},
211+ {"asm-generic/ioctls.h", "TCGETS", 0x5401},
212 {"linux/soundcard.h", "SNDCTL_TMR_START", 0x5402},
213 {"sound/asound.h", "SNDRV_TIMER_IOCTL_TREAD", 0x5402},
214+ {"asm-generic/ioctls.h", "TCSETS", 0x5402},
215 {"linux/soundcard.h", "SNDCTL_TMR_STOP", 0x5403},
216 {"sound/asound.h", "SNDRV_TIMER_IOCTL_GINFO", 0x5403},
217+ {"asm-generic/ioctls.h", "TCSETSW", 0x5403},
218 {"linux/soundcard.h", "SNDCTL_TMR_CONTINUE", 0x5404},
219 {"sound/asound.h", "SNDRV_TIMER_IOCTL_GPARAMS", 0x5404},
220+ {"asm-generic/ioctls.h", "TCSETSF", 0x5404},
221 {"linux/soundcard.h", "SNDCTL_TMR_TEMPO", 0x5405},
222 {"sound/asound.h", "SNDRV_TIMER_IOCTL_GSTATUS", 0x5405},
223+ {"asm-generic/ioctls.h", "TCGETA", 0x5405},
224 {"linux/soundcard.h", "SNDCTL_TMR_SOURCE", 0x5406},
225+ {"asm-generic/ioctls.h", "TCSETA", 0x5406},
226 {"linux/soundcard.h", "SNDCTL_TMR_METRONOME", 0x5407},
227+ {"asm-generic/ioctls.h", "TCSETAW", 0x5407},
228 {"linux/soundcard.h", "SNDCTL_TMR_SELECT", 0x5408},
229+ {"asm-generic/ioctls.h", "TCSETAF", 0x5408},
230+ {"asm-generic/ioctls.h", "TCSBRK", 0x5409},
231+ {"asm-generic/ioctls.h", "TCXONC", 0x540a},
232+ {"asm-generic/ioctls.h", "TCFLSH", 0x540b},
233+ {"asm-generic/ioctls.h", "TIOCEXCL", 0x540c},
234+ {"asm-generic/ioctls.h", "TIOCNXCL", 0x540d},
235+ {"asm-generic/ioctls.h", "TIOCSCTTY", 0x540e},
236+ {"asm-generic/ioctls.h", "TIOCGPGRP", 0x540f},
237 {"sound/asound.h", "SNDRV_TIMER_IOCTL_SELECT", 0x5410},
238+ {"asm-generic/ioctls.h", "TIOCSPGRP", 0x5410},
239 {"sound/asound.h", "SNDRV_TIMER_IOCTL_INFO", 0x5411},
240+ {"asm-generic/ioctls.h", "TIOCOUTQ", 0x5411},
241 {"sound/asound.h", "SNDRV_TIMER_IOCTL_PARAMS", 0x5412},
242+ {"asm-generic/ioctls.h", "TIOCSTI", 0x5412},
243+ {"asm-generic/ioctls.h", "TIOCGWINSZ", 0x5413},
244 {"sound/asound.h", "SNDRV_TIMER_IOCTL_STATUS", 0x5414},
245+ {"asm-generic/ioctls.h", "TIOCSWINSZ", 0x5414},
246+ {"asm-generic/ioctls.h", "TIOCMGET", 0x5415},
247+ {"asm-generic/ioctls.h", "TIOCMBIS", 0x5416},
248+ {"asm-generic/ioctls.h", "TIOCMBIC", 0x5417},
249+ {"asm-generic/ioctls.h", "TIOCMSET", 0x5418},
250+ {"asm-generic/ioctls.h", "TIOCGSOFTCAR", 0x5419},
251+ {"asm-generic/ioctls.h", "TIOCSSOFTCAR", 0x541a},
252+ {"asm-generic/ioctls.h", "FIONREAD", 0x541b},
253+ {"asm-generic/ioctls.h", "TIOCLINUX", 0x541c},
254+ {"asm-generic/ioctls.h", "TIOCCONS", 0x541d},
255+ {"asm-generic/ioctls.h", "TIOCGSERIAL", 0x541e},
256+ {"asm-generic/ioctls.h", "TIOCSSERIAL", 0x541f},
257+ {"asm-generic/ioctls.h", "TIOCPKT", 0x5420},
258+ {"asm-generic/ioctls.h", "FIONBIO", 0x5421},
259+ {"asm-generic/ioctls.h", "TIOCNOTTY", 0x5422},
260+ {"asm-generic/ioctls.h", "TIOCSETD", 0x5423},
261+ {"asm-generic/ioctls.h", "TIOCGETD", 0x5424},
262+ {"asm-generic/ioctls.h", "TCSBRKP", 0x5425},
263+ {"asm-generic/ioctls.h", "TIOCTTYGSTRUCT", 0x5426},
264+ {"asm-generic/ioctls.h", "TIOCSBRK", 0x5427},
265+ {"asm-generic/ioctls.h", "TIOCCBRK", 0x5428},
266+ {"asm-generic/ioctls.h", "TIOCGSID", 0x5429},
267+ {"asm-generic/ioctls.h", "TCGETS2", 0x542a},
268+ {"asm-generic/ioctls.h", "TCSETS2", 0x542b},
269+ {"asm-generic/ioctls.h", "TCSETSW2", 0x542c},
270+ {"asm-generic/ioctls.h", "TCSETSF2", 0x542d},
271+ {"asm-generic/ioctls.h", "TIOCGRS485", 0x542e},
272+ {"asm-generic/ioctls.h", "TIOCSRS485", 0x542f},
273+ {"asm-generic/ioctls.h", "TIOCGPTN", 0x5430},
274+ {"asm-generic/ioctls.h", "TIOCSPTLCK", 0x5431},
275+ {"asm-generic/ioctls.h", "TCGETX", 0x5432},
276+ {"asm-generic/ioctls.h", "TIOCGDEV", 0x5432},
277+ {"asm-generic/ioctls.h", "TCSETX", 0x5433},
278+ {"asm-generic/ioctls.h", "TCSETXF", 0x5434},
279+ {"asm-generic/ioctls.h", "TCSETXW", 0x5435},
280+ {"asm-generic/ioctls.h", "TIOCSIG", 0x5436},
281+ {"asm-generic/ioctls.h", "TIOCVHANGUP", 0x5437},
282+ {"asm-generic/ioctls.h", "FIONCLEX", 0x5450},
283+ {"asm-generic/ioctls.h", "FIOCLEX", 0x5451},
284+ {"asm-generic/ioctls.h", "FIOASYNC", 0x5452},
285+ {"asm-generic/ioctls.h", "TIOCSERCONFIG", 0x5453},
286+ {"asm-generic/ioctls.h", "TIOCSERGWILD", 0x5454},
287+ {"asm-generic/ioctls.h", "TIOCSERSWILD", 0x5455},
288+ {"asm-generic/ioctls.h", "TIOCGLCKTRMIOS", 0x5456},
289+ {"asm-generic/ioctls.h", "TIOCSLCKTRMIOS", 0x5457},
290+ {"asm-generic/ioctls.h", "TIOCSERGSTRUCT", 0x5458},
291+ {"asm-generic/ioctls.h", "TIOCSERGETLSR", 0x5459},
292+ {"asm-generic/ioctls.h", "TIOCSERGETMULTI", 0x545a},
293+ {"asm-generic/ioctls.h", "TIOCSERSETMULTI", 0x545b},
294+ {"asm-generic/ioctls.h", "TIOCMIWAIT", 0x545c},
295+ {"asm-generic/ioctls.h", "TIOCGICOUNT", 0x545d},
296+ {"asm-generic/ioctls.h", "TIOCGHAYESESP", 0x545e},
297+ {"asm-generic/ioctls.h", "TIOCSHAYESESP", 0x545f},
298+ {"asm-generic/ioctls.h", "FIOQSIZE", 0x5460},
299 {"sound/asound.h", "SNDRV_TIMER_IOCTL_START", 0x54a0},
300 {"sound/asound.h", "SNDRV_TIMER_IOCTL_STOP", 0x54a1},
301 {"sound/asound.h", "SNDRV_TIMER_IOCTL_CONTINUE", 0x54a2},
302@@ -1606,6 +1679,13 @@
303 {"linux/media.h", "MEDIA_IOC_ENUM_ENTITIES", 0x7c01},
304 {"linux/media.h", "MEDIA_IOC_ENUM_LINKS", 0x7c02},
305 {"linux/media.h", "MEDIA_IOC_SETUP_LINK", 0x7c03},
306+ {"asm-generic/sockios.h", "FIOSETOWN", 0x8901},
307+ {"asm-generic/sockios.h", "SIOCSPGRP", 0x8902},
308+ {"asm-generic/sockios.h", "FIOGETOWN", 0x8903},
309+ {"asm-generic/sockios.h", "SIOCGPGRP", 0x8904},
310+ {"asm-generic/sockios.h", "SIOCATMARK", 0x8905},
311+ {"asm-generic/sockios.h", "SIOCGSTAMP", 0x8906},
312+ {"asm-generic/sockios.h", "SIOCGSTAMPNS", 0x8907},
313 {"linux/sockios.h", "SIOCADDRT", 0x890b},
314 {"linux/sockios.h", "SIOCDELRT", 0x890c},
315 {"linux/sockios.h", "SIOCRTMSG", 0x890d},
316diff --git a/linux/powerpc/ioctlent.h.in b/linux/powerpc/ioctlent.h.in
317index 0870704..510f5aa 100644
318--- a/linux/powerpc/ioctlent.h.in
319+++ b/linux/powerpc/ioctlent.h.in
320@@ -1,36 +1,18 @@
321- {"asm-generic/ioctls.h", "TCGETS", 0x5401},
322- {"asm-generic/ioctls.h", "TCSETS", 0x5402},
323- {"asm-generic/ioctls.h", "TCSETSW", 0x5403},
324- {"asm-generic/ioctls.h", "TCSETSF", 0x5404},
325- {"asm-generic/ioctls.h", "TCGETA", 0x5405},
326- {"asm-generic/ioctls.h", "TCSETA", 0x5406},
327- {"asm-generic/ioctls.h", "TCSETAW", 0x5407},
328- {"asm-generic/ioctls.h", "TCSETAF", 0x5408},
329- {"asm-generic/ioctls.h", "TCSBRK", 0x5409},
330- {"asm-generic/ioctls.h", "TCXONC", 0x540a},
331- {"asm-generic/ioctls.h", "TCFLSH", 0x540b},
332 {"asm/ioctls.h", "TIOCEXCL", 0x540c},
333 {"asm/ioctls.h", "TIOCNXCL", 0x540d},
334 {"asm/ioctls.h", "TIOCSCTTY", 0x540e},
335- {"asm-generic/ioctls.h", "TIOCGPGRP", 0x540f},
336- {"asm-generic/ioctls.h", "TIOCSPGRP", 0x5410},
337- {"asm-generic/ioctls.h", "TIOCOUTQ", 0x5411},
338 {"asm/ioctls.h", "TIOCSTI", 0x5412},
339- {"asm-generic/ioctls.h", "TIOCGWINSZ", 0x5413},
340- {"asm-generic/ioctls.h", "TIOCSWINSZ", 0x5414},
341 {"asm/ioctls.h", "TIOCMGET", 0x5415},
342 {"asm/ioctls.h", "TIOCMBIS", 0x5416},
343 {"asm/ioctls.h", "TIOCMBIC", 0x5417},
344 {"asm/ioctls.h", "TIOCMSET", 0x5418},
345 {"asm/ioctls.h", "TIOCGSOFTCAR", 0x5419},
346 {"asm/ioctls.h", "TIOCSSOFTCAR", 0x541a},
347- {"asm-generic/ioctls.h", "FIONREAD", 0x541b},
348 {"asm/ioctls.h", "TIOCLINUX", 0x541c},
349 {"asm/ioctls.h", "TIOCCONS", 0x541d},
350 {"asm/ioctls.h", "TIOCGSERIAL", 0x541e},
351 {"asm/ioctls.h", "TIOCSSERIAL", 0x541f},
352 {"asm/ioctls.h", "TIOCPKT", 0x5420},
353- {"asm-generic/ioctls.h", "FIONBIO", 0x5421},
354 {"asm/ioctls.h", "TIOCNOTTY", 0x5422},
355 {"asm/ioctls.h", "TIOCSETD", 0x5423},
356 {"asm/ioctls.h", "TIOCGETD", 0x5424},
357@@ -38,22 +20,11 @@
358 {"asm/ioctls.h", "TIOCSBRK", 0x5427},
359 {"asm/ioctls.h", "TIOCCBRK", 0x5428},
360 {"asm/ioctls.h", "TIOCGSID", 0x5429},
361- {"asm-generic/ioctls.h", "TCGETS2", 0x542a},
362- {"asm-generic/ioctls.h", "TCSETS2", 0x542b},
363- {"asm-generic/ioctls.h", "TCSETSW2", 0x542c},
364- {"asm-generic/ioctls.h", "TCSETSF2", 0x542d},
365 {"asm/ioctls.h", "TIOCGRS485", 0x542e},
366 {"asm/ioctls.h", "TIOCSRS485", 0x542f},
367 {"asm/ioctls.h", "TIOCGPTN", 0x5430},
368 {"asm/ioctls.h", "TIOCSPTLCK", 0x5431},
369- {"asm-generic/ioctls.h", "TCGETX", 0x5432},
370- {"asm-generic/ioctls.h", "TCSETX", 0x5433},
371- {"asm-generic/ioctls.h", "TCSETXF", 0x5434},
372- {"asm-generic/ioctls.h", "TCSETXW", 0x5435},
373 {"asm/ioctls.h", "TIOCSIG", 0x5436},
374- {"asm-generic/ioctls.h", "FIONCLEX", 0x5450},
375- {"asm-generic/ioctls.h", "FIOCLEX", 0x5451},
376- {"asm-generic/ioctls.h", "FIOASYNC", 0x5452},
377 {"asm/ioctls.h", "TIOCSERCONFIG", 0x5453},
378 {"asm/ioctls.h", "TIOCSERGWILD", 0x5454},
379 {"asm/ioctls.h", "TIOCSERSWILD", 0x5455},
380@@ -65,7 +36,6 @@
381 {"asm/ioctls.h", "TIOCSERSETMULTI", 0x545b},
382 {"asm/ioctls.h", "TIOCMIWAIT", 0x545c},
383 {"asm/ioctls.h", "TIOCGICOUNT", 0x545d},
384- {"asm-generic/ioctls.h", "FIOQSIZE", 0x5460},
385 {"asm/ioctls.h", "FIOCLEX", 0x6601},
386 {"asm/ioctls.h", "FIONCLEX", 0x6602},
387 {"asm/ioctls.h", "FIOASYNC", 0x667d},
388diff --git a/linux/s390/ioctlent.h.in b/linux/s390/ioctlent.h.in
389index 35cdd81..1e93a0b 100644
390--- a/linux/s390/ioctlent.h.in
391+++ b/linux/s390/ioctlent.h.in
392@@ -19,76 +19,7 @@
393 {"asm/cmb.h", "BIODASDCMFDISABLE", 0x4421},
394 {"asm/cmb.h", "BIODASDREADALLCMB", 0x4421},
395 {"asm/dasd.h", "BIODASDSYMMIO", 0x44f0},
396- {"asm-generic/ioctls.h", "TCGETS", 0x5401},
397- {"asm-generic/ioctls.h", "TCSETS", 0x5402},
398- {"asm-generic/ioctls.h", "TCSETSW", 0x5403},
399- {"asm-generic/ioctls.h", "TCSETSF", 0x5404},
400- {"asm-generic/ioctls.h", "TCGETA", 0x5405},
401- {"asm-generic/ioctls.h", "TCSETA", 0x5406},
402- {"asm-generic/ioctls.h", "TCSETAW", 0x5407},
403- {"asm-generic/ioctls.h", "TCSETAF", 0x5408},
404- {"asm-generic/ioctls.h", "TCSBRK", 0x5409},
405- {"asm-generic/ioctls.h", "TCXONC", 0x540a},
406- {"asm-generic/ioctls.h", "TCFLSH", 0x540b},
407- {"asm-generic/ioctls.h", "TIOCEXCL", 0x540c},
408- {"asm-generic/ioctls.h", "TIOCNXCL", 0x540d},
409- {"asm-generic/ioctls.h", "TIOCSCTTY", 0x540e},
410- {"asm-generic/ioctls.h", "TIOCGPGRP", 0x540f},
411- {"asm-generic/ioctls.h", "TIOCSPGRP", 0x5410},
412- {"asm-generic/ioctls.h", "TIOCOUTQ", 0x5411},
413- {"asm-generic/ioctls.h", "TIOCSTI", 0x5412},
414- {"asm-generic/ioctls.h", "TIOCGWINSZ", 0x5413},
415- {"asm-generic/ioctls.h", "TIOCSWINSZ", 0x5414},
416- {"asm-generic/ioctls.h", "TIOCMGET", 0x5415},
417- {"asm-generic/ioctls.h", "TIOCMBIS", 0x5416},
418- {"asm-generic/ioctls.h", "TIOCMBIC", 0x5417},
419- {"asm-generic/ioctls.h", "TIOCMSET", 0x5418},
420- {"asm-generic/ioctls.h", "TIOCGSOFTCAR", 0x5419},
421- {"asm-generic/ioctls.h", "TIOCSSOFTCAR", 0x541a},
422- {"asm-generic/ioctls.h", "FIONREAD", 0x541b},
423- {"asm-generic/ioctls.h", "TIOCLINUX", 0x541c},
424- {"asm-generic/ioctls.h", "TIOCCONS", 0x541d},
425- {"asm-generic/ioctls.h", "TIOCGSERIAL", 0x541e},
426- {"asm-generic/ioctls.h", "TIOCSSERIAL", 0x541f},
427- {"asm-generic/ioctls.h", "TIOCPKT", 0x5420},
428- {"asm-generic/ioctls.h", "FIONBIO", 0x5421},
429- {"asm-generic/ioctls.h", "TIOCNOTTY", 0x5422},
430- {"asm-generic/ioctls.h", "TIOCSETD", 0x5423},
431- {"asm-generic/ioctls.h", "TIOCGETD", 0x5424},
432- {"asm-generic/ioctls.h", "TCSBRKP", 0x5425},
433- {"asm-generic/ioctls.h", "TIOCSBRK", 0x5427},
434- {"asm-generic/ioctls.h", "TIOCCBRK", 0x5428},
435- {"asm-generic/ioctls.h", "TIOCGSID", 0x5429},
436- {"asm-generic/ioctls.h", "TCGETS2", 0x542a},
437- {"asm-generic/ioctls.h", "TCSETS2", 0x542b},
438- {"asm-generic/ioctls.h", "TCSETSW2", 0x542c},
439- {"asm-generic/ioctls.h", "TCSETSF2", 0x542d},
440- {"asm-generic/ioctls.h", "TIOCGRS485", 0x542e},
441- {"asm-generic/ioctls.h", "TIOCSRS485", 0x542f},
442- {"asm-generic/ioctls.h", "TIOCGPTN", 0x5430},
443- {"asm-generic/ioctls.h", "TIOCSPTLCK", 0x5431},
444- {"asm-generic/ioctls.h", "TCGETX", 0x5432},
445- {"asm-generic/ioctls.h", "TIOCGDEV", 0x5432},
446- {"asm-generic/ioctls.h", "TCSETX", 0x5433},
447- {"asm-generic/ioctls.h", "TCSETXF", 0x5434},
448- {"asm-generic/ioctls.h", "TCSETXW", 0x5435},
449- {"asm-generic/ioctls.h", "TIOCSIG", 0x5436},
450- {"asm-generic/ioctls.h", "FIONCLEX", 0x5450},
451- {"asm-generic/ioctls.h", "FIOCLEX", 0x5451},
452- {"asm-generic/ioctls.h", "FIOASYNC", 0x5452},
453- {"asm-generic/ioctls.h", "TIOCSERCONFIG", 0x5453},
454- {"asm-generic/ioctls.h", "TIOCSERGWILD", 0x5454},
455- {"asm-generic/ioctls.h", "TIOCSERSWILD", 0x5455},
456- {"asm-generic/ioctls.h", "TIOCGLCKTRMIOS", 0x5456},
457- {"asm-generic/ioctls.h", "TIOCSLCKTRMIOS", 0x5457},
458- {"asm-generic/ioctls.h", "TIOCSERGSTRUCT", 0x5458},
459- {"asm-generic/ioctls.h", "TIOCSERGETLSR", 0x5459},
460- {"asm-generic/ioctls.h", "TIOCSERGETMULTI", 0x545a},
461- {"asm-generic/ioctls.h", "TIOCSERSETMULTI", 0x545b},
462- {"asm-generic/ioctls.h", "TIOCMIWAIT", 0x545c},
463- {"asm-generic/ioctls.h", "TIOCGICOUNT", 0x545d},
464 {"asm/ioctls.h", "FIOQSIZE", 0x545e},
465- {"asm-generic/ioctls.h", "FIOQSIZE", 0x5460},
466 {"asm/chsc.h", "CHSC_START", 0x6381},
467 {"asm/chsc.h", "CHSC_INFO_CHANNEL_PATH", 0x6382},
468 {"asm/chsc.h", "CHSC_INFO_CU", 0x6383},
469@@ -116,10 +47,3 @@
470 {"asm/zcrypt.h", "Z90STAT_PCIXCCMCL3COUNT", 0x7a4c},
471 {"asm/zcrypt.h", "Z90STAT_CEX2CCOUNT", 0x7a4d},
472 {"asm/zcrypt.h", "Z90STAT_CEX2ACOUNT", 0x7a4e},
473- {"asm-generic/sockios.h", "FIOSETOWN", 0x8901},
474- {"asm-generic/sockios.h", "SIOCSPGRP", 0x8902},
475- {"asm-generic/sockios.h", "FIOGETOWN", 0x8903},
476- {"asm-generic/sockios.h", "SIOCGPGRP", 0x8904},
477- {"asm-generic/sockios.h", "SIOCATMARK", 0x8905},
478- {"asm-generic/sockios.h", "SIOCGSTAMP", 0x8906},
479- {"asm-generic/sockios.h", "SIOCGSTAMPNS", 0x8907},
480diff --git a/linux/sparc/ioctlent.h.in b/linux/sparc/ioctlent.h.in
481index 25b7b4d..008aae0 100644
482--- a/linux/sparc/ioctlent.h.in
483+++ b/linux/sparc/ioctlent.h.in
484@@ -32,76 +32,24 @@
485 {"asm/openpromio.h", "OPIOCGETNEXT", 0x4f05},
486 {"asm/openpromio.h", "OPIOCGETCHILD", 0x4f06},
487 {"asm/ioctls.h", "TCGETA", 0x5401},
488- {"asm-generic/ioctls.h", "TCGETS", 0x5401},
489 {"asm/ioctls.h", "TCSETA", 0x5402},
490- {"asm-generic/ioctls.h", "TCSETS", 0x5402},
491 {"asm/ioctls.h", "TCSETAW", 0x5403},
492- {"asm-generic/ioctls.h", "TCSETSW", 0x5403},
493 {"asm/ioctls.h", "TCSETAF", 0x5404},
494- {"asm-generic/ioctls.h", "TCSETSF", 0x5404},
495- {"asm-generic/ioctls.h", "TCGETA", 0x5405},
496 {"asm/ioctls.h", "TCSBRK", 0x5405},
497- {"asm-generic/ioctls.h", "TCSETA", 0x5406},
498 {"asm/ioctls.h", "TCXONC", 0x5406},
499 {"asm/ioctls.h", "TCFLSH", 0x5407},
500- {"asm-generic/ioctls.h", "TCSETAW", 0x5407},
501 {"asm/ioctls.h", "TCGETS", 0x5408},
502- {"asm-generic/ioctls.h", "TCSETAF", 0x5408},
503- {"asm-generic/ioctls.h", "TCSBRK", 0x5409},
504 {"asm/ioctls.h", "TCSETS", 0x5409},
505 {"asm/ioctls.h", "TCSETSW", 0x540a},
506- {"asm-generic/ioctls.h", "TCXONC", 0x540a},
507- {"asm-generic/ioctls.h", "TCFLSH", 0x540b},
508 {"asm/ioctls.h", "TCSETSF", 0x540b},
509 {"asm/ioctls.h", "TCGETS2", 0x540c},
510- {"asm-generic/ioctls.h", "TIOCEXCL", 0x540c},
511 {"asm/ioctls.h", "TCSETS2", 0x540d},
512- {"asm-generic/ioctls.h", "TIOCNXCL", 0x540d},
513 {"asm/ioctls.h", "TCSETSW2", 0x540e},
514- {"asm-generic/ioctls.h", "TIOCSCTTY", 0x540e},
515 {"asm/ioctls.h", "TCSETSF2", 0x540f},
516- {"asm-generic/ioctls.h", "TIOCGPGRP", 0x540f},
517- {"asm-generic/ioctls.h", "TIOCSPGRP", 0x5410},
518- {"asm-generic/ioctls.h", "TIOCOUTQ", 0x5411},
519- {"asm-generic/ioctls.h", "TIOCSTI", 0x5412},
520- {"asm-generic/ioctls.h", "TIOCGWINSZ", 0x5413},
521- {"asm-generic/ioctls.h", "TIOCSWINSZ", 0x5414},
522- {"asm-generic/ioctls.h", "TIOCMGET", 0x5415},
523- {"asm-generic/ioctls.h", "TIOCMBIS", 0x5416},
524- {"asm-generic/ioctls.h", "TIOCMBIC", 0x5417},
525- {"asm-generic/ioctls.h", "TIOCMSET", 0x5418},
526- {"asm-generic/ioctls.h", "TIOCGSOFTCAR", 0x5419},
527- {"asm-generic/ioctls.h", "TIOCSSOFTCAR", 0x541a},
528- {"asm-generic/ioctls.h", "FIONREAD", 0x541b},
529 {"asm/ioctls.h", "TIOCLINUX", 0x541c},
530- {"asm-generic/ioctls.h", "TIOCCONS", 0x541d},
531 {"asm/ioctls.h", "TIOCGSERIAL", 0x541e},
532 {"asm/ioctls.h", "TIOCSSERIAL", 0x541f},
533- {"asm-generic/ioctls.h", "TIOCPKT", 0x5420},
534- {"asm-generic/ioctls.h", "FIONBIO", 0x5421},
535- {"asm-generic/ioctls.h", "TIOCNOTTY", 0x5422},
536- {"asm-generic/ioctls.h", "TIOCSETD", 0x5423},
537- {"asm-generic/ioctls.h", "TIOCGETD", 0x5424},
538 {"asm/ioctls.h", "TCSBRKP", 0x5425},
539- {"asm-generic/ioctls.h", "TIOCSBRK", 0x5427},
540- {"asm-generic/ioctls.h", "TIOCCBRK", 0x5428},
541- {"asm-generic/ioctls.h", "TIOCGSID", 0x5429},
542- {"asm-generic/ioctls.h", "TCGETS2", 0x542a},
543- {"asm-generic/ioctls.h", "TCSETS2", 0x542b},
544- {"asm-generic/ioctls.h", "TCSETSW2", 0x542c},
545- {"asm-generic/ioctls.h", "TCSETSF2", 0x542d},
546- {"asm-generic/ioctls.h", "TIOCGRS485", 0x542e},
547- {"asm-generic/ioctls.h", "TIOCSRS485", 0x542f},
548- {"asm-generic/ioctls.h", "TIOCGPTN", 0x5430},
549- {"asm-generic/ioctls.h", "TIOCSPTLCK", 0x5431},
550- {"asm-generic/ioctls.h", "TCGETX", 0x5432},
551- {"asm-generic/ioctls.h", "TCSETX", 0x5433},
552- {"asm-generic/ioctls.h", "TCSETXF", 0x5434},
553- {"asm-generic/ioctls.h", "TCSETXW", 0x5435},
554- {"asm-generic/ioctls.h", "TIOCSIG", 0x5436},
555- {"asm-generic/ioctls.h", "FIONCLEX", 0x5450},
556- {"asm-generic/ioctls.h", "FIOCLEX", 0x5451},
557- {"asm-generic/ioctls.h", "FIOASYNC", 0x5452},
558 {"asm/ioctls.h", "TIOCSERCONFIG", 0x5453},
559 {"asm/ioctls.h", "TIOCSERGWILD", 0x5454},
560 {"asm/ioctls.h", "TIOCSERSWILD", 0x5455},
561@@ -113,7 +61,6 @@
562 {"asm/ioctls.h", "TIOCSERSETMULTI", 0x545b},
563 {"asm/ioctls.h", "TIOCMIWAIT", 0x545c},
564 {"asm/ioctls.h", "TIOCGICOUNT", 0x545d},
565- {"asm-generic/ioctls.h", "FIOQSIZE", 0x5460},
566 {"asm/watchdog.h", "WIOCSTART", 0x570a},
567 {"asm/watchdog.h", "WIOCSTOP", 0x570b},
568 {"asm/watchdog.h", "WIOCGSTAT", 0x570c},
569--
5701.8.0
571
diff --git a/meta/recipes-devtools/strace/strace-4.7/0031-Add-support-for-tracing-32-bit-ARM-EABI-binaries-on-.patch b/meta/recipes-devtools/strace/strace-4.7/0031-Add-support-for-tracing-32-bit-ARM-EABI-binaries-on-.patch
deleted file mode 100644
index 61885b1b5b..0000000000
--- a/meta/recipes-devtools/strace/strace-4.7/0031-Add-support-for-tracing-32-bit-ARM-EABI-binaries-on-.patch
+++ /dev/null
@@ -1,963 +0,0 @@
1Upstream-Status: Backport
2
3From 890a5cad2321ae72fb5ca1b253edb874b1ca7180 Mon Sep 17 00:00:00 2001
4From: Steve McIntyre <steve.mcintyre@linaro.org>
5Date: Sat, 10 Nov 2012 11:24:48 +0000
6Subject: [PATCH 31/31] Add support for tracing 32-bit ARM EABI binaries on
7 AArch64
8
9* defs.h [AARCH64]: Copy in the definition of arm_pt_regs and the
10accessor macros, so it's possible to build on AArch64 without
11ARM system headers. Set SUPPORTED_PERSONALITIES to 2.
12Define PERSONALITY0_WORDSIZE and PERSONALITY1_WORDSIZE.
13Set DEFAULT_PERSONALITY to 1.
14* linux/aarch64/errnoent1.h: New file, includes generic errnoent.h.
15* linux/aarch64/ioctlent1.h: New file, includes generic ioctlent.h.
16* linux/aarch64/signalent1.h: New file, includes generic signalent.h.
17* linux/aarch64/syscallent1.h: Rename from linux/aarch64/syscallent.h.
18* linux/aarch64/syscallent.h: New file, includes arm/syscallent.h.
19* syscall.c [AARCH64]: Define aarch64_regs.
20(update_personality) [AARCH64]: Add debug output.
21(get_scno) [AARCH64]: Determine if we're in ARM or AArch64 mode by
22checking the size of the returned uio structure from PTRACE_GETREGSET
23and interpret the structure accordingly.
24(get_syscall_result): Likewise.
25(get_syscall_args): Merge the AArch64 and ARM sections so that on
26AArch64 we can fall back to supporting the ARM personality.
27(get_error): Likewise.
28
29Signed-off-by: Steve McIntyre <steve.mcintyre@linaro.org>
30---
31 defs.h | 34 +++++
32 linux/aarch64/errnoent1.h | 2 +
33 linux/aarch64/ioctlent1.h | 1 +
34 linux/aarch64/signalent1.h | 1 +
35 linux/aarch64/syscallent.h | 331 +-------------------------------------------
36 linux/aarch64/syscallent1.h | 330 +++++++++++++++++++++++++++++++++++++++++++
37 syscall.c | 111 ++++++++++-----
38 7 files changed, 448 insertions(+), 362 deletions(-)
39 create mode 100644 linux/aarch64/errnoent1.h
40 create mode 100644 linux/aarch64/ioctlent1.h
41 create mode 100644 linux/aarch64/signalent1.h
42 create mode 100644 linux/aarch64/syscallent1.h
43
44diff --git a/defs.h b/defs.h
45index 11e26bb..0e05c6e 100644
46--- a/defs.h
47+++ b/defs.h
48@@ -196,6 +196,30 @@ extern long ptrace(int, int, char *, long);
49 # define REG_PC (0*8)
50 # define REG_SYSCALL (2*8)
51 #endif /* SH64 */
52+#ifdef AARCH64
53+#define NUM_ARM_REGS 18
54+struct arm_pt_regs {
55+ int uregs[NUM_ARM_REGS];
56+};
57+#define ARM_cpsr uregs[16]
58+#define ARM_pc uregs[15]
59+#define ARM_lr uregs[14]
60+#define ARM_sp uregs[13]
61+#define ARM_ip uregs[12]
62+#define ARM_fp uregs[11]
63+#define ARM_r10 uregs[10]
64+#define ARM_r9 uregs[9]
65+#define ARM_r8 uregs[8]
66+#define ARM_r7 uregs[7]
67+#define ARM_r6 uregs[6]
68+#define ARM_r5 uregs[5]
69+#define ARM_r4 uregs[4]
70+#define ARM_r3 uregs[3]
71+#define ARM_r2 uregs[2]
72+#define ARM_r1 uregs[1]
73+#define ARM_r0 uregs[0]
74+#define ARM_ORIG_r0 uregs[17]
75+#endif /* AARCH64 */
76
77 #define SUPPORTED_PERSONALITIES 1
78 #define DEFAULT_PERSONALITY 0
79@@ -241,6 +265,16 @@ extern long ptrace(int, int, char *, long);
80 # define PERSONALITY1_WORDSIZE 4
81 #endif
82
83+#ifdef AARCH64
84+# undef SUPPORTED_PERSONALITIES
85+/* The existing ARM personality, then AArch64 */
86+# define SUPPORTED_PERSONALITIES 2
87+# define PERSONALITY0_WORDSIZE 4
88+# define PERSONALITY1_WORDSIZE 8
89+# undef DEFAULT_PERSONALITY
90+# define DEFAULT_PERSONALITY 1
91+#endif
92+
93 #ifdef POWERPC64
94 # undef SUPPORTED_PERSONALITIES
95 # define SUPPORTED_PERSONALITIES 2
96diff --git a/linux/aarch64/errnoent1.h b/linux/aarch64/errnoent1.h
97new file mode 100644
98index 0000000..e1cbe33
99--- /dev/null
100+++ b/linux/aarch64/errnoent1.h
101@@ -0,0 +1,2 @@
102+/* Native AArch64 */
103+#include "../errnoent.h"
104diff --git a/linux/aarch64/ioctlent1.h b/linux/aarch64/ioctlent1.h
105new file mode 100644
106index 0000000..df485d3
107--- /dev/null
108+++ b/linux/aarch64/ioctlent1.h
109@@ -0,0 +1 @@
110+#include "../ioctlent.h"
111diff --git a/linux/aarch64/signalent1.h b/linux/aarch64/signalent1.h
112new file mode 100644
113index 0000000..d31e6a4
114--- /dev/null
115+++ b/linux/aarch64/signalent1.h
116@@ -0,0 +1 @@
117+#include "../signalent.h"
118diff --git a/linux/aarch64/syscallent.h b/linux/aarch64/syscallent.h
119index b712c9f..1b892be 100644
120--- a/linux/aarch64/syscallent.h
121+++ b/linux/aarch64/syscallent.h
122@@ -1,330 +1 @@
123- { 2, 0, sys_io_setup, "io_setup" }, /* 0 */
124- { 1, 0, sys_io_destroy, "io_destroy" }, /* 1 */
125- { 3, 0, sys_io_submit, "io_submit" }, /* 2 */
126- { 3, 0, sys_io_cancel, "io_cancel" }, /* 3 */
127- { 5, 0, sys_io_getevents, "io_getevents" }, /* 4 */
128- { 5, TF, sys_setxattr, "setxattr" }, /* 5 */
129- { 5, TF, sys_setxattr, "lsetxattr" }, /* 6 */
130- { 5, TD, sys_fsetxattr, "fsetxattr" }, /* 7 */
131- { 4, TF, sys_getxattr, "getxattr" }, /* 8 */
132- { 4, TF, sys_getxattr, "lgetxattr" }, /* 9 */
133- { 4, TD, sys_fgetxattr, "fgetxattr" }, /* 10 */
134- { 3, TF, sys_listxattr, "listxattr" }, /* 11 */
135- { 3, TF, sys_listxattr, "llistxattr" }, /* 12 */
136- { 3, TD, sys_flistxattr, "flistxattr" }, /* 13 */
137- { 2, TF, sys_removexattr, "removexattr" }, /* 14 */
138- { 2, TF, sys_removexattr, "lremovexattr" }, /* 15 */
139- { 2, TD, sys_fremovexattr, "fremovexattr" }, /* 16 */
140- { 2, TF, sys_getcwd, "getcwd" }, /* 17 */
141- { 4, 0, sys_lookup_dcookie, "lookup_dcookie" }, /* 18 */
142- { 2, TD, sys_eventfd2, "eventfd2" }, /* 19 */
143- { 1, TD, sys_epoll_create1, "epoll_create1" }, /* 20 */
144- { 4, TD, sys_epoll_ctl, "epoll_ctl" }, /* 21 */
145- { 6, TD, sys_epoll_pwait, "epoll_pwait" }, /* 22 */
146- { 1, TD, sys_dup, "dup" }, /* 23 */
147- { 3, TD, sys_dup3, "dup3" }, /* 24 */
148- { 3, TD, sys_fcntl, "fcntl" }, /* 25 */
149- { 1, TD, sys_inotify_init1, "inotify_init1" }, /* 26 */
150- { 3, TD, sys_inotify_add_watch, "inotify_add_watch" }, /* 27 */
151- { 2, TD, sys_inotify_rm_watch, "inotify_rm_watch" }, /* 28 */
152- { 3, TD, sys_ioctl, "ioctl" }, /* 29 */
153- { 3, 0, sys_ioprio_set, "ioprio_set" }, /* 30 */
154- { 2, 0, sys_ioprio_get, "ioprio_get" }, /* 31 */
155- { 2, TD, sys_flock, "flock" }, /* 32 */
156- { 4, TD|TF, sys_mknodat, "mknodat" }, /* 33 */
157- { 3, TD|TF, sys_mkdirat, "mkdirat" }, /* 34 */
158- { 3, TD|TF, sys_unlinkat, "unlinkat" }, /* 35 */
159- { 3, TD|TF, sys_symlinkat, "symlinkat" }, /* 36 */
160- { 5, TD|TF, sys_linkat, "linkat" }, /* 37 */
161- { 4, TD|TF, sys_renameat, "renameat" }, /* 38 */
162- { 2, TF, sys_umount2, "umount2" }, /* 39 */
163- { 5, TF, sys_mount, "mount" }, /* 40 */
164- { 2, TF, sys_pivotroot, "pivot_root" }, /* 41 */
165- { 3, 0, sys_nfsservctl, "nfsservctl" }, /* 42 */
166- { 2, TF, sys_statfs, "statfs64" }, /* 43 */
167- { 2, TD, sys_fstatfs, "fstatfs64" }, /* 44 */
168- { 2, TF, sys_truncate, "truncate64" }, /* 45 */
169- { 2, TD, sys_ftruncate, "ftruncate64" }, /* 46 */
170- { 6, TD, sys_fallocate, "fallocate" }, /* 47 */
171- { 3, TD|TF, sys_faccessat, "faccessat" }, /* 48 */
172- { 1, TF, sys_chdir, "chdir" }, /* 49 */
173- { 1, TD, sys_fchdir, "fchdir" }, /* 50 */
174- { 1, TF, sys_chroot, "chroot" }, /* 51 */
175- { 2, TD, sys_fchmod, "fchmod" }, /* 52 */
176- { 3, TD|TF, sys_fchmodat, "fchmodat" }, /* 53 */
177- { 5, TD|TF, sys_fchownat, "fchownat" }, /* 54 */
178- { 3, TD, sys_fchown, "fchown" }, /* 55 */
179- { 4, TD|TF, sys_openat, "openat" }, /* 56 */
180- { 1, TD, sys_close, "close" }, /* 57 */
181- { 0, 0, sys_vhangup, "vhangup" }, /* 58 */
182- { 2, TD, sys_pipe2, "pipe2" }, /* 59 */
183- { 4, TF, sys_quotactl, "quotactl" }, /* 60 */
184- { 3, TD, sys_getdents64, "getdents64" }, /* 61 */
185- { 3, TD, sys_lseek, "lseek" }, /* 62 */
186- { 3, TD, sys_read, "read" }, /* 63 */
187- { 3, TD, sys_write, "write" }, /* 64 */
188- { 3, TD, sys_readv, "readv" }, /* 65 */
189- { 3, TD, sys_writev, "writev" }, /* 66 */
190- { 5, TD, sys_pread, "pread64" }, /* 67 */
191- { 5, TD, sys_pwrite, "pwrite64" }, /* 68 */
192- { 5, TD, sys_preadv, "preadv" }, /* 69 */
193- { 5, TD, sys_pwritev, "pwritev" }, /* 70 */
194- { 4, TD|TN, sys_sendfile, "sendfile" }, /* 71 */
195- { 6, TD, sys_pselect6, "pselect6" }, /* 72 */
196- { 5, TD, sys_ppoll, "ppoll" }, /* 73 */
197- { 4, TD|TS, sys_signalfd4, "signalfd4" }, /* 74 */
198- { 4, TD, sys_vmsplice, "vmsplice" }, /* 75 */
199- { 6, TD, sys_splice, "splice" }, /* 76 */
200- { 4, TD, sys_tee, "tee" }, /* 77 */
201- { 4, TD|TF, sys_readlinkat, "readlinkat" }, /* 78 */
202- { 4, TD|TF, sys_newfstatat, "newfstatat" }, /* 79 */
203- { 2, TD, sys_fstat, "fstat" }, /* 80 */
204- { 0, 0, sys_sync, "sync" }, /* 81 */
205- { 1, TD, sys_fsync, "fsync" }, /* 82 */
206- { 1, TD, sys_fdatasync, "fdatasync" }, /* 83 */
207- { 4, TD, sys_sync_file_range, "sync_file_range" }, /* 84 */
208- { 2, TD, sys_timerfd_create, "timerfd_create" }, /* 85 */
209- { 4, TD, sys_timerfd_settime, "timerfd_settime" }, /* 86 */
210- { 2, TD, sys_timerfd_gettime, "timerfd_gettime" }, /* 87 */
211- { 4, TD|TF, sys_utimensat, "utimensat" }, /* 88 */
212- { 1, TF, sys_acct, "acct" }, /* 89 */
213- { 2, 0, sys_capget, "capget" }, /* 90 */
214- { 2, 0, sys_capset, "capset" }, /* 91 */
215- { 1, 0, sys_personality, "personality" }, /* 92 */
216- { 1, TP, sys_exit, "exit" }, /* 93 */
217- { 1, TP, sys_exit, "exit_group" }, /* 94 */
218- { 5, TP, sys_waitid, "waitid" }, /* 95 */
219- { 1, 0, sys_set_tid_address, "set_tid_address" }, /* 96 */
220- { 1, TP, sys_unshare, "unshare" }, /* 97 */
221- { 6, 0, sys_futex, "futex" }, /* 98 */
222- { 2, 0, sys_set_robust_list, "set_robust_list" }, /* 99 */
223- { 3, 0, sys_get_robust_list, "get_robust_list" }, /* 100 */
224- { 2, 0, sys_nanosleep, "nanosleep" }, /* 101 */
225- { 2, 0, sys_getitimer, "getitimer" }, /* 102 */
226- { 3, 0, sys_setitimer, "setitimer" }, /* 103 */
227- { 4, 0, sys_kexec_load, "kexec_load" }, /* 104 */
228- { 3, 0, sys_init_module, "init_module" }, /* 105 */
229- { 2, 0, sys_delete_module, "delete_module" }, /* 106 */
230- { 3, 0, sys_timer_create, "timer_create" }, /* 107 */
231- { 2, 0, sys_timer_gettime, "timer_gettime" }, /* 108 */
232- { 1, 0, sys_timer_getoverrun, "timer_getoverrun" }, /* 109 */
233- { 4, 0, sys_timer_settime, "timer_settime" }, /* 110 */
234- { 1, 0, sys_timer_delete, "timer_delete" }, /* 111 */
235- { 2, 0, sys_clock_settime, "clock_settime" }, /* 112 */
236- { 2, 0, sys_clock_gettime, "clock_gettime" }, /* 113 */
237- { 2, 0, sys_clock_getres, "clock_getres" }, /* 114 */
238- { 4, 0, sys_clock_nanosleep, "clock_nanosleep" }, /* 115 */
239- { 3, 0, sys_syslog, "syslog" }, /* 116 */
240- { 4, 0, sys_ptrace, "ptrace" }, /* 117 */
241- { 0, 0, sys_sched_setparam, "sched_setparam" }, /* 118 */
242- { 3, 0, sys_sched_setscheduler, "sched_setscheduler" }, /* 119 */
243- { 1, 0, sys_sched_getscheduler, "sched_getscheduler" }, /* 120 */
244- { 2, 0, sys_sched_getparam, "sched_getparam" }, /* 121 */
245- { 3, 0, sys_sched_setaffinity, "sched_setaffinity" }, /* 122 */
246- { 3, 0, sys_sched_getaffinity, "sched_getaffinity" }, /* 123 */
247- { 0, 0, sys_sched_yield, "sched_yield" }, /* 124 */
248- { 1, 0, sys_sched_get_priority_max, "sched_get_priority_max" }, /* 125 */
249- { 1, 0, sys_sched_get_priority_min, "sched_get_priority_min" }, /* 126 */
250- { 2, 0, sys_sched_rr_get_interval, "sched_rr_get_interval" }, /* 127 */
251- { 0, 0, sys_restart_syscall, "restart_syscall" }, /* 128 */
252- { 2, TS, sys_kill, "kill" }, /* 129 */
253- { 2, TS, sys_kill, "tkill" }, /* 130 */
254- { 3, TS, sys_tgkill, "tgkill" }, /* 131 */
255- { 2, TS, sys_sigaltstack, "sigaltstack" }, /* 132 */
256- { 2, TS, sys_rt_sigsuspend, "rt_sigsuspend" }, /* 133 */
257- { 4, TS, sys_rt_sigaction, "rt_sigaction" }, /* 134 */
258- { 4, TS, sys_rt_sigprocmask, "rt_sigprocmask" }, /* 135 */
259- { 2, TS, sys_rt_sigpending, "rt_sigpending" }, /* 136 */
260- { 4, TS, sys_rt_sigtimedwait, "rt_sigtimedwait" }, /* 137 */
261- { 3, TS, sys_rt_sigqueueinfo, "rt_sigqueueinfo" }, /* 138 */
262- { 0, TS, sys_rt_sigreturn, "rt_sigreturn" }, /* 139 */
263- { 3, 0, sys_setpriority, "setpriority" }, /* 140 */
264- { 2, 0, sys_getpriority, "getpriority" }, /* 141 */
265- { 4, 0, sys_reboot, "reboot" }, /* 142 */
266- { 2, 0, sys_setregid, "setregid" }, /* 143 */
267- { 1, 0, sys_setgid, "setgid" }, /* 144 */
268- { 2, 0, sys_setreuid, "setreuid" }, /* 145 */
269- { 1, 0, sys_setuid, "setuid" }, /* 146 */
270- { 3, 0, sys_setresuid, "setresuid" }, /* 147 */
271- { 3, 0, sys_getresuid, "getresuid" }, /* 148 */
272- { 3, 0, sys_setresgid, "setresgid" }, /* 149 */
273- { 3, 0, sys_getresgid, "getresgid" }, /* 150 */
274- { 1, NF, sys_setfsuid, "setfsuid" }, /* 151 */
275- { 1, NF, sys_setfsgid, "setfsgid" }, /* 152 */
276- { 1, 0, sys_times, "times" }, /* 153 */
277- { 2, 0, sys_setpgid, "setpgid" }, /* 154 */
278- { 1, 0, sys_getpgid, "getpgid" }, /* 155 */
279- { 1, 0, sys_getsid, "getsid" }, /* 156 */
280- { 0, 0, sys_setsid, "setsid" }, /* 157 */
281- { 2, 0, sys_getgroups, "getgroups" }, /* 158 */
282- { 2, 0, sys_setgroups, "setgroups" }, /* 159 */
283- { 1, 0, sys_uname, "uname" }, /* 160 */
284- { 2, 0, sys_sethostname, "sethostname" }, /* 161 */
285- { 2, 0, sys_setdomainname, "setdomainname" }, /* 162 */
286- { 2, 0, sys_getrlimit, "getrlimit" }, /* 163 */
287- { 2, 0, sys_setrlimit, "setrlimit" }, /* 164 */
288- { 2, 0, sys_getrusage, "getrusage" }, /* 165 */
289- { 1, 0, sys_umask, "umask" }, /* 166 */
290- { 5, 0, sys_prctl, "prctl" }, /* 167 */
291- { 3, 0, sys_getcpu, "getcpu" }, /* 168 */
292- { 2, 0, sys_gettimeofday, "gettimeofday" }, /* 169 */
293- { 2, 0, sys_settimeofday, "settimeofday" }, /* 170 */
294- { 1, 0, sys_adjtimex, "adjtimex" }, /* 171 */
295- { 0, 0, sys_getpid, "getpid" }, /* 172 */
296- { 0, 0, sys_getppid, "getppid" }, /* 173 */
297- { 0, NF, sys_getuid, "getuid" }, /* 174 */
298- { 0, NF, sys_geteuid, "geteuid" }, /* 175 */
299- { 0, NF, sys_getgid, "getgid" }, /* 176 */
300- { 0, NF, sys_getegid, "getegid" }, /* 177 */
301- { 0, 0, sys_gettid, "gettid" }, /* 178 */
302- { 1, 0, sys_sysinfo, "sysinfo" }, /* 179 */
303- { 4, 0, sys_mq_open, "mq_open" }, /* 180 */
304- { 1, 0, sys_mq_unlink, "mq_unlink" }, /* 181 */
305- { 5, 0, sys_mq_timedsend, "mq_timedsend" }, /* 182 */
306- { 5, 0, sys_mq_timedreceive, "mq_timedreceive" }, /* 183 */
307- { 2, 0, sys_mq_notify, "mq_notify" }, /* 184 */
308- { 3, 0, sys_mq_getsetattr, "mq_getsetattr" }, /* 185 */
309- { 4, TI, sys_msgget, "msgget" }, /* 186 */
310- { 3, TI, sys_msgctl, "msgctl" }, /* 187 */
311- { 5, TI, sys_msgrcv, "msgrcv" }, /* 188 */
312- { 4, TI, sys_msgsnd, "msgsnd" }, /* 189 */
313- { 4, TI, sys_semget, "semget" }, /* 190 */
314- { 4, TI, sys_semctl, "semctl" }, /* 191 */
315- { 5, TI, sys_semtimedop, "semtimedop" }, /* 192 */
316- { 4, TI, sys_semop, "semop" }, /* 193 */
317- { 4, TI, sys_shmget, "shmget" }, /* 194 */
318- { 4, TI, sys_shmctl, "shmctl" }, /* 195 */
319- { 4, TI, sys_shmat, "shmat" }, /* 196 */
320- { 4, TI, sys_shmdt, "shmdt" }, /* 197 */
321- { 3, TN, sys_socket, "socket" }, /* 198 */
322- { 4, TN, sys_socketpair, "socketpair" }, /* 199 */
323- { 3, TN, sys_bind, "bind" }, /* 200 */
324- { 2, TN, sys_listen, "listen" }, /* 201 */
325- { 3, TN, sys_accept, "accept" }, /* 202 */
326- { 3, TN, sys_connect, "connect" }, /* 203 */
327- { 3, TN, sys_getsockname, "getsockname" }, /* 204 */
328- { 3, TN, sys_getpeername, "getpeername" }, /* 205 */
329- { 6, TN, sys_sendto, "sendto" }, /* 206 */
330- { 6, TN, sys_recvfrom, "recvfrom" }, /* 207 */
331- { 5, TN, sys_setsockopt, "setsockopt" }, /* 208 */
332- { 5, TN, sys_getsockopt, "getsockopt" }, /* 209 */
333- { 2, TN, sys_shutdown, "shutdown" }, /* 210 */
334- { 3, TN, sys_sendmsg, "sendmsg" }, /* 211 */
335- { 5, TN, sys_recvmsg, "recvmsg" }, /* 212 */
336- { 4, TD, sys_readahead, "readahead" }, /* 213 */
337- { 1, TM, sys_brk, "brk" }, /* 214 */
338- { 2, TM, sys_munmap, "munmap" }, /* 215 */
339- { 5, TM, sys_mremap, "mremap" }, /* 216 */
340- { 5, 0, sys_add_key, "add_key" }, /* 217 */
341- { 4, 0, sys_request_key, "request_key" }, /* 218 */
342- { 5, 0, sys_keyctl, "keyctl" }, /* 219 */
343- { 5, TP, sys_clone, "clone" }, /* 220 */
344- { 3, TF|TP, sys_execve, "execve" }, /* 221 */
345- { 6, TD|TM, sys_mmap, "mmap" }, /* 222 */
346- { 4, TD, sys_fadvise64, "fadvise64" }, /* 223 */
347- { 2, TF, sys_swapon, "swapon" }, /* 224 */
348- { 1, TF, sys_swapoff, "swapoff" }, /* 225 */
349- { 3, TM, sys_mprotect, "mprotect" }, /* 226 */
350- { 3, TM, sys_msync, "msync" }, /* 227 */
351- { 3, TM, sys_msync, "msync" }, /* 228 */
352- { 2, TM, sys_munlock, "munlock" }, /* 229 */
353- { 1, TM, sys_mlockall, "mlockall" }, /* 230 */
354- { 0, TM, sys_munlockall, "munlockall" }, /* 231 */
355- { 3, TM, sys_mincore, "mincore" }, /* 232 */
356- { 3, TM, sys_madvise, "madvise" }, /* 233 */
357- { 5, TM, sys_remap_file_pages, "remap_file_pages" }, /* 234 */
358- { 6, TM, sys_mbind, "mbind" }, /* 235 */
359- { 5, TM, sys_get_mempolicy, "get_mempolicy" }, /* 236 */
360- { 3, TM, sys_set_mempolicy, "set_mempolicy" }, /* 237 */
361- { 4, TM, sys_migrate_pages, "migrate_pages" }, /* 238 */
362- { 6, TM, sys_move_pages, "move_pages" }, /* 239 */
363- { 4, TP|TS, sys_rt_tgsigqueueinfo, "rt_tgsigqueueinfo" }, /* 240 */
364- { 5, TD, sys_perf_event_open, "perf_event_open" }, /* 241 */
365- { 4, TN, sys_accept4, "accept4" }, /* 242 */
366- { 5, TN, sys_recvmmsg, "recvmmsg" }, /* 243 */
367-
368- /* Arch-specific block, not used on AArch64 */
369- [244 ... 259] = { },
370-
371- { 4, TP, sys_wait4, "wait4" }, /* 260 */
372- { 4, 0, sys_prlimit64, "prlimit64" }, /* 261 */
373- { 2, TD, sys_fanotify_init, "fanotify_init" }, /* 262 */
374- { 5, TD|TF, sys_fanotify_mark, "fanotify_mark" }, /* 263 */
375- { 5, TD|TF, sys_name_to_handle_at, "name_to_handle_at" }, /* 264 */
376- { 3, TD, sys_open_by_handle_at, "open_by_handle_at" }, /* 265 */
377- { 2, 0, sys_clock_adjtime, "clock_adjtime" }, /* 266 */
378- { 1, TD, sys_syncfs, "syncfs" }, /* 267 */
379- { 2, TD, sys_setns, "setns" }, /* 268 */
380- { 4, TN, sys_sendmmsg, "sendmmsg" }, /* 269 */
381- { 6, 0, sys_process_vm_readv, "process_vm_readv" }, /* 270 */
382- { 6, 0, sys_process_vm_writev, "process_vm_writev" }, /* 271 */
383-
384- /* Blank down to 1023 */
385- [272 ... 1023] = { },
386-
387- /* Quote from asm-generic/unistd.h:
388- *
389- * All syscalls below here should go away really,
390- * these are provided for both review and as a porting
391- * help for the C library version.
392- *
393- * Last chance: are any of these important enough to
394- * enable by default?
395- */
396-
397- { 3, TD|TF, sys_open, "open" }, /* 1024 */
398- { 2, TF, sys_link, "link" }, /* 1025 */
399- { 1, TF, sys_unlink, "unlink" }, /* 1026 */
400- { 3, TF, sys_mknod, "mknod" }, /* 1027 */
401- { 2, TF, sys_chmod, "chmod" }, /* 1028 */
402- { 3, TF, sys_chown, "chown" }, /* 1029 */
403- { 2, TF, sys_mkdir, "mkdir" }, /* 1030 */
404- { 1, TF, sys_rmdir, "rmdir" }, /* 1031 */
405- { 3, TF, sys_chown, "lchown" }, /* 1032 */
406- { 2, TF, sys_access, "access" }, /* 1033 */
407- { 2, TF, sys_rename, "rename" }, /* 1034 */
408- { 3, TF, sys_readlink, "readlink" }, /* 1035 */
409- { 2, TF, sys_symlink, "symlink" }, /* 1036 */
410- { 2, TF, sys_utimes, "utimes" }, /* 1037 */
411- { 2, TF, sys_stat, "stat" }, /* 1038 */
412- { 2, TF, sys_lstat, "lstat" }, /* 1039 */
413- { 1, TD, sys_pipe, "pipe" }, /* 1040 */
414- { 2, TD, sys_dup2, "dup2" }, /* 1041 */
415- { 1, TD, sys_epoll_create, "epoll_create" }, /* 1042 */
416- { 0, TD, sys_inotify_init, "inotify_init" }, /* 1043 */
417- { 1, TD, sys_eventfd, "eventfd" }, /* 1044 */
418- { 3, TD|TS, sys_signalfd, "signalfd" }, /* 1045 */
419- { 4, TD|TN, sys_sendfile, "sendfile" }, /* 1046 */
420- { 2, TD, sys_ftruncate, "ftruncate" }, /* 1047 */
421- { 2, TF, sys_truncate, "truncate" }, /* 1048 */
422- { 2, TF, sys_stat, "stat" }, /* 1049 */
423- { 2, TF, sys_lstat, "lstat" }, /* 1050 */
424- { 2, TD, sys_fstat, "fstat" }, /* 1051 */
425- { 3, TD, sys_fcntl, "fcntl" }, /* 1052 */
426- { 4, TD, sys_fadvise64, "fadvise64" }, /* 1053 */
427- { 4, TD|TF, sys_newfstatat, "newfstatat" }, /* 1054 */
428- { 2, TD, sys_fstatfs, "fstatfs" }, /* 1055 */
429- { 2, TF, sys_statfs, "statfs" }, /* 1056 */
430- { 3, TD, sys_lseek, "lseek" }, /* 1057 */
431- { 6, TD|TM, sys_mmap, "mmap" }, /* 1058 */
432- { 1, 0, sys_alarm, "alarm" }, /* 1059 */
433- { 0, 0, sys_getpgrp, "getpgrp" }, /* 1060 */
434- { 0, TS, sys_pause, "pause" }, /* 1061 */
435- { 1, 0, sys_time, "time" }, /* 1062 */
436- { 2, TF, sys_utime, "utime" }, /* 1063 */
437- { 2, TD|TF, sys_creat, "creat" }, /* 1064 */
438- { 3, TD, sys_getdents, "getdents" }, /* 1065 */
439- { 3, TD|TF, sys_futimesat, "futimesat" }, /* 1066 */
440- { 5, TD, sys_select, "select" }, /* 1067 */
441- { 3, TD, sys_poll, "poll" }, /* 1068 */
442- { 4, TD, sys_epoll_wait, "epoll_wait" }, /* 1069 */
443- { 2, 0, sys_ustat, "ustat" }, /* 1070 */
444- { 0, TP, sys_vfork, "vfork" }, /* 1071 */
445- { 4, TP, sys_wait4, "wait4" }, /* 1072 */
446- { 6, TN, sys_recv, "recv" }, /* 1073 */
447- { 4, TD|TN, sys_send, "send" }, /* 1074 */
448- { 2, 0, sys_bdflush, "bdflush" }, /* 1075 */
449- { 2, TF, sys_umount, "umount" }, /* 1076 */
450- { 1, TF, sys_uselib, "uselib" }, /* 1077 */
451- { 1, 0, sys_sysctl, "sysctl" }, /* 1078 */
452- { 0, TP, sys_fork, "fork" }, /* 1079 */
453+#include "../arm/syscallent.h"
454diff --git a/linux/aarch64/syscallent1.h b/linux/aarch64/syscallent1.h
455new file mode 100644
456index 0000000..b712c9f
457--- /dev/null
458+++ b/linux/aarch64/syscallent1.h
459@@ -0,0 +1,330 @@
460+ { 2, 0, sys_io_setup, "io_setup" }, /* 0 */
461+ { 1, 0, sys_io_destroy, "io_destroy" }, /* 1 */
462+ { 3, 0, sys_io_submit, "io_submit" }, /* 2 */
463+ { 3, 0, sys_io_cancel, "io_cancel" }, /* 3 */
464+ { 5, 0, sys_io_getevents, "io_getevents" }, /* 4 */
465+ { 5, TF, sys_setxattr, "setxattr" }, /* 5 */
466+ { 5, TF, sys_setxattr, "lsetxattr" }, /* 6 */
467+ { 5, TD, sys_fsetxattr, "fsetxattr" }, /* 7 */
468+ { 4, TF, sys_getxattr, "getxattr" }, /* 8 */
469+ { 4, TF, sys_getxattr, "lgetxattr" }, /* 9 */
470+ { 4, TD, sys_fgetxattr, "fgetxattr" }, /* 10 */
471+ { 3, TF, sys_listxattr, "listxattr" }, /* 11 */
472+ { 3, TF, sys_listxattr, "llistxattr" }, /* 12 */
473+ { 3, TD, sys_flistxattr, "flistxattr" }, /* 13 */
474+ { 2, TF, sys_removexattr, "removexattr" }, /* 14 */
475+ { 2, TF, sys_removexattr, "lremovexattr" }, /* 15 */
476+ { 2, TD, sys_fremovexattr, "fremovexattr" }, /* 16 */
477+ { 2, TF, sys_getcwd, "getcwd" }, /* 17 */
478+ { 4, 0, sys_lookup_dcookie, "lookup_dcookie" }, /* 18 */
479+ { 2, TD, sys_eventfd2, "eventfd2" }, /* 19 */
480+ { 1, TD, sys_epoll_create1, "epoll_create1" }, /* 20 */
481+ { 4, TD, sys_epoll_ctl, "epoll_ctl" }, /* 21 */
482+ { 6, TD, sys_epoll_pwait, "epoll_pwait" }, /* 22 */
483+ { 1, TD, sys_dup, "dup" }, /* 23 */
484+ { 3, TD, sys_dup3, "dup3" }, /* 24 */
485+ { 3, TD, sys_fcntl, "fcntl" }, /* 25 */
486+ { 1, TD, sys_inotify_init1, "inotify_init1" }, /* 26 */
487+ { 3, TD, sys_inotify_add_watch, "inotify_add_watch" }, /* 27 */
488+ { 2, TD, sys_inotify_rm_watch, "inotify_rm_watch" }, /* 28 */
489+ { 3, TD, sys_ioctl, "ioctl" }, /* 29 */
490+ { 3, 0, sys_ioprio_set, "ioprio_set" }, /* 30 */
491+ { 2, 0, sys_ioprio_get, "ioprio_get" }, /* 31 */
492+ { 2, TD, sys_flock, "flock" }, /* 32 */
493+ { 4, TD|TF, sys_mknodat, "mknodat" }, /* 33 */
494+ { 3, TD|TF, sys_mkdirat, "mkdirat" }, /* 34 */
495+ { 3, TD|TF, sys_unlinkat, "unlinkat" }, /* 35 */
496+ { 3, TD|TF, sys_symlinkat, "symlinkat" }, /* 36 */
497+ { 5, TD|TF, sys_linkat, "linkat" }, /* 37 */
498+ { 4, TD|TF, sys_renameat, "renameat" }, /* 38 */
499+ { 2, TF, sys_umount2, "umount2" }, /* 39 */
500+ { 5, TF, sys_mount, "mount" }, /* 40 */
501+ { 2, TF, sys_pivotroot, "pivot_root" }, /* 41 */
502+ { 3, 0, sys_nfsservctl, "nfsservctl" }, /* 42 */
503+ { 2, TF, sys_statfs, "statfs64" }, /* 43 */
504+ { 2, TD, sys_fstatfs, "fstatfs64" }, /* 44 */
505+ { 2, TF, sys_truncate, "truncate64" }, /* 45 */
506+ { 2, TD, sys_ftruncate, "ftruncate64" }, /* 46 */
507+ { 6, TD, sys_fallocate, "fallocate" }, /* 47 */
508+ { 3, TD|TF, sys_faccessat, "faccessat" }, /* 48 */
509+ { 1, TF, sys_chdir, "chdir" }, /* 49 */
510+ { 1, TD, sys_fchdir, "fchdir" }, /* 50 */
511+ { 1, TF, sys_chroot, "chroot" }, /* 51 */
512+ { 2, TD, sys_fchmod, "fchmod" }, /* 52 */
513+ { 3, TD|TF, sys_fchmodat, "fchmodat" }, /* 53 */
514+ { 5, TD|TF, sys_fchownat, "fchownat" }, /* 54 */
515+ { 3, TD, sys_fchown, "fchown" }, /* 55 */
516+ { 4, TD|TF, sys_openat, "openat" }, /* 56 */
517+ { 1, TD, sys_close, "close" }, /* 57 */
518+ { 0, 0, sys_vhangup, "vhangup" }, /* 58 */
519+ { 2, TD, sys_pipe2, "pipe2" }, /* 59 */
520+ { 4, TF, sys_quotactl, "quotactl" }, /* 60 */
521+ { 3, TD, sys_getdents64, "getdents64" }, /* 61 */
522+ { 3, TD, sys_lseek, "lseek" }, /* 62 */
523+ { 3, TD, sys_read, "read" }, /* 63 */
524+ { 3, TD, sys_write, "write" }, /* 64 */
525+ { 3, TD, sys_readv, "readv" }, /* 65 */
526+ { 3, TD, sys_writev, "writev" }, /* 66 */
527+ { 5, TD, sys_pread, "pread64" }, /* 67 */
528+ { 5, TD, sys_pwrite, "pwrite64" }, /* 68 */
529+ { 5, TD, sys_preadv, "preadv" }, /* 69 */
530+ { 5, TD, sys_pwritev, "pwritev" }, /* 70 */
531+ { 4, TD|TN, sys_sendfile, "sendfile" }, /* 71 */
532+ { 6, TD, sys_pselect6, "pselect6" }, /* 72 */
533+ { 5, TD, sys_ppoll, "ppoll" }, /* 73 */
534+ { 4, TD|TS, sys_signalfd4, "signalfd4" }, /* 74 */
535+ { 4, TD, sys_vmsplice, "vmsplice" }, /* 75 */
536+ { 6, TD, sys_splice, "splice" }, /* 76 */
537+ { 4, TD, sys_tee, "tee" }, /* 77 */
538+ { 4, TD|TF, sys_readlinkat, "readlinkat" }, /* 78 */
539+ { 4, TD|TF, sys_newfstatat, "newfstatat" }, /* 79 */
540+ { 2, TD, sys_fstat, "fstat" }, /* 80 */
541+ { 0, 0, sys_sync, "sync" }, /* 81 */
542+ { 1, TD, sys_fsync, "fsync" }, /* 82 */
543+ { 1, TD, sys_fdatasync, "fdatasync" }, /* 83 */
544+ { 4, TD, sys_sync_file_range, "sync_file_range" }, /* 84 */
545+ { 2, TD, sys_timerfd_create, "timerfd_create" }, /* 85 */
546+ { 4, TD, sys_timerfd_settime, "timerfd_settime" }, /* 86 */
547+ { 2, TD, sys_timerfd_gettime, "timerfd_gettime" }, /* 87 */
548+ { 4, TD|TF, sys_utimensat, "utimensat" }, /* 88 */
549+ { 1, TF, sys_acct, "acct" }, /* 89 */
550+ { 2, 0, sys_capget, "capget" }, /* 90 */
551+ { 2, 0, sys_capset, "capset" }, /* 91 */
552+ { 1, 0, sys_personality, "personality" }, /* 92 */
553+ { 1, TP, sys_exit, "exit" }, /* 93 */
554+ { 1, TP, sys_exit, "exit_group" }, /* 94 */
555+ { 5, TP, sys_waitid, "waitid" }, /* 95 */
556+ { 1, 0, sys_set_tid_address, "set_tid_address" }, /* 96 */
557+ { 1, TP, sys_unshare, "unshare" }, /* 97 */
558+ { 6, 0, sys_futex, "futex" }, /* 98 */
559+ { 2, 0, sys_set_robust_list, "set_robust_list" }, /* 99 */
560+ { 3, 0, sys_get_robust_list, "get_robust_list" }, /* 100 */
561+ { 2, 0, sys_nanosleep, "nanosleep" }, /* 101 */
562+ { 2, 0, sys_getitimer, "getitimer" }, /* 102 */
563+ { 3, 0, sys_setitimer, "setitimer" }, /* 103 */
564+ { 4, 0, sys_kexec_load, "kexec_load" }, /* 104 */
565+ { 3, 0, sys_init_module, "init_module" }, /* 105 */
566+ { 2, 0, sys_delete_module, "delete_module" }, /* 106 */
567+ { 3, 0, sys_timer_create, "timer_create" }, /* 107 */
568+ { 2, 0, sys_timer_gettime, "timer_gettime" }, /* 108 */
569+ { 1, 0, sys_timer_getoverrun, "timer_getoverrun" }, /* 109 */
570+ { 4, 0, sys_timer_settime, "timer_settime" }, /* 110 */
571+ { 1, 0, sys_timer_delete, "timer_delete" }, /* 111 */
572+ { 2, 0, sys_clock_settime, "clock_settime" }, /* 112 */
573+ { 2, 0, sys_clock_gettime, "clock_gettime" }, /* 113 */
574+ { 2, 0, sys_clock_getres, "clock_getres" }, /* 114 */
575+ { 4, 0, sys_clock_nanosleep, "clock_nanosleep" }, /* 115 */
576+ { 3, 0, sys_syslog, "syslog" }, /* 116 */
577+ { 4, 0, sys_ptrace, "ptrace" }, /* 117 */
578+ { 0, 0, sys_sched_setparam, "sched_setparam" }, /* 118 */
579+ { 3, 0, sys_sched_setscheduler, "sched_setscheduler" }, /* 119 */
580+ { 1, 0, sys_sched_getscheduler, "sched_getscheduler" }, /* 120 */
581+ { 2, 0, sys_sched_getparam, "sched_getparam" }, /* 121 */
582+ { 3, 0, sys_sched_setaffinity, "sched_setaffinity" }, /* 122 */
583+ { 3, 0, sys_sched_getaffinity, "sched_getaffinity" }, /* 123 */
584+ { 0, 0, sys_sched_yield, "sched_yield" }, /* 124 */
585+ { 1, 0, sys_sched_get_priority_max, "sched_get_priority_max" }, /* 125 */
586+ { 1, 0, sys_sched_get_priority_min, "sched_get_priority_min" }, /* 126 */
587+ { 2, 0, sys_sched_rr_get_interval, "sched_rr_get_interval" }, /* 127 */
588+ { 0, 0, sys_restart_syscall, "restart_syscall" }, /* 128 */
589+ { 2, TS, sys_kill, "kill" }, /* 129 */
590+ { 2, TS, sys_kill, "tkill" }, /* 130 */
591+ { 3, TS, sys_tgkill, "tgkill" }, /* 131 */
592+ { 2, TS, sys_sigaltstack, "sigaltstack" }, /* 132 */
593+ { 2, TS, sys_rt_sigsuspend, "rt_sigsuspend" }, /* 133 */
594+ { 4, TS, sys_rt_sigaction, "rt_sigaction" }, /* 134 */
595+ { 4, TS, sys_rt_sigprocmask, "rt_sigprocmask" }, /* 135 */
596+ { 2, TS, sys_rt_sigpending, "rt_sigpending" }, /* 136 */
597+ { 4, TS, sys_rt_sigtimedwait, "rt_sigtimedwait" }, /* 137 */
598+ { 3, TS, sys_rt_sigqueueinfo, "rt_sigqueueinfo" }, /* 138 */
599+ { 0, TS, sys_rt_sigreturn, "rt_sigreturn" }, /* 139 */
600+ { 3, 0, sys_setpriority, "setpriority" }, /* 140 */
601+ { 2, 0, sys_getpriority, "getpriority" }, /* 141 */
602+ { 4, 0, sys_reboot, "reboot" }, /* 142 */
603+ { 2, 0, sys_setregid, "setregid" }, /* 143 */
604+ { 1, 0, sys_setgid, "setgid" }, /* 144 */
605+ { 2, 0, sys_setreuid, "setreuid" }, /* 145 */
606+ { 1, 0, sys_setuid, "setuid" }, /* 146 */
607+ { 3, 0, sys_setresuid, "setresuid" }, /* 147 */
608+ { 3, 0, sys_getresuid, "getresuid" }, /* 148 */
609+ { 3, 0, sys_setresgid, "setresgid" }, /* 149 */
610+ { 3, 0, sys_getresgid, "getresgid" }, /* 150 */
611+ { 1, NF, sys_setfsuid, "setfsuid" }, /* 151 */
612+ { 1, NF, sys_setfsgid, "setfsgid" }, /* 152 */
613+ { 1, 0, sys_times, "times" }, /* 153 */
614+ { 2, 0, sys_setpgid, "setpgid" }, /* 154 */
615+ { 1, 0, sys_getpgid, "getpgid" }, /* 155 */
616+ { 1, 0, sys_getsid, "getsid" }, /* 156 */
617+ { 0, 0, sys_setsid, "setsid" }, /* 157 */
618+ { 2, 0, sys_getgroups, "getgroups" }, /* 158 */
619+ { 2, 0, sys_setgroups, "setgroups" }, /* 159 */
620+ { 1, 0, sys_uname, "uname" }, /* 160 */
621+ { 2, 0, sys_sethostname, "sethostname" }, /* 161 */
622+ { 2, 0, sys_setdomainname, "setdomainname" }, /* 162 */
623+ { 2, 0, sys_getrlimit, "getrlimit" }, /* 163 */
624+ { 2, 0, sys_setrlimit, "setrlimit" }, /* 164 */
625+ { 2, 0, sys_getrusage, "getrusage" }, /* 165 */
626+ { 1, 0, sys_umask, "umask" }, /* 166 */
627+ { 5, 0, sys_prctl, "prctl" }, /* 167 */
628+ { 3, 0, sys_getcpu, "getcpu" }, /* 168 */
629+ { 2, 0, sys_gettimeofday, "gettimeofday" }, /* 169 */
630+ { 2, 0, sys_settimeofday, "settimeofday" }, /* 170 */
631+ { 1, 0, sys_adjtimex, "adjtimex" }, /* 171 */
632+ { 0, 0, sys_getpid, "getpid" }, /* 172 */
633+ { 0, 0, sys_getppid, "getppid" }, /* 173 */
634+ { 0, NF, sys_getuid, "getuid" }, /* 174 */
635+ { 0, NF, sys_geteuid, "geteuid" }, /* 175 */
636+ { 0, NF, sys_getgid, "getgid" }, /* 176 */
637+ { 0, NF, sys_getegid, "getegid" }, /* 177 */
638+ { 0, 0, sys_gettid, "gettid" }, /* 178 */
639+ { 1, 0, sys_sysinfo, "sysinfo" }, /* 179 */
640+ { 4, 0, sys_mq_open, "mq_open" }, /* 180 */
641+ { 1, 0, sys_mq_unlink, "mq_unlink" }, /* 181 */
642+ { 5, 0, sys_mq_timedsend, "mq_timedsend" }, /* 182 */
643+ { 5, 0, sys_mq_timedreceive, "mq_timedreceive" }, /* 183 */
644+ { 2, 0, sys_mq_notify, "mq_notify" }, /* 184 */
645+ { 3, 0, sys_mq_getsetattr, "mq_getsetattr" }, /* 185 */
646+ { 4, TI, sys_msgget, "msgget" }, /* 186 */
647+ { 3, TI, sys_msgctl, "msgctl" }, /* 187 */
648+ { 5, TI, sys_msgrcv, "msgrcv" }, /* 188 */
649+ { 4, TI, sys_msgsnd, "msgsnd" }, /* 189 */
650+ { 4, TI, sys_semget, "semget" }, /* 190 */
651+ { 4, TI, sys_semctl, "semctl" }, /* 191 */
652+ { 5, TI, sys_semtimedop, "semtimedop" }, /* 192 */
653+ { 4, TI, sys_semop, "semop" }, /* 193 */
654+ { 4, TI, sys_shmget, "shmget" }, /* 194 */
655+ { 4, TI, sys_shmctl, "shmctl" }, /* 195 */
656+ { 4, TI, sys_shmat, "shmat" }, /* 196 */
657+ { 4, TI, sys_shmdt, "shmdt" }, /* 197 */
658+ { 3, TN, sys_socket, "socket" }, /* 198 */
659+ { 4, TN, sys_socketpair, "socketpair" }, /* 199 */
660+ { 3, TN, sys_bind, "bind" }, /* 200 */
661+ { 2, TN, sys_listen, "listen" }, /* 201 */
662+ { 3, TN, sys_accept, "accept" }, /* 202 */
663+ { 3, TN, sys_connect, "connect" }, /* 203 */
664+ { 3, TN, sys_getsockname, "getsockname" }, /* 204 */
665+ { 3, TN, sys_getpeername, "getpeername" }, /* 205 */
666+ { 6, TN, sys_sendto, "sendto" }, /* 206 */
667+ { 6, TN, sys_recvfrom, "recvfrom" }, /* 207 */
668+ { 5, TN, sys_setsockopt, "setsockopt" }, /* 208 */
669+ { 5, TN, sys_getsockopt, "getsockopt" }, /* 209 */
670+ { 2, TN, sys_shutdown, "shutdown" }, /* 210 */
671+ { 3, TN, sys_sendmsg, "sendmsg" }, /* 211 */
672+ { 5, TN, sys_recvmsg, "recvmsg" }, /* 212 */
673+ { 4, TD, sys_readahead, "readahead" }, /* 213 */
674+ { 1, TM, sys_brk, "brk" }, /* 214 */
675+ { 2, TM, sys_munmap, "munmap" }, /* 215 */
676+ { 5, TM, sys_mremap, "mremap" }, /* 216 */
677+ { 5, 0, sys_add_key, "add_key" }, /* 217 */
678+ { 4, 0, sys_request_key, "request_key" }, /* 218 */
679+ { 5, 0, sys_keyctl, "keyctl" }, /* 219 */
680+ { 5, TP, sys_clone, "clone" }, /* 220 */
681+ { 3, TF|TP, sys_execve, "execve" }, /* 221 */
682+ { 6, TD|TM, sys_mmap, "mmap" }, /* 222 */
683+ { 4, TD, sys_fadvise64, "fadvise64" }, /* 223 */
684+ { 2, TF, sys_swapon, "swapon" }, /* 224 */
685+ { 1, TF, sys_swapoff, "swapoff" }, /* 225 */
686+ { 3, TM, sys_mprotect, "mprotect" }, /* 226 */
687+ { 3, TM, sys_msync, "msync" }, /* 227 */
688+ { 3, TM, sys_msync, "msync" }, /* 228 */
689+ { 2, TM, sys_munlock, "munlock" }, /* 229 */
690+ { 1, TM, sys_mlockall, "mlockall" }, /* 230 */
691+ { 0, TM, sys_munlockall, "munlockall" }, /* 231 */
692+ { 3, TM, sys_mincore, "mincore" }, /* 232 */
693+ { 3, TM, sys_madvise, "madvise" }, /* 233 */
694+ { 5, TM, sys_remap_file_pages, "remap_file_pages" }, /* 234 */
695+ { 6, TM, sys_mbind, "mbind" }, /* 235 */
696+ { 5, TM, sys_get_mempolicy, "get_mempolicy" }, /* 236 */
697+ { 3, TM, sys_set_mempolicy, "set_mempolicy" }, /* 237 */
698+ { 4, TM, sys_migrate_pages, "migrate_pages" }, /* 238 */
699+ { 6, TM, sys_move_pages, "move_pages" }, /* 239 */
700+ { 4, TP|TS, sys_rt_tgsigqueueinfo, "rt_tgsigqueueinfo" }, /* 240 */
701+ { 5, TD, sys_perf_event_open, "perf_event_open" }, /* 241 */
702+ { 4, TN, sys_accept4, "accept4" }, /* 242 */
703+ { 5, TN, sys_recvmmsg, "recvmmsg" }, /* 243 */
704+
705+ /* Arch-specific block, not used on AArch64 */
706+ [244 ... 259] = { },
707+
708+ { 4, TP, sys_wait4, "wait4" }, /* 260 */
709+ { 4, 0, sys_prlimit64, "prlimit64" }, /* 261 */
710+ { 2, TD, sys_fanotify_init, "fanotify_init" }, /* 262 */
711+ { 5, TD|TF, sys_fanotify_mark, "fanotify_mark" }, /* 263 */
712+ { 5, TD|TF, sys_name_to_handle_at, "name_to_handle_at" }, /* 264 */
713+ { 3, TD, sys_open_by_handle_at, "open_by_handle_at" }, /* 265 */
714+ { 2, 0, sys_clock_adjtime, "clock_adjtime" }, /* 266 */
715+ { 1, TD, sys_syncfs, "syncfs" }, /* 267 */
716+ { 2, TD, sys_setns, "setns" }, /* 268 */
717+ { 4, TN, sys_sendmmsg, "sendmmsg" }, /* 269 */
718+ { 6, 0, sys_process_vm_readv, "process_vm_readv" }, /* 270 */
719+ { 6, 0, sys_process_vm_writev, "process_vm_writev" }, /* 271 */
720+
721+ /* Blank down to 1023 */
722+ [272 ... 1023] = { },
723+
724+ /* Quote from asm-generic/unistd.h:
725+ *
726+ * All syscalls below here should go away really,
727+ * these are provided for both review and as a porting
728+ * help for the C library version.
729+ *
730+ * Last chance: are any of these important enough to
731+ * enable by default?
732+ */
733+
734+ { 3, TD|TF, sys_open, "open" }, /* 1024 */
735+ { 2, TF, sys_link, "link" }, /* 1025 */
736+ { 1, TF, sys_unlink, "unlink" }, /* 1026 */
737+ { 3, TF, sys_mknod, "mknod" }, /* 1027 */
738+ { 2, TF, sys_chmod, "chmod" }, /* 1028 */
739+ { 3, TF, sys_chown, "chown" }, /* 1029 */
740+ { 2, TF, sys_mkdir, "mkdir" }, /* 1030 */
741+ { 1, TF, sys_rmdir, "rmdir" }, /* 1031 */
742+ { 3, TF, sys_chown, "lchown" }, /* 1032 */
743+ { 2, TF, sys_access, "access" }, /* 1033 */
744+ { 2, TF, sys_rename, "rename" }, /* 1034 */
745+ { 3, TF, sys_readlink, "readlink" }, /* 1035 */
746+ { 2, TF, sys_symlink, "symlink" }, /* 1036 */
747+ { 2, TF, sys_utimes, "utimes" }, /* 1037 */
748+ { 2, TF, sys_stat, "stat" }, /* 1038 */
749+ { 2, TF, sys_lstat, "lstat" }, /* 1039 */
750+ { 1, TD, sys_pipe, "pipe" }, /* 1040 */
751+ { 2, TD, sys_dup2, "dup2" }, /* 1041 */
752+ { 1, TD, sys_epoll_create, "epoll_create" }, /* 1042 */
753+ { 0, TD, sys_inotify_init, "inotify_init" }, /* 1043 */
754+ { 1, TD, sys_eventfd, "eventfd" }, /* 1044 */
755+ { 3, TD|TS, sys_signalfd, "signalfd" }, /* 1045 */
756+ { 4, TD|TN, sys_sendfile, "sendfile" }, /* 1046 */
757+ { 2, TD, sys_ftruncate, "ftruncate" }, /* 1047 */
758+ { 2, TF, sys_truncate, "truncate" }, /* 1048 */
759+ { 2, TF, sys_stat, "stat" }, /* 1049 */
760+ { 2, TF, sys_lstat, "lstat" }, /* 1050 */
761+ { 2, TD, sys_fstat, "fstat" }, /* 1051 */
762+ { 3, TD, sys_fcntl, "fcntl" }, /* 1052 */
763+ { 4, TD, sys_fadvise64, "fadvise64" }, /* 1053 */
764+ { 4, TD|TF, sys_newfstatat, "newfstatat" }, /* 1054 */
765+ { 2, TD, sys_fstatfs, "fstatfs" }, /* 1055 */
766+ { 2, TF, sys_statfs, "statfs" }, /* 1056 */
767+ { 3, TD, sys_lseek, "lseek" }, /* 1057 */
768+ { 6, TD|TM, sys_mmap, "mmap" }, /* 1058 */
769+ { 1, 0, sys_alarm, "alarm" }, /* 1059 */
770+ { 0, 0, sys_getpgrp, "getpgrp" }, /* 1060 */
771+ { 0, TS, sys_pause, "pause" }, /* 1061 */
772+ { 1, 0, sys_time, "time" }, /* 1062 */
773+ { 2, TF, sys_utime, "utime" }, /* 1063 */
774+ { 2, TD|TF, sys_creat, "creat" }, /* 1064 */
775+ { 3, TD, sys_getdents, "getdents" }, /* 1065 */
776+ { 3, TD|TF, sys_futimesat, "futimesat" }, /* 1066 */
777+ { 5, TD, sys_select, "select" }, /* 1067 */
778+ { 3, TD, sys_poll, "poll" }, /* 1068 */
779+ { 4, TD, sys_epoll_wait, "epoll_wait" }, /* 1069 */
780+ { 2, 0, sys_ustat, "ustat" }, /* 1070 */
781+ { 0, TP, sys_vfork, "vfork" }, /* 1071 */
782+ { 4, TP, sys_wait4, "wait4" }, /* 1072 */
783+ { 6, TN, sys_recv, "recv" }, /* 1073 */
784+ { 4, TD|TN, sys_send, "send" }, /* 1074 */
785+ { 2, 0, sys_bdflush, "bdflush" }, /* 1075 */
786+ { 2, TF, sys_umount, "umount" }, /* 1076 */
787+ { 1, TF, sys_uselib, "uselib" }, /* 1077 */
788+ { 1, 0, sys_sysctl, "sysctl" }, /* 1078 */
789+ { 0, TP, sys_fork, "fork" }, /* 1079 */
790diff --git a/syscall.c b/syscall.c
791index 680cbc3..69eceed 100644
792--- a/syscall.c
793+++ b/syscall.c
794@@ -287,6 +287,12 @@ update_personality(struct tcb *tcp, int personality)
795 fprintf(stderr, "[ Process PID=%d runs in %s mode. ]\n",
796 tcp->pid, names[personality]);
797 }
798+# elif defined(AARCH64)
799+ if (!qflag) {
800+ static const char *const names[] = {"32-bit ARM", "AArch64"};
801+ fprintf(stderr, "[ Process PID=%d runs in %s mode. ]\n",
802+ tcp->pid, names[personality]);
803+ }
804 # endif
805 }
806 #endif
807@@ -664,7 +670,8 @@ static long r0;
808 #elif defined(ARM)
809 static struct pt_regs regs;
810 #elif defined(AARCH64)
811-static struct user_pt_regs regs;
812+static struct user_pt_regs aarch64_regs;
813+static struct arm_pt_regs regs;
814 #elif defined(ALPHA)
815 static long r0;
816 static long a3;
817@@ -916,6 +923,29 @@ get_scno(struct tcb *tcp)
818 if (upeek(tcp, PT_R15, &scno) < 0)
819 return -1;
820 }
821+#elif defined(AARCH64)
822+ struct iovec io;
823+ char buf[sizeof(aarch64_regs)];
824+ io.iov_base = &buf;
825+ io.iov_len = sizeof(aarch64_regs);
826+ if (ptrace(PTRACE_GETREGSET, tcp->pid, NT_PRSTATUS, (void *)&io) == -1)
827+ return -1;
828+ switch (io.iov_len) {
829+ case sizeof(aarch64_regs):
830+ /* We are in 64-bit mode */
831+ memcpy(&aarch64_regs, buf, sizeof(aarch64_regs));
832+ scno = aarch64_regs.regs[8];
833+ update_personality(tcp, 1);
834+ break;
835+ case sizeof(regs):
836+ /* We are in 32-bit mode */
837+ memcpy(&regs, buf, sizeof(regs));
838+ scno = regs.uregs[7];
839+ update_personality(tcp, 0);
840+ break;
841+ default:
842+ return -1;
843+ }
844 #elif defined(ARM)
845 /* Read complete register set in one go. */
846 if (ptrace(PTRACE_GETREGS, tcp->pid, NULL, (void *)&regs) == -1)
847@@ -975,13 +1005,6 @@ get_scno(struct tcb *tcp)
848 fprintf(stderr, "pid %d stray syscall entry\n", tcp->pid);
849 tcp->flags |= TCB_INSYSCALL;
850 }
851-#elif defined(AARCH64)
852- struct iovec io;
853- io.iov_base = &regs;
854- io.iov_len = sizeof(regs);
855- if (ptrace(PTRACE_GETREGSET, tcp->pid, NT_PRSTATUS, (void *)&io) == -1)
856- return -1;
857- scno = regs.regs[8];
858 #elif defined(M68K)
859 if (upeek(tcp, 4*PT_ORIG_D0, &scno) < 0)
860 return -1;
861@@ -1415,12 +1438,15 @@ get_syscall_args(struct tcb *tcp)
862 for (i = 0; i < nargs; ++i)
863 if (upeek(tcp, PT_GR26-4*i, &tcp->u_arg[i]) < 0)
864 return -1;
865-#elif defined(ARM)
866+#elif defined(ARM) || defined(AARCH64)
867+# if defined(AARCH64)
868+ if (tcp->currpers == 1)
869+ for (i = 0; i < nargs; ++i)
870+ tcp->u_arg[i] = aarch64_regs.regs[i];
871+ else
872+# endif /* AARCH64 */
873 for (i = 0; i < nargs; ++i)
874 tcp->u_arg[i] = regs.uregs[i];
875-#elif defined(AARCH64)
876- for (i = 0; i < nargs; ++i)
877- tcp->u_arg[i] = regs.regs[i];
878 #elif defined(AVR32)
879 (void)i;
880 (void)nargs;
881@@ -1655,16 +1681,31 @@ get_syscall_result(struct tcb *tcp)
882 return -1;
883 if (upeek(tcp, PT_R10, &r10) < 0)
884 return -1;
885-#elif defined(ARM)
886- /* Read complete register set in one go. */
887- if (ptrace(PTRACE_GETREGS, tcp->pid, NULL, (void *)&regs) == -1)
888- return -1;
889 #elif defined(AARCH64)
890 struct iovec io;
891- io.iov_base = &regs;
892- io.iov_len = sizeof(regs);
893+ char buf[sizeof(aarch64_regs)];
894+ io.iov_base = &buf;
895+ io.iov_len = sizeof(aarch64_regs);
896 if (ptrace(PTRACE_GETREGSET, tcp->pid, NT_PRSTATUS, (void *)&io) == -1)
897 return -1;
898+ switch (io.iov_len) {
899+ case sizeof(aarch64_regs):
900+ /* We are in 64-bit mode */
901+ memcpy(&aarch64_regs, buf, sizeof(aarch64_regs));
902+ update_personality(tcp, 1);
903+ break;
904+ case sizeof(regs):
905+ /* We are in 32-bit mode */
906+ memcpy(&regs, buf, sizeof(regs));
907+ update_personality(tcp, 0);
908+ break;
909+ default:
910+ return -1;
911+ }
912+#elif defined(ARM)
913+ /* Read complete ARM register set in one go. */
914+ if (ptrace(PTRACE_GETREGS, tcp->pid, NULL, (void *)&regs) == -1)
915+ return -1;
916 #elif defined(M68K)
917 if (upeek(tcp, 4*PT_D0, &d0) < 0)
918 return -1;
919@@ -1839,21 +1880,27 @@ get_error(struct tcb *tcp)
920 else {
921 tcp->u_rval = d0;
922 }
923-#elif defined(ARM)
924- if (check_errno && is_negated_errno(regs.ARM_r0)) {
925- tcp->u_rval = -1;
926- u_error = -regs.ARM_r0;
927- }
928- else {
929- tcp->u_rval = regs.ARM_r0;
930- }
931-#elif defined(AARCH64)
932- if (check_errno && is_negated_errno(regs.regs[0])) {
933- tcp->u_rval = -1;
934- u_error = -regs.regs[0];
935+#elif defined(ARM) || defined(AARCH64)
936+# if defined(AARCH64)
937+ if (tcp->currpers == 1) {
938+ if (check_errno && is_negated_errno(aarch64_regs.regs[0])) {
939+ tcp->u_rval = -1;
940+ u_error = -aarch64_regs.regs[0];
941+ }
942+ else {
943+ tcp->u_rval = aarch64_regs.regs[0];
944+ }
945 }
946- else {
947- tcp->u_rval = regs.regs[0];
948+ else
949+# endif /* AARCH64 */
950+ {
951+ if (check_errno && is_negated_errno(regs.ARM_r0)) {
952+ tcp->u_rval = -1;
953+ u_error = -regs.ARM_r0;
954+ }
955+ else {
956+ tcp->u_rval = regs.ARM_r0;
957+ }
958 }
959 #elif defined(AVR32)
960 if (check_errno && regs.r12 && (unsigned) -regs.r12 < nerrnos) {
961--
9621.8.0
963
diff --git a/meta/recipes-devtools/strace/strace-4.7/0032-Fix-kernel-release-string-parsing.patch b/meta/recipes-devtools/strace/strace-4.7/0032-Fix-kernel-release-string-parsing.patch
deleted file mode 100644
index cef42223d2..0000000000
--- a/meta/recipes-devtools/strace/strace-4.7/0032-Fix-kernel-release-string-parsing.patch
+++ /dev/null
@@ -1,38 +0,0 @@
1Upstream-Status: Backport
2
3From 0dbc80de895c25769791b7726022a274695eec31 Mon Sep 17 00:00:00 2001
4From: "Dmitry V. Levin" <ldv@altlinux.org>
5Date: Mon, 14 May 2012 23:42:10 +0000
6Subject: [PATCH] Fix kernel release string parsing
7
8* strace.c (get_os_release): Handle "X.Y-something" utsname.release
9strings properly.
10
11Reported-by: Bryce Gibson <bryce@gibson-consulting.com.au>
12---
13 strace.c | 8 +++++++-
14 1 file changed, 7 insertions(+), 1 deletion(-)
15
16diff --git a/strace.c b/strace.c
17index 857136d..65dee7d 100644
18--- a/strace.c
19+++ b/strace.c
20@@ -1432,8 +1432,14 @@ get_os_release(void)
21 break;
22 while (*p >= '0' && *p <= '9')
23 p++;
24- if (*p != '.')
25+ if (*p != '.') {
26+ if (rel >= KERNEL_VERSION(0,1,0)) {
27+ /* "X.Y-something" means "X.Y.0" */
28+ rel <<= 8;
29+ break;
30+ }
31 error_msg_and_die("Bad OS release string: '%s'", u.release);
32+ }
33 p++;
34 }
35 return rel;
36--
371.7.10.4
38