summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/strace/strace-4.7/0024-x32-add-64bit-annotation-too.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/strace/strace-4.7/0024-x32-add-64bit-annotation-too.patch')
-rw-r--r--meta/recipes-devtools/strace/strace-4.7/0024-x32-add-64bit-annotation-too.patch231
1 files changed, 231 insertions, 0 deletions
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
new file mode 100644
index 0000000000..c0406a5bdc
--- /dev/null
+++ b/meta/recipes-devtools/strace/strace-4.7/0024-x32-add-64bit-annotation-too.patch
@@ -0,0 +1,231 @@
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