blob: dfd4237d14e11cbb28bf8c04572ca215c9245165 [file] [log] [blame]
Mika Westerberg74d753a2009-04-07 16:57:29 +03001/*
2 * Note that if you change format strings in these, check also
3 * that corresponding print functions are able to handle string
4 * locking correctly (see strace.c).
5 */
ths33189d32007-11-01 00:13:36 +00006#ifdef TARGET_NR_accept
Mika Westerberg74d753a2009-04-07 16:57:29 +03007{ TARGET_NR_accept, "accept" , NULL, print_accept, NULL },
ths33189d32007-11-01 00:13:36 +00008#endif
Aleksandar Markovicfea55612016-09-19 13:44:44 +02009#ifdef TARGET_NR_accept4
10{ TARGET_NR_accept4, "accept4" , NULL, NULL, NULL },
11#endif
ths33189d32007-11-01 00:13:36 +000012#ifdef TARGET_NR_access
Mika Westerberg74d753a2009-04-07 16:57:29 +030013{ TARGET_NR_access, "access" , NULL, print_access, NULL },
ths33189d32007-11-01 00:13:36 +000014#endif
15#ifdef TARGET_NR_acct
Filip Bozutac42569f2020-06-19 14:33:27 +020016{ TARGET_NR_acct, "acct" , NULL, print_acct, NULL },
ths33189d32007-11-01 00:13:36 +000017#endif
18#ifdef TARGET_NR_add_key
19{ TARGET_NR_add_key, "add_key" , NULL, NULL, NULL },
20#endif
21#ifdef TARGET_NR_adjtimex
Aleksandar Markovic19f59bc2016-09-22 18:56:50 +020022{ TARGET_NR_adjtimex, "adjtimex" , "%s(%p)", NULL,
23 print_syscall_ret_adjtimex },
ths33189d32007-11-01 00:13:36 +000024#endif
25#ifdef TARGET_NR_afs_syscall
26{ TARGET_NR_afs_syscall, "afs_syscall" , NULL, NULL, NULL },
27#endif
28#ifdef TARGET_NR_alarm
Helge Deller9cbc0572019-11-21 20:33:51 +010029{ TARGET_NR_alarm, "alarm" , "%s(%u)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +000030#endif
31#ifdef TARGET_NR_aplib
32{ TARGET_NR_aplib, "aplib" , NULL, NULL, NULL },
33#endif
34#ifdef TARGET_NR_arch_prctl
35{ TARGET_NR_arch_prctl, "arch_prctl" , NULL, NULL, NULL },
36#endif
37#ifdef TARGET_NR_arm_fadvise64_64
38{ TARGET_NR_arm_fadvise64_64, "arm_fadvise64_64" , NULL, NULL, NULL },
39#endif
40#ifdef TARGET_NR_bdflush
41{ TARGET_NR_bdflush, "bdflush" , NULL, NULL, NULL },
42#endif
43#ifdef TARGET_NR_bind
Philippe Mathieu-Daudébb105402019-10-21 13:48:55 +020044{ TARGET_NR_bind, "bind" , NULL, print_bind, NULL },
ths33189d32007-11-01 00:13:36 +000045#endif
Aleksandar Markovicfea55612016-09-19 13:44:44 +020046#ifdef TARGET_NR_bpf
47{ TARGET_NR_bpf, "bpf" , NULL, NULL, NULL },
48#endif
ths33189d32007-11-01 00:13:36 +000049#ifdef TARGET_NR_break
50{ TARGET_NR_break, "break" , NULL, NULL, NULL },
51#endif
52#ifdef TARGET_NR_brk
Mika Westerberg74d753a2009-04-07 16:57:29 +030053{ TARGET_NR_brk, "brk" , NULL, print_brk, print_syscall_ret_addr },
ths33189d32007-11-01 00:13:36 +000054#endif
55#ifdef TARGET_NR_cachectl
56{ TARGET_NR_cachectl, "cachectl" , NULL, NULL, NULL },
57#endif
58#ifdef TARGET_NR_cacheflush
59{ TARGET_NR_cacheflush, "cacheflush" , NULL, NULL, NULL },
60#endif
61#ifdef TARGET_NR_capget
Philippe Mathieu-Daudéecfec982018-06-28 00:46:42 -030062{ TARGET_NR_capget, "capget" , "%s(%p,%p)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +000063#endif
64#ifdef TARGET_NR_capset
Philippe Mathieu-Daudéecfec982018-06-28 00:46:42 -030065{ TARGET_NR_capset, "capset" , "%s(%p,%p)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +000066#endif
67#ifdef TARGET_NR_chdir
Mika Westerberg74d753a2009-04-07 16:57:29 +030068{ TARGET_NR_chdir, "chdir" , NULL, print_chdir, NULL },
ths33189d32007-11-01 00:13:36 +000069#endif
70#ifdef TARGET_NR_chmod
Mika Westerberg74d753a2009-04-07 16:57:29 +030071{ TARGET_NR_chmod, "chmod" , NULL, print_chmod, NULL },
ths33189d32007-11-01 00:13:36 +000072#endif
73#ifdef TARGET_NR_chown
Filip Bozuta5844f4b2020-06-19 14:33:30 +020074{ TARGET_NR_chown, "chown" , NULL, print_chown, NULL },
ths33189d32007-11-01 00:13:36 +000075#endif
76#ifdef TARGET_NR_chown32
77{ TARGET_NR_chown32, "chown32" , NULL, NULL, NULL },
78#endif
79#ifdef TARGET_NR_chroot
Helge Deller1b7695f2019-02-27 20:11:15 +010080{ TARGET_NR_chroot, "chroot" , NULL, print_chroot, NULL },
ths33189d32007-11-01 00:13:36 +000081#endif
Aleksandar Markovic38860a02016-10-10 13:23:29 +020082#ifdef TARGET_NR_clock_adjtime
83{ TARGET_NR_clock_adjtime, "clock_adjtime" , NULL, print_clock_adjtime, NULL },
84#endif
ths33189d32007-11-01 00:13:36 +000085#ifdef TARGET_NR_clock_getres
Filip Bozuta1a674ad2020-08-11 18:45:53 +020086{ TARGET_NR_clock_getres, "clock_getres" , NULL, print_clock_getres,
87 print_syscall_ret_clock_getres },
ths33189d32007-11-01 00:13:36 +000088#endif
Helge Dellerdfd8c5e2023-01-15 12:35:17 +010089#ifdef TARGET_NR_clock_getres_time64
90{ TARGET_NR_clock_getres_time64, "clock_getres_time64" , NULL, NULL, NULL },
91#endif
ths33189d32007-11-01 00:13:36 +000092#ifdef TARGET_NR_clock_gettime
Filip Bozuta1a674ad2020-08-11 18:45:53 +020093{ TARGET_NR_clock_gettime, "clock_gettime" , NULL, print_clock_gettime,
94 print_syscall_ret_clock_gettime },
ths33189d32007-11-01 00:13:36 +000095#endif
96#ifdef TARGET_NR_clock_nanosleep
Helge Deller05f3adc2022-09-18 21:45:52 +020097{ TARGET_NR_clock_nanosleep, "clock_nanosleep" , NULL, print_clock_nanosleep,
98 NULL },
ths33189d32007-11-01 00:13:36 +000099#endif
100#ifdef TARGET_NR_clock_settime
Filip Bozuta1a674ad2020-08-11 18:45:53 +0200101{ TARGET_NR_clock_settime, "clock_settime" , NULL, print_clock_settime, NULL },
ths33189d32007-11-01 00:13:36 +0000102#endif
103#ifdef TARGET_NR_clone
Laurent Vivier608e5592011-04-07 00:25:32 +0200104{ TARGET_NR_clone, "clone" , NULL, print_clone, NULL },
ths33189d32007-11-01 00:13:36 +0000105#endif
106#ifdef TARGET_NR_close
107{ TARGET_NR_close, "close" , "%s(%d)", NULL, NULL },
108#endif
Helge Delleraf804f32022-10-25 04:34:14 +0200109#ifdef TARGET_NR_close_range
110{ TARGET_NR_close_range, "close_range" , "%s(%u,%u,%u)", NULL, NULL },
111#endif
ths33189d32007-11-01 00:13:36 +0000112#ifdef TARGET_NR_connect
113{ TARGET_NR_connect, "connect" , "%s(%d,%#x,%d)", NULL, NULL },
114#endif
115#ifdef TARGET_NR_creat
Mika Westerberg74d753a2009-04-07 16:57:29 +0300116{ TARGET_NR_creat, "creat" , NULL, print_creat, NULL },
ths33189d32007-11-01 00:13:36 +0000117#endif
118#ifdef TARGET_NR_create_module
119{ TARGET_NR_create_module, "create_module" , NULL, NULL, NULL },
120#endif
121#ifdef TARGET_NR_delete_module
122{ TARGET_NR_delete_module, "delete_module" , NULL, NULL, NULL },
123#endif
124#ifdef TARGET_NR_dipc
125{ TARGET_NR_dipc, "dipc" , NULL, NULL, NULL },
126#endif
127#ifdef TARGET_NR_dup
Helge Deller9cbc0572019-11-21 20:33:51 +0100128{ TARGET_NR_dup, "dup" , "%s(%d)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +0000129#endif
130#ifdef TARGET_NR_dup2
Helge Deller9cbc0572019-11-21 20:33:51 +0100131{ TARGET_NR_dup2, "dup2" , "%s(%d,%d)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +0000132#endif
Andreas Schwab53bdbfd2019-09-30 11:01:10 +0200133#ifdef TARGET_NR_dup3
Helge Deller9cbc0572019-11-21 20:33:51 +0100134{ TARGET_NR_dup3, "dup3" , "%s(%d,%d,%d)", NULL, NULL },
Andreas Schwab53bdbfd2019-09-30 11:01:10 +0200135#endif
ths33189d32007-11-01 00:13:36 +0000136#ifdef TARGET_NR_epoll_create
Sergei Trofimovichfd568662020-04-16 18:59:57 +0100137{ TARGET_NR_epoll_create, "epoll_create", "%s(%d)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +0000138#endif
Paul Burton0fa82d32014-06-22 11:25:38 +0100139#ifdef TARGET_NR_epoll_create1
Sergei Trofimovichfd568662020-04-16 18:59:57 +0100140{ TARGET_NR_epoll_create1, "epoll_create1", "%s(%d)", NULL, NULL },
Paul Burton0fa82d32014-06-22 11:25:38 +0100141#endif
ths33189d32007-11-01 00:13:36 +0000142#ifdef TARGET_NR_epoll_ctl
143{ TARGET_NR_epoll_ctl, "epoll_ctl" , NULL, NULL, NULL },
144#endif
145#ifdef TARGET_NR_epoll_ctl_old
146{ TARGET_NR_epoll_ctl_old, "epoll_ctl_old" , NULL, NULL, NULL },
147#endif
Aleksandar Markovicfea55612016-09-19 13:44:44 +0200148#ifdef TARGET_NR_epoll_pwait
149{ TARGET_NR_epoll_pwait, "epoll_pwait" , NULL, NULL, NULL },
150#endif
ths33189d32007-11-01 00:13:36 +0000151#ifdef TARGET_NR_epoll_wait
152{ TARGET_NR_epoll_wait, "epoll_wait" , NULL, NULL, NULL },
153#endif
154#ifdef TARGET_NR_epoll_wait_old
155{ TARGET_NR_epoll_wait_old, "epoll_wait_old" , NULL, NULL, NULL },
156#endif
Aleksandar Markovicfea55612016-09-19 13:44:44 +0200157#ifdef TARGET_NR_eventfd
Helge Deller9cbc0572019-11-21 20:33:51 +0100158{ TARGET_NR_eventfd, "eventfd", "%s(%d)", NULL, NULL },
Aleksandar Markovicfea55612016-09-19 13:44:44 +0200159#endif
160#ifdef TARGET_NR_eventfd2
Helge Deller9cbc0572019-11-21 20:33:51 +0100161{ TARGET_NR_eventfd2, "eventfd2" , "%s(%d,%d)", NULL, NULL },
Aleksandar Markovicfea55612016-09-19 13:44:44 +0200162#endif
ths33189d32007-11-01 00:13:36 +0000163#ifdef TARGET_NR_execv
Mika Westerberg74d753a2009-04-07 16:57:29 +0300164{ TARGET_NR_execv, "execv" , NULL, print_execv, NULL },
ths33189d32007-11-01 00:13:36 +0000165#endif
166#ifdef TARGET_NR_execve
167{ TARGET_NR_execve, "execve" , NULL, print_execve, NULL },
168#endif
Aleksandar Markovicfea55612016-09-19 13:44:44 +0200169#ifdef TARGET_NR_execveat
Drew DeVault5667a1a2022-11-04 18:36:30 +0100170{ TARGET_NR_execveat, "execveat" , NULL, print_execveat, NULL },
Aleksandar Markovicfea55612016-09-19 13:44:44 +0200171#endif
ths33189d32007-11-01 00:13:36 +0000172#ifdef TARGET_NR_exec_with_loader
173{ TARGET_NR_exec_with_loader, "exec_with_loader" , NULL, NULL, NULL },
174#endif
175#ifdef TARGET_NR_exit
176{ TARGET_NR_exit, "exit" , "%s(%d)\n", NULL, NULL },
177#endif
178#ifdef TARGET_NR__exit
179{ TARGET_NR__exit, "_exit" , "%s(%d)\n", NULL, NULL },
180#endif
181#ifdef TARGET_NR_exit_group
182{ TARGET_NR_exit_group, "exit_group" , "%s(%d)\n", NULL, NULL },
183#endif
184#ifdef TARGET_NR_faccessat
Mika Westerberg74d753a2009-04-07 16:57:29 +0300185{ TARGET_NR_faccessat, "faccessat" , NULL, print_faccessat, NULL },
ths33189d32007-11-01 00:13:36 +0000186#endif
WANG Xuerui35a2c852022-10-09 14:08:13 +0800187#ifdef TARGET_NR_faccessat2
188{ TARGET_NR_faccessat2, "faccessat2" , NULL, print_faccessat, NULL },
189#endif
ths33189d32007-11-01 00:13:36 +0000190#ifdef TARGET_NR_fadvise64
191{ TARGET_NR_fadvise64, "fadvise64" , NULL, NULL, NULL },
192#endif
193#ifdef TARGET_NR_fadvise64_64
194{ TARGET_NR_fadvise64_64, "fadvise64_64" , NULL, NULL, NULL },
195#endif
Aleksandar Markovicfea55612016-09-19 13:44:44 +0200196#ifdef TARGET_NR_fallocate
Filip Bozutaf4d92c52020-06-19 14:33:31 +0200197{ TARGET_NR_fallocate, "fallocate" , NULL, print_fallocate, NULL },
Aleksandar Markovicfea55612016-09-19 13:44:44 +0200198#endif
199#ifdef TARGET_NR_fanotify_init
200{ TARGET_NR_fanotify_init, "fanotify_init" , NULL, NULL, NULL },
201#endif
202#ifdef TARGET_NR_fanotify_mark
203{ TARGET_NR_fanotify_mark, "fanotify_mark" , NULL, NULL, NULL },
204#endif
ths33189d32007-11-01 00:13:36 +0000205#ifdef TARGET_NR_fchdir
Helge Deller9cbc0572019-11-21 20:33:51 +0100206{ TARGET_NR_fchdir, "fchdir" , "%s(%d)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +0000207#endif
208#ifdef TARGET_NR_fchmod
209{ TARGET_NR_fchmod, "fchmod" , "%s(%d,%#o)", NULL, NULL },
210#endif
211#ifdef TARGET_NR_fchmodat
Mika Westerberg74d753a2009-04-07 16:57:29 +0300212{ TARGET_NR_fchmodat, "fchmodat" , NULL, print_fchmodat, NULL },
ths33189d32007-11-01 00:13:36 +0000213#endif
214#ifdef TARGET_NR_fchown
Mika Westerberg74d753a2009-04-07 16:57:29 +0300215{ TARGET_NR_fchown, "fchown" , "%s(%d,%d,%d)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +0000216#endif
217#ifdef TARGET_NR_fchown32
218{ TARGET_NR_fchown32, "fchown32" , NULL, NULL, NULL },
219#endif
220#ifdef TARGET_NR_fchownat
Mika Westerberg74d753a2009-04-07 16:57:29 +0300221{ TARGET_NR_fchownat, "fchownat" , NULL, print_fchownat, NULL },
ths33189d32007-11-01 00:13:36 +0000222#endif
223#ifdef TARGET_NR_fcntl
Mika Westerberg74d753a2009-04-07 16:57:29 +0300224{ TARGET_NR_fcntl, "fcntl" , NULL, print_fcntl, NULL },
ths33189d32007-11-01 00:13:36 +0000225#endif
226#ifdef TARGET_NR_fcntl64
Mika Westerberg74d753a2009-04-07 16:57:29 +0300227{ TARGET_NR_fcntl64, "fcntl64" , NULL, print_fcntl64, NULL },
ths33189d32007-11-01 00:13:36 +0000228#endif
229#ifdef TARGET_NR_fdatasync
Filip Bozutac42569f2020-06-19 14:33:27 +0200230{ TARGET_NR_fdatasync, "fdatasync" , "%s(%d)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +0000231#endif
232#ifdef TARGET_NR_fgetxattr
Filip Bozuta4fc3cdd2020-06-19 14:33:28 +0200233{ TARGET_NR_fgetxattr, "fgetxattr" , NULL, print_fgetxattr, NULL },
ths33189d32007-11-01 00:13:36 +0000234#endif
Aleksandar Markovicfea55612016-09-19 13:44:44 +0200235#ifdef TARGET_NR_finit_module
236{ TARGET_NR_finit_module, "finit_module" , NULL, NULL, NULL },
237#endif
ths33189d32007-11-01 00:13:36 +0000238#ifdef TARGET_NR_flistxattr
Filip Bozuta4fc3cdd2020-06-19 14:33:28 +0200239{ TARGET_NR_flistxattr, "flistxattr" , NULL, print_flistxattr,
240 print_syscall_ret_flistxattr},
ths33189d32007-11-01 00:13:36 +0000241#endif
242#ifdef TARGET_NR_flock
243{ TARGET_NR_flock, "flock" , NULL, NULL, NULL },
244#endif
245#ifdef TARGET_NR_fork
246{ TARGET_NR_fork, "fork" , "%s()", NULL, NULL },
247#endif
248#ifdef TARGET_NR_fremovexattr
Filip Bozuta4fc3cdd2020-06-19 14:33:28 +0200249{ TARGET_NR_fremovexattr, "fremovexattr" , NULL, print_fremovexattr, NULL },
ths33189d32007-11-01 00:13:36 +0000250#endif
251#ifdef TARGET_NR_fsetxattr
252{ TARGET_NR_fsetxattr, "fsetxattr" , NULL, NULL, NULL },
253#endif
254#ifdef TARGET_NR_fstat
Mika Westerberg74d753a2009-04-07 16:57:29 +0300255{ TARGET_NR_fstat, "fstat" , NULL, print_fstat, NULL },
ths33189d32007-11-01 00:13:36 +0000256#endif
257#ifdef TARGET_NR_fstat64
Mika Westerberg74d753a2009-04-07 16:57:29 +0300258{ TARGET_NR_fstat64, "fstat64" , NULL, print_fstat64, NULL },
ths33189d32007-11-01 00:13:36 +0000259#endif
260#ifdef TARGET_NR_fstatfs
261{ TARGET_NR_fstatfs, "fstatfs" , "%s(%d,%p)", NULL, NULL },
262#endif
263#ifdef TARGET_NR_fstatfs64
264{ TARGET_NR_fstatfs64, "fstatfs64" , "%s(%d,%p)", NULL, NULL },
265#endif
266#ifdef TARGET_NR_fsync
Filip Bozutac42569f2020-06-19 14:33:27 +0200267{ TARGET_NR_fsync, "fsync" , "%s(%d)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +0000268#endif
269#ifdef TARGET_NR_ftime
270{ TARGET_NR_ftime, "ftime" , NULL, NULL, NULL },
271#endif
272#ifdef TARGET_NR_ftruncate
Filip Bozuta7c89f342020-08-11 18:45:50 +0200273{ TARGET_NR_ftruncate, "ftruncate" , "%s(%d," TARGET_ABI_FMT_ld ")", NULL, NULL },
ths33189d32007-11-01 00:13:36 +0000274#endif
275#ifdef TARGET_NR_ftruncate64
Filip Bozuta7c89f342020-08-11 18:45:50 +0200276{ TARGET_NR_ftruncate64, "ftruncate64" , NULL, print_ftruncate64, NULL },
ths33189d32007-11-01 00:13:36 +0000277#endif
278#ifdef TARGET_NR_futex
Mika Westerberg74d753a2009-04-07 16:57:29 +0300279{ TARGET_NR_futex, "futex" , NULL, print_futex, NULL },
ths33189d32007-11-01 00:13:36 +0000280#endif
Helge Dellerdfd8c5e2023-01-15 12:35:17 +0100281#ifdef TARGET_NR_futex_time64
282{ TARGET_NR_futex_time64, "futex_time64" , NULL, NULL, NULL },
283#endif
ths33189d32007-11-01 00:13:36 +0000284#ifdef TARGET_NR_futimesat
Mika Westerberg74d753a2009-04-07 16:57:29 +0300285{ TARGET_NR_futimesat, "futimesat" , NULL, print_futimesat, NULL },
ths33189d32007-11-01 00:13:36 +0000286#endif
Aleksandar Markovicfea55612016-09-19 13:44:44 +0200287#ifdef TARGET_NR_getcpu
288{ TARGET_NR_getcpu, "getcpu" , "%s(%p,%d)", NULL, NULL },
289#endif
ths33189d32007-11-01 00:13:36 +0000290#ifdef TARGET_NR_getcwd
291{ TARGET_NR_getcwd, "getcwd" , "%s(%p,%d)", NULL, NULL },
292#endif
293#ifdef TARGET_NR_getdents
Helge Deller785783ba2022-09-24 13:44:56 +0200294{ TARGET_NR_getdents, "getdents" , "%s(%d,%p,%u)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +0000295#endif
296#ifdef TARGET_NR_getdents64
Helge Deller785783ba2022-09-24 13:44:56 +0200297{ TARGET_NR_getdents64, "getdents64" , "%s(%d,%p,%u)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +0000298#endif
299#ifdef TARGET_NR_getdomainname
300{ TARGET_NR_getdomainname, "getdomainname" , NULL, NULL, NULL },
301#endif
302#ifdef TARGET_NR_getdtablesize
303{ TARGET_NR_getdtablesize, "getdtablesize" , NULL, NULL, NULL },
304#endif
305#ifdef TARGET_NR_getegid
Helge Deller9cbc0572019-11-21 20:33:51 +0100306{ TARGET_NR_getegid, "getegid" , "%s()", NULL, NULL },
ths33189d32007-11-01 00:13:36 +0000307#endif
308#ifdef TARGET_NR_getegid32
309{ TARGET_NR_getegid32, "getegid32" , NULL, NULL, NULL },
310#endif
311#ifdef TARGET_NR_geteuid
Miloš Stojanović65424cc2017-05-15 16:59:41 +0200312{ TARGET_NR_geteuid, "geteuid" , "%s()", NULL, NULL },
ths33189d32007-11-01 00:13:36 +0000313#endif
314#ifdef TARGET_NR_geteuid32
315{ TARGET_NR_geteuid32, "geteuid32" , NULL, NULL, NULL },
316#endif
317#ifdef TARGET_NR_getgid
Helge Deller9cbc0572019-11-21 20:33:51 +0100318{ TARGET_NR_getgid, "getgid" , "%s()", NULL, NULL },
ths33189d32007-11-01 00:13:36 +0000319#endif
320#ifdef TARGET_NR_getgid32
321{ TARGET_NR_getgid32, "getgid32" , NULL, NULL, NULL },
322#endif
323#ifdef TARGET_NR_getgroups
Helge Deller6a848b52023-01-15 22:00:57 +0100324{ TARGET_NR_getgroups, "getgroups" , "%s(%d,%p)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +0000325#endif
326#ifdef TARGET_NR_getgroups32
Helge Deller6a848b52023-01-15 22:00:57 +0100327{ TARGET_NR_getgroups32, "getgroups32" , "%s(%d,%p)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +0000328#endif
329#ifdef TARGET_NR_gethostname
330{ TARGET_NR_gethostname, "gethostname" , NULL, NULL, NULL },
331#endif
332#ifdef TARGET_NR_getitimer
Filip Bozuta1a674ad2020-08-11 18:45:53 +0200333{ TARGET_NR_getitimer, "getitimer" , NULL, print_getitimer,
334 print_syscall_ret_getitimer },
ths33189d32007-11-01 00:13:36 +0000335#endif
336#ifdef TARGET_NR_get_kernel_syms
337{ TARGET_NR_get_kernel_syms, "get_kernel_syms" , NULL, NULL, NULL },
338#endif
339#ifdef TARGET_NR_get_mempolicy
340{ TARGET_NR_get_mempolicy, "get_mempolicy" , NULL, NULL, NULL },
341#endif
342#ifdef TARGET_NR_getpagesize
343{ TARGET_NR_getpagesize, "getpagesize" , NULL, NULL, NULL },
344#endif
345#ifdef TARGET_NR_getpeername
Helge Deller93cf7e62022-12-12 19:01:32 +0100346{ TARGET_NR_getpeername, "getpeername" , "%s(%d,%p,%p)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +0000347#endif
348#ifdef TARGET_NR_getpgid
Helge Deller9cbc0572019-11-21 20:33:51 +0100349{ TARGET_NR_getpgid, "getpgid" , "%s(%u)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +0000350#endif
351#ifdef TARGET_NR_getpgrp
Helge Deller9cbc0572019-11-21 20:33:51 +0100352{ TARGET_NR_getpgrp, "getpgrp" , "%s()", NULL, NULL },
ths33189d32007-11-01 00:13:36 +0000353#endif
354#ifdef TARGET_NR_getpid
Laurent Vivier608e5592011-04-07 00:25:32 +0200355{ TARGET_NR_getpid, "getpid" , "%s()", NULL, NULL },
ths33189d32007-11-01 00:13:36 +0000356#endif
357#ifdef TARGET_NR_getpmsg
358{ TARGET_NR_getpmsg, "getpmsg" , NULL, NULL, NULL },
359#endif
360#ifdef TARGET_NR_getppid
Miloš Stojanović65424cc2017-05-15 16:59:41 +0200361{ TARGET_NR_getppid, "getppid" , "%s()", NULL, NULL },
ths33189d32007-11-01 00:13:36 +0000362#endif
363#ifdef TARGET_NR_getpriority
364{ TARGET_NR_getpriority, "getpriority", "%s(%#x,%#x)", NULL, NULL },
365#endif
Aleksandar Markovicfea55612016-09-19 13:44:44 +0200366#ifdef TARGET_NR_getrandom
Helge Deller4a877b82022-09-27 11:35:38 +0200367{ TARGET_NR_getrandom, "getrandom", "%s(%p,%u,%u)", NULL, NULL },
Aleksandar Markovicfea55612016-09-19 13:44:44 +0200368#endif
ths33189d32007-11-01 00:13:36 +0000369#ifdef TARGET_NR_getresgid
Helge Deller93cf7e62022-12-12 19:01:32 +0100370{ TARGET_NR_getresgid, "getresgid" , "%s(%p,%p,%p)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +0000371#endif
372#ifdef TARGET_NR_getresgid32
373{ TARGET_NR_getresgid32, "getresgid32" , NULL, NULL, NULL },
374#endif
375#ifdef TARGET_NR_getresuid
Helge Deller93cf7e62022-12-12 19:01:32 +0100376{ TARGET_NR_getresuid, "getresuid" , "%s(%p,%p,%p)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +0000377#endif
378#ifdef TARGET_NR_getresuid32
379{ TARGET_NR_getresuid32, "getresuid32" , NULL, NULL, NULL },
380#endif
381#ifdef TARGET_NR_getrlimit
Helge Deller93cf7e62022-12-12 19:01:32 +0100382{ TARGET_NR_getrlimit, "getrlimit" , "%s(%d,%p)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +0000383#endif
384#ifdef TARGET_NR_get_robust_list
385{ TARGET_NR_get_robust_list, "get_robust_list" , NULL, NULL, NULL },
386#endif
387#ifdef TARGET_NR_getrusage
388{ TARGET_NR_getrusage, "getrusage" , NULL, NULL, NULL },
389#endif
390#ifdef TARGET_NR_getsid
Filip Bozuta7c89f342020-08-11 18:45:50 +0200391{ TARGET_NR_getsid, "getsid" , "%s(%d)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +0000392#endif
393#ifdef TARGET_NR_getsockname
Helge Deller93cf7e62022-12-12 19:01:32 +0100394{ TARGET_NR_getsockname, "getsockname" , "%s(%d,%p,%p)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +0000395#endif
396#ifdef TARGET_NR_getsockopt
Helge Deller93cf7e62022-12-12 19:01:32 +0100397{ TARGET_NR_getsockopt, "getsockopt" , "%s(%d,%d,%d,%p,%p)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +0000398#endif
399#ifdef TARGET_NR_get_thread_area
Richard Hendersondc3e83d2022-06-01 18:34:00 -0700400#if defined(TARGET_I386) && defined(TARGET_ABI32)
Laurent Vivier9a6309e2016-06-11 02:19:48 +0200401{ TARGET_NR_get_thread_area, "get_thread_area", "%s(0x"TARGET_ABI_FMT_lx")",
402 NULL, NULL },
Richard Hendersondc3e83d2022-06-01 18:34:00 -0700403#elif defined(TARGET_M68K)
404{ TARGET_NR_get_thread_area, "get_thread_area" , "%s()",
405 NULL, print_syscall_ret_addr },
406#endif
ths33189d32007-11-01 00:13:36 +0000407#endif
408#ifdef TARGET_NR_gettid
Miloš Stojanović65424cc2017-05-15 16:59:41 +0200409{ TARGET_NR_gettid, "gettid" , "%s()", NULL, NULL },
ths33189d32007-11-01 00:13:36 +0000410#endif
411#ifdef TARGET_NR_gettimeofday
Filip Bozuta1a674ad2020-08-11 18:45:53 +0200412{ TARGET_NR_gettimeofday, "gettimeofday" , NULL, print_gettimeofday,
413 print_syscall_ret_gettimeofday },
ths33189d32007-11-01 00:13:36 +0000414#endif
415#ifdef TARGET_NR_getuid
Miloš Stojanović65424cc2017-05-15 16:59:41 +0200416{ TARGET_NR_getuid, "getuid" , "%s()", NULL, NULL },
ths33189d32007-11-01 00:13:36 +0000417#endif
418#ifdef TARGET_NR_getuid32
419{ TARGET_NR_getuid32, "getuid32" , NULL, NULL, NULL },
420#endif
421#ifdef TARGET_NR_getxattr
Filip Bozuta4fc3cdd2020-06-19 14:33:28 +0200422{ TARGET_NR_getxattr, "getxattr" , NULL, print_getxattr, NULL },
ths33189d32007-11-01 00:13:36 +0000423#endif
424#ifdef TARGET_NR_getxgid
425{ TARGET_NR_getxgid, "getxgid" , NULL, NULL, NULL },
426#endif
427#ifdef TARGET_NR_getxpid
428{ TARGET_NR_getxpid, "getxpid" , NULL, NULL, NULL },
429#endif
430#ifdef TARGET_NR_getxuid
431{ TARGET_NR_getxuid, "getxuid" , NULL, NULL, NULL },
432#endif
433#ifdef TARGET_NR_gtty
434{ TARGET_NR_gtty, "gtty" , NULL, NULL, NULL },
435#endif
436#ifdef TARGET_NR_idle
437{ TARGET_NR_idle, "idle" , NULL, NULL, NULL },
438#endif
439#ifdef TARGET_NR_init_module
440{ TARGET_NR_init_module, "init_module" , NULL, NULL, NULL },
441#endif
442#ifdef TARGET_NR_inotify_add_watch
443{ TARGET_NR_inotify_add_watch, "inotify_add_watch" , NULL, NULL, NULL },
444#endif
445#ifdef TARGET_NR_inotify_init
446{ TARGET_NR_inotify_init, "inotify_init" , NULL, NULL, NULL },
447#endif
Aleksandar Markovicfea55612016-09-19 13:44:44 +0200448#ifdef TARGET_NR_inotify_init1
449{ TARGET_NR_inotify_init1, "inotify_init1" , NULL, NULL, NULL },
450#endif
ths33189d32007-11-01 00:13:36 +0000451#ifdef TARGET_NR_inotify_rm_watch
452{ TARGET_NR_inotify_rm_watch, "inotify_rm_watch" , NULL, NULL, NULL },
453#endif
454#ifdef TARGET_NR_io_cancel
455{ TARGET_NR_io_cancel, "io_cancel" , NULL, NULL, NULL },
456#endif
457#ifdef TARGET_NR_ioctl
Filip Bozuta79482e592020-06-19 14:47:27 +0200458{ TARGET_NR_ioctl, "ioctl" , NULL, print_ioctl,
459 print_syscall_ret_ioctl},
ths33189d32007-11-01 00:13:36 +0000460#endif
461#ifdef TARGET_NR_io_destroy
462{ TARGET_NR_io_destroy, "io_destroy" , NULL, NULL, NULL },
463#endif
464#ifdef TARGET_NR_io_getevents
465{ TARGET_NR_io_getevents, "io_getevents" , NULL, NULL, NULL },
466#endif
467#ifdef TARGET_NR_ioperm
468{ TARGET_NR_ioperm, "ioperm" , NULL, NULL, NULL },
469#endif
470#ifdef TARGET_NR_iopl
471{ TARGET_NR_iopl, "iopl" , NULL, NULL, NULL },
472#endif
473#ifdef TARGET_NR_ioprio_get
474{ TARGET_NR_ioprio_get, "ioprio_get" , NULL, NULL, NULL },
475#endif
476#ifdef TARGET_NR_ioprio_set
477{ TARGET_NR_ioprio_set, "ioprio_set" , NULL, NULL, NULL },
478#endif
479#ifdef TARGET_NR_io_setup
480{ TARGET_NR_io_setup, "io_setup" , NULL, NULL, NULL },
481#endif
482#ifdef TARGET_NR_io_submit
483{ TARGET_NR_io_submit, "io_submit" , NULL, NULL, NULL },
484#endif
485#ifdef TARGET_NR_ipc
486{ TARGET_NR_ipc, "ipc" , NULL, print_ipc, NULL },
487#endif
Aleksandar Markovicfea55612016-09-19 13:44:44 +0200488#ifdef TARGET_NR_kcmp
489{ TARGET_NR_kcmp, "kcmp" , NULL, NULL, NULL },
490#endif
ths33189d32007-11-01 00:13:36 +0000491#ifdef TARGET_NR_kexec_load
492{ TARGET_NR_kexec_load, "kexec_load" , NULL, NULL, NULL },
493#endif
494#ifdef TARGET_NR_keyctl
495{ TARGET_NR_keyctl, "keyctl" , NULL, NULL, NULL },
496#endif
497#ifdef TARGET_NR_kill
Laurent Vivier608e5592011-04-07 00:25:32 +0200498{ TARGET_NR_kill, "kill", NULL, print_kill, NULL },
ths33189d32007-11-01 00:13:36 +0000499#endif
500#ifdef TARGET_NR_lchown
Filip Bozuta5844f4b2020-06-19 14:33:30 +0200501{ TARGET_NR_lchown, "lchown" , NULL, print_lchown, NULL },
ths33189d32007-11-01 00:13:36 +0000502#endif
503#ifdef TARGET_NR_lchown32
504{ TARGET_NR_lchown32, "lchown32" , NULL, NULL, NULL },
505#endif
506#ifdef TARGET_NR_lgetxattr
Filip Bozuta4fc3cdd2020-06-19 14:33:28 +0200507{ TARGET_NR_lgetxattr, "lgetxattr" , NULL, print_lgetxattr, NULL },
ths33189d32007-11-01 00:13:36 +0000508#endif
509#ifdef TARGET_NR_link
Mika Westerberg74d753a2009-04-07 16:57:29 +0300510{ TARGET_NR_link, "link" , NULL, print_link, NULL },
ths33189d32007-11-01 00:13:36 +0000511#endif
512#ifdef TARGET_NR_linkat
Mika Westerberg74d753a2009-04-07 16:57:29 +0300513{ TARGET_NR_linkat, "linkat" , NULL, print_linkat, NULL },
ths33189d32007-11-01 00:13:36 +0000514#endif
515#ifdef TARGET_NR_Linux
516{ TARGET_NR_Linux, "Linux" , NULL, NULL, NULL },
517#endif
518#ifdef TARGET_NR_listen
Filip Bozutac42569f2020-06-19 14:33:27 +0200519{ TARGET_NR_listen, "listen" , "%s(%d,%d)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +0000520#endif
521#ifdef TARGET_NR_listxattr
Filip Bozuta4fc3cdd2020-06-19 14:33:28 +0200522{ TARGET_NR_listxattr, "listxattr" , NULL, print_listxattr,
523 print_syscall_ret_listxattr},
ths33189d32007-11-01 00:13:36 +0000524#endif
525#ifdef TARGET_NR_llistxattr
Filip Bozuta4fc3cdd2020-06-19 14:33:28 +0200526{ TARGET_NR_llistxattr, "llistxattr" , NULL, print_llistxattr,
527 print_syscall_ret_llistxattr},
ths33189d32007-11-01 00:13:36 +0000528#endif
529#ifdef TARGET_NR__llseek
Laurent Vivier608e5592011-04-07 00:25:32 +0200530{ TARGET_NR__llseek, "_llseek" , NULL, print__llseek, NULL },
ths33189d32007-11-01 00:13:36 +0000531#endif
Kito Cheng9f771ad2021-05-12 18:13:58 +0800532#ifdef TARGET_NR_llseek
533{ TARGET_NR_llseek, "llseek" , NULL, print_llseek, NULL },
534#endif
ths33189d32007-11-01 00:13:36 +0000535#ifdef TARGET_NR_lock
536{ TARGET_NR_lock, "lock" , NULL, NULL, NULL },
537#endif
538#ifdef TARGET_NR_lookup_dcookie
539{ TARGET_NR_lookup_dcookie, "lookup_dcookie" , NULL, NULL, NULL },
540#endif
541#ifdef TARGET_NR_lremovexattr
Filip Bozuta4fc3cdd2020-06-19 14:33:28 +0200542{ TARGET_NR_lremovexattr, "lremovexattr" , NULL, print_lremovexattr, NULL },
ths33189d32007-11-01 00:13:36 +0000543#endif
544#ifdef TARGET_NR_lseek
Filip Bozutaaf861de2020-06-19 14:33:29 +0200545{ TARGET_NR_lseek, "lseek" , NULL, print_lseek, NULL },
ths33189d32007-11-01 00:13:36 +0000546#endif
547#ifdef TARGET_NR_lsetxattr
548{ TARGET_NR_lsetxattr, "lsetxattr" , NULL, NULL, NULL },
549#endif
550#ifdef TARGET_NR_lstat
Mika Westerberg74d753a2009-04-07 16:57:29 +0300551{ TARGET_NR_lstat, "lstat" , NULL, print_lstat, NULL },
ths33189d32007-11-01 00:13:36 +0000552#endif
553#ifdef TARGET_NR_lstat64
Mika Westerberg74d753a2009-04-07 16:57:29 +0300554{ TARGET_NR_lstat64, "lstat64" , NULL, print_lstat64, NULL },
ths33189d32007-11-01 00:13:36 +0000555#endif
556#ifdef TARGET_NR_madvise
Ilya Leoshkevich375ce492022-09-06 02:08:37 +0200557{ TARGET_NR_madvise, "madvise" , NULL, print_madvise, NULL },
ths33189d32007-11-01 00:13:36 +0000558#endif
559#ifdef TARGET_NR_madvise1
560{ TARGET_NR_madvise1, "madvise1" , NULL, NULL, NULL },
561#endif
562#ifdef TARGET_NR_mbind
563{ TARGET_NR_mbind, "mbind" , NULL, NULL, NULL },
564#endif
Aleksandar Markovicfea55612016-09-19 13:44:44 +0200565#ifdef TARGET_NR_membarrier
566{ TARGET_NR_membarrier, "membarrier" , NULL, NULL, NULL },
567#endif
568#ifdef TARGET_NR_memfd_create
569{ TARGET_NR_memfd_create, "memfd_create" , NULL, NULL, NULL },
570#endif
ths33189d32007-11-01 00:13:36 +0000571#ifdef TARGET_NR_memory_ordering
572{ TARGET_NR_memory_ordering, "memory_ordering" , NULL, NULL, NULL },
573#endif
574#ifdef TARGET_NR_migrate_pages
575{ TARGET_NR_migrate_pages, "migrate_pages" , NULL, NULL, NULL },
576#endif
577#ifdef TARGET_NR_mincore
578{ TARGET_NR_mincore, "mincore" , NULL, NULL, NULL },
579#endif
580#ifdef TARGET_NR_mkdir
Mika Westerberg74d753a2009-04-07 16:57:29 +0300581{ TARGET_NR_mkdir, "mkdir" , NULL, print_mkdir, NULL },
ths33189d32007-11-01 00:13:36 +0000582#endif
583#ifdef TARGET_NR_mkdirat
Mika Westerberg74d753a2009-04-07 16:57:29 +0300584{ TARGET_NR_mkdirat, "mkdirat" , NULL, print_mkdirat, NULL },
ths33189d32007-11-01 00:13:36 +0000585#endif
Laurent Vivier4de596c2011-02-15 21:10:43 +0100586#ifdef TARGET_NR_rmdir
587{ TARGET_NR_rmdir, "rmdir" , NULL, print_rmdir, NULL },
588#endif
ths33189d32007-11-01 00:13:36 +0000589#ifdef TARGET_NR_mknod
Mika Westerberg74d753a2009-04-07 16:57:29 +0300590{ TARGET_NR_mknod, "mknod" , NULL, print_mknod, NULL },
ths33189d32007-11-01 00:13:36 +0000591#endif
592#ifdef TARGET_NR_mknodat
Mika Westerberg74d753a2009-04-07 16:57:29 +0300593{ TARGET_NR_mknodat, "mknodat" , NULL, print_mknodat, NULL },
ths33189d32007-11-01 00:13:36 +0000594#endif
595#ifdef TARGET_NR_mlock
Filip Bozuta02e5d7d2020-08-11 18:45:51 +0200596{ TARGET_NR_mlock, "mlock" , "%s(%p," TARGET_FMT_lu ")", NULL, NULL },
ths33189d32007-11-01 00:13:36 +0000597#endif
Aleksandar Markovicfea55612016-09-19 13:44:44 +0200598#ifdef TARGET_NR_mlock2
599{ TARGET_NR_mlock2, "mlock2" , NULL, NULL, NULL },
600#endif
ths33189d32007-11-01 00:13:36 +0000601#ifdef TARGET_NR_mlockall
Filip Bozuta02e5d7d2020-08-11 18:45:51 +0200602{ TARGET_NR_mlockall, "mlockall" , NULL, print_mlockall, NULL },
ths33189d32007-11-01 00:13:36 +0000603#endif
604#ifdef TARGET_NR_mmap
Mika Westerberg74d753a2009-04-07 16:57:29 +0300605{ TARGET_NR_mmap, "mmap" , NULL, print_mmap, print_syscall_ret_addr },
ths33189d32007-11-01 00:13:36 +0000606#endif
607#ifdef TARGET_NR_mmap2
Mika Westerberg74d753a2009-04-07 16:57:29 +0300608{ TARGET_NR_mmap2, "mmap2" , NULL, print_mmap2, print_syscall_ret_addr },
ths33189d32007-11-01 00:13:36 +0000609#endif
610#ifdef TARGET_NR_modify_ldt
611{ TARGET_NR_modify_ldt, "modify_ldt" , NULL, NULL, NULL },
612#endif
613#ifdef TARGET_NR_mount
Mika Westerberg74d753a2009-04-07 16:57:29 +0300614{ TARGET_NR_mount, "mount" , NULL, print_mount, NULL },
ths33189d32007-11-01 00:13:36 +0000615#endif
616#ifdef TARGET_NR_move_pages
617{ TARGET_NR_move_pages, "move_pages" , NULL, NULL, NULL },
618#endif
619#ifdef TARGET_NR_mprotect
Mika Westerberg74d753a2009-04-07 16:57:29 +0300620{ TARGET_NR_mprotect, "mprotect" , NULL, print_mprotect, NULL },
ths33189d32007-11-01 00:13:36 +0000621#endif
622#ifdef TARGET_NR_mpx
623{ TARGET_NR_mpx, "mpx" , NULL, NULL, NULL },
624#endif
625#ifdef TARGET_NR_mq_getsetattr
aurel3224e10032009-04-15 16:11:43 +0000626{ TARGET_NR_mq_getsetattr, "mq_getsetattr" , "%s(%d,%p,%p)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +0000627#endif
628#ifdef TARGET_NR_mq_notify
aurel3224e10032009-04-15 16:11:43 +0000629{ TARGET_NR_mq_notify, "mq_notify" , "%s(%d,%p)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +0000630#endif
631#ifdef TARGET_NR_mq_open
Mika Westerberg74d753a2009-04-07 16:57:29 +0300632{ TARGET_NR_mq_open, "mq_open" , NULL, print_mq_open, NULL },
ths33189d32007-11-01 00:13:36 +0000633#endif
634#ifdef TARGET_NR_mq_timedreceive
aurel3224e10032009-04-15 16:11:43 +0000635{ TARGET_NR_mq_timedreceive, "mq_timedreceive" , "%s(%d,%p,%d,%u,%p)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +0000636#endif
637#ifdef TARGET_NR_mq_timedsend
aurel3224e10032009-04-15 16:11:43 +0000638{ TARGET_NR_mq_timedsend, "mq_timedsend" , "%s(%d,%p,%d,%u,%p)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +0000639#endif
640#ifdef TARGET_NR_mq_unlink
Mika Westerberg74d753a2009-04-07 16:57:29 +0300641{ TARGET_NR_mq_unlink, "mq_unlink" , NULL, print_mq_unlink, NULL },
ths33189d32007-11-01 00:13:36 +0000642#endif
643#ifdef TARGET_NR_mremap
644{ TARGET_NR_mremap, "mremap" , NULL, NULL, NULL },
645#endif
646#ifdef TARGET_NR_msgctl
647{ TARGET_NR_msgctl, "msgctl" , NULL, NULL, NULL },
648#endif
649#ifdef TARGET_NR_msgget
650{ TARGET_NR_msgget, "msgget" , NULL, NULL, NULL },
651#endif
652#ifdef TARGET_NR_msgrcv
653{ TARGET_NR_msgrcv, "msgrcv" , NULL, NULL, NULL },
654#endif
655#ifdef TARGET_NR_msgsnd
656{ TARGET_NR_msgsnd, "msgsnd" , NULL, NULL, NULL },
657#endif
658#ifdef TARGET_NR_msync
Helge Dellerfe080592022-12-15 08:27:46 +0100659{ TARGET_NR_msync, "msync" , "%s(%p,%u,%d)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +0000660#endif
661#ifdef TARGET_NR_multiplexer
662{ TARGET_NR_multiplexer, "multiplexer" , NULL, NULL, NULL },
663#endif
664#ifdef TARGET_NR_munlock
Filip Bozuta02e5d7d2020-08-11 18:45:51 +0200665{ TARGET_NR_munlock, "munlock" , "%s(%p," TARGET_FMT_lu ")", NULL, NULL },
ths33189d32007-11-01 00:13:36 +0000666#endif
667#ifdef TARGET_NR_munlockall
Filip Bozuta02e5d7d2020-08-11 18:45:51 +0200668{ TARGET_NR_munlockall, "munlockall" , "%s()", NULL, NULL },
ths33189d32007-11-01 00:13:36 +0000669#endif
670#ifdef TARGET_NR_munmap
Mika Westerberg74d753a2009-04-07 16:57:29 +0300671{ TARGET_NR_munmap, "munmap" , NULL, print_munmap, NULL },
ths33189d32007-11-01 00:13:36 +0000672#endif
Aleksandar Markovicfea55612016-09-19 13:44:44 +0200673#ifdef TARGET_NR_name_to_handle_at
674{ TARGET_NR_name_to_handle_at, "name_to_handle_at" , NULL, NULL, NULL },
675#endif
ths33189d32007-11-01 00:13:36 +0000676#ifdef TARGET_NR_nanosleep
677{ TARGET_NR_nanosleep, "nanosleep" , NULL, NULL, NULL },
678#endif
679#ifdef TARGET_NR_fstatat64
Mika Westerberg74d753a2009-04-07 16:57:29 +0300680{ TARGET_NR_fstatat64, "fstatat64" , NULL, print_fstatat64, NULL },
ths33189d32007-11-01 00:13:36 +0000681#endif
682#ifdef TARGET_NR_newfstatat
Mika Westerberg74d753a2009-04-07 16:57:29 +0300683{ TARGET_NR_newfstatat, "newfstatat" , NULL, print_newfstatat, NULL },
ths33189d32007-11-01 00:13:36 +0000684#endif
685#ifdef TARGET_NR__newselect
686{ TARGET_NR__newselect, "_newselect" , NULL, print_newselect, print_syscall_ret_newselect },
687#endif
688#ifdef TARGET_NR_nfsservctl
689{ TARGET_NR_nfsservctl, "nfsservctl" , NULL, NULL, NULL },
690#endif
691#ifdef TARGET_NR_nice
692{ TARGET_NR_nice, "nice" , NULL, NULL, NULL },
693#endif
694#ifdef TARGET_NR_old_adjtimex
695{ TARGET_NR_old_adjtimex, "old_adjtimex" , NULL, NULL, NULL },
696#endif
697#ifdef TARGET_NR_oldfstat
698{ TARGET_NR_oldfstat, "oldfstat" , NULL, NULL, NULL },
699#endif
700#ifdef TARGET_NR_oldlstat
701{ TARGET_NR_oldlstat, "oldlstat" , NULL, NULL, NULL },
702#endif
703#ifdef TARGET_NR_oldolduname
704{ TARGET_NR_oldolduname, "oldolduname" , NULL, NULL, NULL },
705#endif
706#ifdef TARGET_NR_oldstat
707{ TARGET_NR_oldstat, "oldstat" , NULL, NULL, NULL },
708#endif
ths33189d32007-11-01 00:13:36 +0000709#ifdef TARGET_NR_olduname
710{ TARGET_NR_olduname, "olduname" , NULL, NULL, NULL },
711#endif
712#ifdef TARGET_NR_open
Mika Westerberg74d753a2009-04-07 16:57:29 +0300713{ TARGET_NR_open, "open" , NULL, print_open, NULL },
ths33189d32007-11-01 00:13:36 +0000714#endif
715#ifdef TARGET_NR_openat
Mika Westerberg74d753a2009-04-07 16:57:29 +0300716{ TARGET_NR_openat, "openat" , NULL, print_openat, NULL },
ths33189d32007-11-01 00:13:36 +0000717#endif
718#ifdef TARGET_NR_osf_adjtime
719{ TARGET_NR_osf_adjtime, "osf_adjtime" , NULL, NULL, NULL },
720#endif
721#ifdef TARGET_NR_osf_afs_syscall
722{ TARGET_NR_osf_afs_syscall, "osf_afs_syscall" , NULL, NULL, NULL },
723#endif
724#ifdef TARGET_NR_osf_alt_plock
725{ TARGET_NR_osf_alt_plock, "osf_alt_plock" , NULL, NULL, NULL },
726#endif
727#ifdef TARGET_NR_osf_alt_setsid
728{ TARGET_NR_osf_alt_setsid, "osf_alt_setsid" , NULL, NULL, NULL },
729#endif
730#ifdef TARGET_NR_osf_alt_sigpending
731{ TARGET_NR_osf_alt_sigpending, "osf_alt_sigpending" , NULL, NULL, NULL },
732#endif
733#ifdef TARGET_NR_osf_asynch_daemon
734{ TARGET_NR_osf_asynch_daemon, "osf_asynch_daemon" , NULL, NULL, NULL },
735#endif
736#ifdef TARGET_NR_osf_audcntl
737{ TARGET_NR_osf_audcntl, "osf_audcntl" , NULL, NULL, NULL },
738#endif
739#ifdef TARGET_NR_osf_audgen
740{ TARGET_NR_osf_audgen, "osf_audgen" , NULL, NULL, NULL },
741#endif
742#ifdef TARGET_NR_osf_chflags
743{ TARGET_NR_osf_chflags, "osf_chflags" , NULL, NULL, NULL },
744#endif
745#ifdef TARGET_NR_osf_execve
746{ TARGET_NR_osf_execve, "osf_execve" , NULL, NULL, NULL },
747#endif
748#ifdef TARGET_NR_osf_exportfs
749{ TARGET_NR_osf_exportfs, "osf_exportfs" , NULL, NULL, NULL },
750#endif
751#ifdef TARGET_NR_osf_fchflags
752{ TARGET_NR_osf_fchflags, "osf_fchflags" , NULL, NULL, NULL },
753#endif
754#ifdef TARGET_NR_osf_fdatasync
755{ TARGET_NR_osf_fdatasync, "osf_fdatasync" , NULL, NULL, NULL },
756#endif
757#ifdef TARGET_NR_osf_fpathconf
758{ TARGET_NR_osf_fpathconf, "osf_fpathconf" , NULL, NULL, NULL },
759#endif
760#ifdef TARGET_NR_osf_fstatfs
761{ TARGET_NR_osf_fstatfs, "osf_fstatfs" , NULL, NULL, NULL },
762#endif
763#ifdef TARGET_NR_osf_fuser
764{ TARGET_NR_osf_fuser, "osf_fuser" , NULL, NULL, NULL },
765#endif
766#ifdef TARGET_NR_osf_getaddressconf
767{ TARGET_NR_osf_getaddressconf, "osf_getaddressconf" , NULL, NULL, NULL },
768#endif
769#ifdef TARGET_NR_osf_getdirentries
770{ TARGET_NR_osf_getdirentries, "osf_getdirentries" , NULL, NULL, NULL },
771#endif
772#ifdef TARGET_NR_osf_getdomainname
773{ TARGET_NR_osf_getdomainname, "osf_getdomainname" , NULL, NULL, NULL },
774#endif
775#ifdef TARGET_NR_osf_getfh
776{ TARGET_NR_osf_getfh, "osf_getfh" , NULL, NULL, NULL },
777#endif
778#ifdef TARGET_NR_osf_getfsstat
779{ TARGET_NR_osf_getfsstat, "osf_getfsstat" , NULL, NULL, NULL },
780#endif
781#ifdef TARGET_NR_osf_gethostid
782{ TARGET_NR_osf_gethostid, "osf_gethostid" , NULL, NULL, NULL },
783#endif
784#ifdef TARGET_NR_osf_getitimer
785{ TARGET_NR_osf_getitimer, "osf_getitimer" , NULL, NULL, NULL },
786#endif
787#ifdef TARGET_NR_osf_getlogin
788{ TARGET_NR_osf_getlogin, "osf_getlogin" , NULL, NULL, NULL },
789#endif
790#ifdef TARGET_NR_osf_getmnt
791{ TARGET_NR_osf_getmnt, "osf_getmnt" , NULL, NULL, NULL },
792#endif
793#ifdef TARGET_NR_osf_getrusage
794{ TARGET_NR_osf_getrusage, "osf_getrusage" , NULL, NULL, NULL },
795#endif
796#ifdef TARGET_NR_osf_getsysinfo
797{ TARGET_NR_osf_getsysinfo, "osf_getsysinfo" , NULL, NULL, NULL },
798#endif
799#ifdef TARGET_NR_osf_gettimeofday
800{ TARGET_NR_osf_gettimeofday, "osf_gettimeofday" , NULL, NULL, NULL },
801#endif
802#ifdef TARGET_NR_osf_kloadcall
803{ TARGET_NR_osf_kloadcall, "osf_kloadcall" , NULL, NULL, NULL },
804#endif
805#ifdef TARGET_NR_osf_kmodcall
806{ TARGET_NR_osf_kmodcall, "osf_kmodcall" , NULL, NULL, NULL },
807#endif
808#ifdef TARGET_NR_osf_memcntl
809{ TARGET_NR_osf_memcntl, "osf_memcntl" , NULL, NULL, NULL },
810#endif
811#ifdef TARGET_NR_osf_mincore
812{ TARGET_NR_osf_mincore, "osf_mincore" , NULL, NULL, NULL },
813#endif
814#ifdef TARGET_NR_osf_mount
815{ TARGET_NR_osf_mount, "osf_mount" , NULL, NULL, NULL },
816#endif
817#ifdef TARGET_NR_osf_mremap
818{ TARGET_NR_osf_mremap, "osf_mremap" , NULL, NULL, NULL },
819#endif
820#ifdef TARGET_NR_osf_msfs_syscall
821{ TARGET_NR_osf_msfs_syscall, "osf_msfs_syscall" , NULL, NULL, NULL },
822#endif
823#ifdef TARGET_NR_osf_msleep
824{ TARGET_NR_osf_msleep, "osf_msleep" , NULL, NULL, NULL },
825#endif
826#ifdef TARGET_NR_osf_mvalid
827{ TARGET_NR_osf_mvalid, "osf_mvalid" , NULL, NULL, NULL },
828#endif
829#ifdef TARGET_NR_osf_mwakeup
830{ TARGET_NR_osf_mwakeup, "osf_mwakeup" , NULL, NULL, NULL },
831#endif
832#ifdef TARGET_NR_osf_naccept
833{ TARGET_NR_osf_naccept, "osf_naccept" , NULL, NULL, NULL },
834#endif
835#ifdef TARGET_NR_osf_nfssvc
836{ TARGET_NR_osf_nfssvc, "osf_nfssvc" , NULL, NULL, NULL },
837#endif
838#ifdef TARGET_NR_osf_ngetpeername
839{ TARGET_NR_osf_ngetpeername, "osf_ngetpeername" , NULL, NULL, NULL },
840#endif
841#ifdef TARGET_NR_osf_ngetsockname
842{ TARGET_NR_osf_ngetsockname, "osf_ngetsockname" , NULL, NULL, NULL },
843#endif
844#ifdef TARGET_NR_osf_nrecvfrom
845{ TARGET_NR_osf_nrecvfrom, "osf_nrecvfrom" , NULL, NULL, NULL },
846#endif
847#ifdef TARGET_NR_osf_nrecvmsg
848{ TARGET_NR_osf_nrecvmsg, "osf_nrecvmsg" , NULL, NULL, NULL },
849#endif
850#ifdef TARGET_NR_osf_nsendmsg
851{ TARGET_NR_osf_nsendmsg, "osf_nsendmsg" , NULL, NULL, NULL },
852#endif
853#ifdef TARGET_NR_osf_ntp_adjtime
854{ TARGET_NR_osf_ntp_adjtime, "osf_ntp_adjtime" , NULL, NULL, NULL },
855#endif
856#ifdef TARGET_NR_osf_ntp_gettime
857{ TARGET_NR_osf_ntp_gettime, "osf_ntp_gettime" , NULL, NULL, NULL },
858#endif
859#ifdef TARGET_NR_osf_old_creat
860{ TARGET_NR_osf_old_creat, "osf_old_creat" , NULL, NULL, NULL },
861#endif
862#ifdef TARGET_NR_osf_old_fstat
863{ TARGET_NR_osf_old_fstat, "osf_old_fstat" , NULL, NULL, NULL },
864#endif
865#ifdef TARGET_NR_osf_old_getpgrp
866{ TARGET_NR_osf_old_getpgrp, "osf_old_getpgrp" , NULL, NULL, NULL },
867#endif
868#ifdef TARGET_NR_osf_old_killpg
869{ TARGET_NR_osf_old_killpg, "osf_old_killpg" , NULL, NULL, NULL },
870#endif
871#ifdef TARGET_NR_osf_old_lstat
872{ TARGET_NR_osf_old_lstat, "osf_old_lstat" , NULL, NULL, NULL },
873#endif
874#ifdef TARGET_NR_osf_old_open
875{ TARGET_NR_osf_old_open, "osf_old_open" , NULL, NULL, NULL },
876#endif
877#ifdef TARGET_NR_osf_oldquota
878{ TARGET_NR_osf_oldquota, "osf_oldquota" , NULL, NULL, NULL },
879#endif
880#ifdef TARGET_NR_osf_old_sigaction
881{ TARGET_NR_osf_old_sigaction, "osf_old_sigaction" , NULL, NULL, NULL },
882#endif
883#ifdef TARGET_NR_osf_old_sigblock
884{ TARGET_NR_osf_old_sigblock, "osf_old_sigblock" , NULL, NULL, NULL },
885#endif
886#ifdef TARGET_NR_osf_old_sigreturn
887{ TARGET_NR_osf_old_sigreturn, "osf_old_sigreturn" , NULL, NULL, NULL },
888#endif
889#ifdef TARGET_NR_osf_old_sigsetmask
890{ TARGET_NR_osf_old_sigsetmask, "osf_old_sigsetmask" , NULL, NULL, NULL },
891#endif
892#ifdef TARGET_NR_osf_old_sigvec
893{ TARGET_NR_osf_old_sigvec, "osf_old_sigvec" , NULL, NULL, NULL },
894#endif
895#ifdef TARGET_NR_osf_old_stat
896{ TARGET_NR_osf_old_stat, "osf_old_stat" , NULL, NULL, NULL },
897#endif
898#ifdef TARGET_NR_osf_old_vadvise
899{ TARGET_NR_osf_old_vadvise, "osf_old_vadvise" , NULL, NULL, NULL },
900#endif
901#ifdef TARGET_NR_osf_old_vtrace
902{ TARGET_NR_osf_old_vtrace, "osf_old_vtrace" , NULL, NULL, NULL },
903#endif
904#ifdef TARGET_NR_osf_old_wait
905{ TARGET_NR_osf_old_wait, "osf_old_wait" , NULL, NULL, NULL },
906#endif
907#ifdef TARGET_NR_osf_pathconf
908{ TARGET_NR_osf_pathconf, "osf_pathconf" , NULL, NULL, NULL },
909#endif
910#ifdef TARGET_NR_osf_pid_block
911{ TARGET_NR_osf_pid_block, "osf_pid_block" , NULL, NULL, NULL },
912#endif
913#ifdef TARGET_NR_osf_pid_unblock
914{ TARGET_NR_osf_pid_unblock, "osf_pid_unblock" , NULL, NULL, NULL },
915#endif
916#ifdef TARGET_NR_osf_plock
917{ TARGET_NR_osf_plock, "osf_plock" , NULL, NULL, NULL },
918#endif
919#ifdef TARGET_NR_osf_priocntlset
920{ TARGET_NR_osf_priocntlset, "osf_priocntlset" , NULL, NULL, NULL },
921#endif
922#ifdef TARGET_NR_osf_profil
923{ TARGET_NR_osf_profil, "osf_profil" , NULL, NULL, NULL },
924#endif
925#ifdef TARGET_NR_osf_proplist_syscall
926{ TARGET_NR_osf_proplist_syscall, "osf_proplist_syscall" , NULL, NULL, NULL },
927#endif
928#ifdef TARGET_NR_osf_reboot
929{ TARGET_NR_osf_reboot, "osf_reboot" , NULL, NULL, NULL },
930#endif
931#ifdef TARGET_NR_osf_revoke
932{ TARGET_NR_osf_revoke, "osf_revoke" , NULL, NULL, NULL },
933#endif
934#ifdef TARGET_NR_osf_sbrk
935{ TARGET_NR_osf_sbrk, "osf_sbrk" , NULL, NULL, NULL },
936#endif
937#ifdef TARGET_NR_osf_security
938{ TARGET_NR_osf_security, "osf_security" , NULL, NULL, NULL },
939#endif
940#ifdef TARGET_NR_osf_select
941{ TARGET_NR_osf_select, "osf_select" , NULL, NULL, NULL },
942#endif
943#ifdef TARGET_NR_osf_sethostid
944{ TARGET_NR_osf_sethostid, "osf_sethostid" , NULL, NULL, NULL },
945#endif
946#ifdef TARGET_NR_osf_setitimer
947{ TARGET_NR_osf_setitimer, "osf_setitimer" , NULL, NULL, NULL },
948#endif
949#ifdef TARGET_NR_osf_setlogin
950{ TARGET_NR_osf_setlogin, "osf_setlogin" , NULL, NULL, NULL },
951#endif
952#ifdef TARGET_NR_osf_set_program_attributes
953{ TARGET_NR_osf_set_program_attributes, "osf_set_program_attributes" , NULL, NULL, NULL },
954#endif
955#ifdef TARGET_NR_osf_set_speculative
956{ TARGET_NR_osf_set_speculative, "osf_set_speculative" , NULL, NULL, NULL },
957#endif
958#ifdef TARGET_NR_osf_setsysinfo
959{ TARGET_NR_osf_setsysinfo, "osf_setsysinfo" , NULL, NULL, NULL },
960#endif
961#ifdef TARGET_NR_osf_settimeofday
962{ TARGET_NR_osf_settimeofday, "osf_settimeofday" , NULL, NULL, NULL },
963#endif
964#ifdef TARGET_NR_osf_shmat
965{ TARGET_NR_osf_shmat, "osf_shmat" , NULL, NULL, NULL },
966#endif
967#ifdef TARGET_NR_osf_signal
968{ TARGET_NR_osf_signal, "osf_signal" , NULL, NULL, NULL },
969#endif
970#ifdef TARGET_NR_osf_sigprocmask
971{ TARGET_NR_osf_sigprocmask, "osf_sigprocmask" , NULL, NULL, NULL },
972#endif
973#ifdef TARGET_NR_osf_sigsendset
974{ TARGET_NR_osf_sigsendset, "osf_sigsendset" , NULL, NULL, NULL },
975#endif
976#ifdef TARGET_NR_osf_sigstack
977{ TARGET_NR_osf_sigstack, "osf_sigstack" , NULL, NULL, NULL },
978#endif
979#ifdef TARGET_NR_osf_sigwaitprim
980{ TARGET_NR_osf_sigwaitprim, "osf_sigwaitprim" , NULL, NULL, NULL },
981#endif
982#ifdef TARGET_NR_osf_sstk
983{ TARGET_NR_osf_sstk, "osf_sstk" , NULL, NULL, NULL },
984#endif
985#ifdef TARGET_NR_osf_statfs
986{ TARGET_NR_osf_statfs, "osf_statfs" , NULL, NULL, NULL },
987#endif
988#ifdef TARGET_NR_osf_subsys_info
989{ TARGET_NR_osf_subsys_info, "osf_subsys_info" , NULL, NULL, NULL },
990#endif
991#ifdef TARGET_NR_osf_swapctl
992{ TARGET_NR_osf_swapctl, "osf_swapctl" , NULL, NULL, NULL },
993#endif
994#ifdef TARGET_NR_osf_swapon
995{ TARGET_NR_osf_swapon, "osf_swapon" , NULL, NULL, NULL },
996#endif
997#ifdef TARGET_NR_osf_syscall
998{ TARGET_NR_osf_syscall, "osf_syscall" , NULL, NULL, NULL },
999#endif
1000#ifdef TARGET_NR_osf_sysinfo
1001{ TARGET_NR_osf_sysinfo, "osf_sysinfo" , NULL, NULL, NULL },
1002#endif
1003#ifdef TARGET_NR_osf_table
1004{ TARGET_NR_osf_table, "osf_table" , NULL, NULL, NULL },
1005#endif
1006#ifdef TARGET_NR_osf_uadmin
1007{ TARGET_NR_osf_uadmin, "osf_uadmin" , NULL, NULL, NULL },
1008#endif
1009#ifdef TARGET_NR_osf_usleep_thread
1010{ TARGET_NR_osf_usleep_thread, "osf_usleep_thread" , NULL, NULL, NULL },
1011#endif
1012#ifdef TARGET_NR_osf_uswitch
1013{ TARGET_NR_osf_uswitch, "osf_uswitch" , NULL, NULL, NULL },
1014#endif
1015#ifdef TARGET_NR_osf_utc_adjtime
1016{ TARGET_NR_osf_utc_adjtime, "osf_utc_adjtime" , NULL, NULL, NULL },
1017#endif
1018#ifdef TARGET_NR_osf_utc_gettime
1019{ TARGET_NR_osf_utc_gettime, "osf_utc_gettime" , NULL, NULL, NULL },
1020#endif
1021#ifdef TARGET_NR_osf_utimes
1022{ TARGET_NR_osf_utimes, "osf_utimes" , NULL, NULL, NULL },
1023#endif
1024#ifdef TARGET_NR_osf_utsname
1025{ TARGET_NR_osf_utsname, "osf_utsname" , NULL, NULL, NULL },
1026#endif
1027#ifdef TARGET_NR_osf_wait4
1028{ TARGET_NR_osf_wait4, "osf_wait4" , NULL, NULL, NULL },
1029#endif
1030#ifdef TARGET_NR_osf_waitid
1031{ TARGET_NR_osf_waitid, "osf_waitid" , NULL, NULL, NULL },
1032#endif
1033#ifdef TARGET_NR_pause
1034{ TARGET_NR_pause, "pause" , NULL, NULL, NULL },
1035#endif
1036#ifdef TARGET_NR_pciconfig_iobase
1037{ TARGET_NR_pciconfig_iobase, "pciconfig_iobase" , NULL, NULL, NULL },
1038#endif
1039#ifdef TARGET_NR_pciconfig_read
1040{ TARGET_NR_pciconfig_read, "pciconfig_read" , NULL, NULL, NULL },
1041#endif
1042#ifdef TARGET_NR_pciconfig_write
1043{ TARGET_NR_pciconfig_write, "pciconfig_write" , NULL, NULL, NULL },
1044#endif
Aleksandar Markovicfea55612016-09-19 13:44:44 +02001045#ifdef TARGET_NR_perf_event_open
1046{ TARGET_NR_perf_event_open, "perf_event_open" , NULL, NULL, NULL },
1047#endif
ths33189d32007-11-01 00:13:36 +00001048#ifdef TARGET_NR_perfctr
1049{ TARGET_NR_perfctr, "perfctr" , NULL, NULL, NULL },
1050#endif
1051#ifdef TARGET_NR_personality
Helge Dellerab6c4972023-01-27 21:18:58 +01001052{ TARGET_NR_personality, "personality" , "%s(0x"TARGET_ABI_FMT_lx")", NULL,
1053 print_syscall_ret_addr },
ths33189d32007-11-01 00:13:36 +00001054#endif
1055#ifdef TARGET_NR_pipe
1056{ TARGET_NR_pipe, "pipe" , NULL, NULL, NULL },
1057#endif
1058#ifdef TARGET_NR_pivot_root
1059{ TARGET_NR_pivot_root, "pivot_root" , NULL, NULL, NULL },
1060#endif
1061#ifdef TARGET_NR_poll
Helge Deller93cf7e62022-12-12 19:01:32 +01001062{ TARGET_NR_poll, "poll" , "%s(%p,%u,%d)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +00001063#endif
1064#ifdef TARGET_NR_ppoll
Helge Deller93cf7e62022-12-12 19:01:32 +01001065{ TARGET_NR_ppoll, "ppoll" , "%s(%p,%u,%p,%p)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +00001066#endif
1067#ifdef TARGET_NR_prctl
1068{ TARGET_NR_prctl, "prctl" , NULL, NULL, NULL },
1069#endif
ths33189d32007-11-01 00:13:36 +00001070#ifdef TARGET_NR_pread64
Helge Deller036cf162023-03-12 23:17:13 +01001071{ TARGET_NR_pread64, "pread64" , NULL, print_pread64, NULL },
ths33189d32007-11-01 00:13:36 +00001072#endif
Aleksandar Markovicfea55612016-09-19 13:44:44 +02001073#ifdef TARGET_NR_preadv
1074{ TARGET_NR_preadv, "preadv" , NULL, NULL, NULL },
1075#endif
1076#ifdef TARGET_NR_prlimit64
Helge Dellerdae81a02022-12-22 20:06:39 +01001077{ TARGET_NR_prlimit64, "prlimit64" , NULL, print_prlimit64,
1078 print_syscall_ret_prlimit64 },
Aleksandar Markovicfea55612016-09-19 13:44:44 +02001079#endif
1080#ifdef TARGET_NR_process_vm_readv
1081{ TARGET_NR_process_vm_readv, "process_vm_readv" , NULL, NULL, NULL },
1082#endif
1083#ifdef TARGET_NR_process_vm_writev
1084{ TARGET_NR_process_vm_writev, "process_vm_writev" , NULL, NULL, NULL },
1085#endif
ths33189d32007-11-01 00:13:36 +00001086#ifdef TARGET_NR_prof
1087{ TARGET_NR_prof, "prof" , NULL, NULL, NULL },
1088#endif
1089#ifdef TARGET_NR_profil
1090{ TARGET_NR_profil, "profil" , NULL, NULL, NULL },
1091#endif
1092#ifdef TARGET_NR_pselect6
1093{ TARGET_NR_pselect6, "pselect6" , NULL, NULL, NULL },
1094#endif
1095#ifdef TARGET_NR_ptrace
1096{ TARGET_NR_ptrace, "ptrace" , NULL, NULL, NULL },
1097#endif
1098#ifdef TARGET_NR_putpmsg
1099{ TARGET_NR_putpmsg, "putpmsg" , NULL, NULL, NULL },
1100#endif
ths33189d32007-11-01 00:13:36 +00001101#ifdef TARGET_NR_pwrite64
Helge Deller036cf162023-03-12 23:17:13 +01001102{ TARGET_NR_pwrite64, "pwrite64" , NULL, print_pread64, NULL },
ths33189d32007-11-01 00:13:36 +00001103#endif
Aleksandar Markovicfea55612016-09-19 13:44:44 +02001104#ifdef TARGET_NR_pwritev
1105{ TARGET_NR_pwritev, "pwritev" , NULL, NULL, NULL },
1106#endif
ths33189d32007-11-01 00:13:36 +00001107#ifdef TARGET_NR_query_module
1108{ TARGET_NR_query_module, "query_module" , NULL, NULL, NULL },
1109#endif
1110#ifdef TARGET_NR_quotactl
1111{ TARGET_NR_quotactl, "quotactl" , NULL, NULL, NULL },
1112#endif
1113#ifdef TARGET_NR_read
1114{ TARGET_NR_read, "read" , "%s(%d,%#x,%d)", NULL, NULL },
1115#endif
1116#ifdef TARGET_NR_readahead
1117{ TARGET_NR_readahead, "readahead" , NULL, NULL, NULL },
1118#endif
1119#ifdef TARGET_NR_readdir
1120{ TARGET_NR_readdir, "readdir" , NULL, NULL, NULL },
1121#endif
1122#ifdef TARGET_NR_readlink
Mika Westerberg74d753a2009-04-07 16:57:29 +03001123{ TARGET_NR_readlink, "readlink" , NULL, print_readlink, NULL },
ths33189d32007-11-01 00:13:36 +00001124#endif
1125#ifdef TARGET_NR_readlinkat
Mika Westerberg74d753a2009-04-07 16:57:29 +03001126{ TARGET_NR_readlinkat, "readlinkat" , NULL, print_readlinkat, NULL },
ths33189d32007-11-01 00:13:36 +00001127#endif
1128#ifdef TARGET_NR_readv
1129{ TARGET_NR_readv, "readv" , NULL, NULL, NULL },
1130#endif
1131#ifdef TARGET_NR_reboot
1132{ TARGET_NR_reboot, "reboot" , NULL, NULL, NULL },
1133#endif
1134#ifdef TARGET_NR_recv
Helge Deller93cf7e62022-12-12 19:01:32 +01001135{ TARGET_NR_recv, "recv" , "%s(%d,%p,%u,%d)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +00001136#endif
1137#ifdef TARGET_NR_recvfrom
1138{ TARGET_NR_recvfrom, "recvfrom" , NULL, NULL, NULL },
1139#endif
Aleksandar Markovicfea55612016-09-19 13:44:44 +02001140#ifdef TARGET_NR_recvmmsg
1141{ TARGET_NR_recvmmsg, "recvmmsg" , NULL, NULL, NULL },
1142#endif
ths33189d32007-11-01 00:13:36 +00001143#ifdef TARGET_NR_recvmsg
Philippe Mathieu-Daudé377e93e2018-06-28 00:46:46 -03001144{ TARGET_NR_recvmsg, "recvmsg" , "%s(%d,%p,%#x)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +00001145#endif
1146#ifdef TARGET_NR_remap_file_pages
1147{ TARGET_NR_remap_file_pages, "remap_file_pages" , NULL, NULL, NULL },
1148#endif
1149#ifdef TARGET_NR_removexattr
Filip Bozuta4fc3cdd2020-06-19 14:33:28 +02001150{ TARGET_NR_removexattr, "removexattr" , NULL, print_removexattr, NULL },
ths33189d32007-11-01 00:13:36 +00001151#endif
1152#ifdef TARGET_NR_rename
Mika Westerberg74d753a2009-04-07 16:57:29 +03001153{ TARGET_NR_rename, "rename" , NULL, print_rename, NULL },
ths33189d32007-11-01 00:13:36 +00001154#endif
1155#ifdef TARGET_NR_renameat
Mika Westerberg74d753a2009-04-07 16:57:29 +03001156{ TARGET_NR_renameat, "renameat" , NULL, print_renameat, NULL },
ths33189d32007-11-01 00:13:36 +00001157#endif
Aleksandar Markovicfea55612016-09-19 13:44:44 +02001158#ifdef TARGET_NR_renameat2
1159{ TARGET_NR_renameat2, "renameat2" , NULL, NULL, NULL },
1160#endif
ths33189d32007-11-01 00:13:36 +00001161#ifdef TARGET_NR_request_key
1162{ TARGET_NR_request_key, "request_key" , NULL, NULL, NULL },
1163#endif
Aleksandar Markovicfea55612016-09-19 13:44:44 +02001164#ifdef TARGET_NR_reserved177
1165{ TARGET_NR_reserved177, "reserved177" , NULL, NULL, NULL },
1166#endif
1167#ifdef TARGET_NR_reserved193
1168{ TARGET_NR_reserved193, "reserved193" , NULL, NULL, NULL },
1169#endif
ths33189d32007-11-01 00:13:36 +00001170#ifdef TARGET_NR_reserved221
1171{ TARGET_NR_reserved221, "reserved221" , NULL, NULL, NULL },
1172#endif
1173#ifdef TARGET_NR_reserved82
1174{ TARGET_NR_reserved82, "reserved82" , NULL, NULL, NULL },
1175#endif
1176#ifdef TARGET_NR_restart_syscall
1177{ TARGET_NR_restart_syscall, "restart_syscall" , NULL, NULL, NULL },
1178#endif
1179#ifdef TARGET_NR_rmdir
1180{ TARGET_NR_rmdir, "rmdir" , NULL, NULL, NULL },
1181#endif
1182#ifdef TARGET_NR_rt_sigaction
Laurent Vivier608e5592011-04-07 00:25:32 +02001183{ TARGET_NR_rt_sigaction, "rt_sigaction" , NULL, print_rt_sigaction, NULL },
ths33189d32007-11-01 00:13:36 +00001184#endif
1185#ifdef TARGET_NR_rt_sigpending
1186{ TARGET_NR_rt_sigpending, "rt_sigpending" , NULL, NULL, NULL },
1187#endif
1188#ifdef TARGET_NR_rt_sigprocmask
Laurent Vivier608e5592011-04-07 00:25:32 +02001189{ TARGET_NR_rt_sigprocmask, "rt_sigprocmask" , NULL, print_rt_sigprocmask, NULL },
ths33189d32007-11-01 00:13:36 +00001190#endif
1191#ifdef TARGET_NR_rt_sigqueueinfo
Miloš Stojanović51622642017-05-15 16:59:42 +02001192{ TARGET_NR_rt_sigqueueinfo, "rt_sigqueueinfo" , NULL, print_rt_sigqueueinfo, NULL },
ths33189d32007-11-01 00:13:36 +00001193#endif
1194#ifdef TARGET_NR_rt_sigreturn
Helge Deller93cf7e62022-12-12 19:01:32 +01001195{ TARGET_NR_rt_sigreturn, "rt_sigreturn" , "%s(%p)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +00001196#endif
1197#ifdef TARGET_NR_rt_sigsuspend
1198{ TARGET_NR_rt_sigsuspend, "rt_sigsuspend" , NULL, NULL, NULL },
1199#endif
1200#ifdef TARGET_NR_rt_sigtimedwait
1201{ TARGET_NR_rt_sigtimedwait, "rt_sigtimedwait" , NULL, NULL, NULL },
1202#endif
Aleksandar Markovicfea55612016-09-19 13:44:44 +02001203#ifdef TARGET_NR_rt_tgsigqueueinfo
Miloš Stojanović243e0fe2017-05-15 16:59:47 +02001204{ TARGET_NR_rt_tgsigqueueinfo, "rt_tgsigqueueinfo" , NULL, print_rt_tgsigqueueinfo, NULL },
Aleksandar Markovicfea55612016-09-19 13:44:44 +02001205#endif
ths33189d32007-11-01 00:13:36 +00001206#ifdef TARGET_NR_sched_getaffinity
Helge Deller93cf7e62022-12-12 19:01:32 +01001207{ TARGET_NR_sched_getaffinity, "sched_getaffinity" , "%s(%d,%u,%p)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +00001208#endif
1209#ifdef TARGET_NR_sched_get_affinity
1210{ TARGET_NR_sched_get_affinity, "sched_get_affinity" , NULL, NULL, NULL },
1211#endif
Aleksandar Markovicfea55612016-09-19 13:44:44 +02001212#ifdef TARGET_NR_sched_getattr
Helge Deller93cf7e62022-12-12 19:01:32 +01001213{ TARGET_NR_sched_getattr, "sched_getattr" , "%s(%d,%p,%u,%u)", NULL, NULL },
1214#endif
1215#ifdef TARGET_NR_sched_setattr
1216{ TARGET_NR_sched_setattr, "sched_setattr" , "%s(%p,%p)", NULL, NULL },
Aleksandar Markovicfea55612016-09-19 13:44:44 +02001217#endif
ths33189d32007-11-01 00:13:36 +00001218#ifdef TARGET_NR_sched_getparam
Helge Deller93cf7e62022-12-12 19:01:32 +01001219{ TARGET_NR_sched_getparam, "sched_getparam" , "%s(%d,%p)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +00001220#endif
1221#ifdef TARGET_NR_sched_get_priority_max
1222{ TARGET_NR_sched_get_priority_max, "sched_get_priority_max" , NULL, NULL, NULL },
1223#endif
1224#ifdef TARGET_NR_sched_get_priority_min
1225{ TARGET_NR_sched_get_priority_min, "sched_get_priority_min" , NULL, NULL, NULL },
1226#endif
1227#ifdef TARGET_NR_sched_getscheduler
1228{ TARGET_NR_sched_getscheduler, "sched_getscheduler" , NULL, NULL, NULL },
1229#endif
1230#ifdef TARGET_NR_sched_rr_get_interval
1231{ TARGET_NR_sched_rr_get_interval, "sched_rr_get_interval" , NULL, NULL, NULL },
1232#endif
1233#ifdef TARGET_NR_sched_setaffinity
Helge Deller93cf7e62022-12-12 19:01:32 +01001234{ TARGET_NR_sched_setaffinity, "sched_setaffinity" , "%s(%d,%u,%p)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +00001235#endif
Aleksandar Markovicfea55612016-09-19 13:44:44 +02001236#ifdef TARGET_NR_sched_setatt
1237{ TARGET_NR_sched_setatt, "sched_setatt" , NULL, NULL, NULL },
1238#endif
ths33189d32007-11-01 00:13:36 +00001239#ifdef TARGET_NR_sched_set_affinity
1240{ TARGET_NR_sched_set_affinity, "sched_set_affinity" , NULL, NULL, NULL },
1241#endif
1242#ifdef TARGET_NR_sched_setparam
1243{ TARGET_NR_sched_setparam, "sched_setparam" , NULL, NULL, NULL },
1244#endif
1245#ifdef TARGET_NR_sched_setscheduler
1246{ TARGET_NR_sched_setscheduler, "sched_setscheduler" , NULL, NULL, NULL },
1247#endif
1248#ifdef TARGET_NR_sched_yield
1249{ TARGET_NR_sched_yield, "sched_yield" , NULL, NULL, NULL },
1250#endif
Aleksandar Markovicfea55612016-09-19 13:44:44 +02001251#ifdef TARGET_NR_seccomp
1252{ TARGET_NR_seccomp, "seccomp" , NULL, NULL, NULL },
1253#endif
ths33189d32007-11-01 00:13:36 +00001254#ifdef TARGET_NR_security
1255{ TARGET_NR_security, "security" , NULL, NULL, NULL },
1256#endif
1257#ifdef TARGET_NR_select
1258{ TARGET_NR_select, "select" , NULL, NULL, NULL },
1259#endif
1260#ifdef TARGET_NR_semctl
1261{ TARGET_NR_semctl, "semctl" , NULL, print_semctl, NULL },
1262#endif
1263#ifdef TARGET_NR_semget
1264{ TARGET_NR_semget, "semget" , NULL, NULL, NULL },
1265#endif
1266#ifdef TARGET_NR_semop
1267{ TARGET_NR_semop, "semop" , NULL, NULL, NULL },
1268#endif
1269#ifdef TARGET_NR_semtimedop
1270{ TARGET_NR_semtimedop, "semtimedop" , NULL, NULL, NULL },
1271#endif
1272#ifdef TARGET_NR_send
1273{ TARGET_NR_send, "send" , NULL, NULL, NULL },
1274#endif
1275#ifdef TARGET_NR_sendfile
1276{ TARGET_NR_sendfile, "sendfile" , NULL, NULL, NULL },
1277#endif
1278#ifdef TARGET_NR_sendfile64
1279{ TARGET_NR_sendfile64, "sendfile64" , NULL, NULL, NULL },
1280#endif
Aleksandar Markovicfea55612016-09-19 13:44:44 +02001281#ifdef TARGET_NR_sendmmsg
1282{ TARGET_NR_sendmmsg, "sendmmsg" , NULL, NULL, NULL },
1283#endif
ths33189d32007-11-01 00:13:36 +00001284#ifdef TARGET_NR_sendmsg
1285{ TARGET_NR_sendmsg, "sendmsg" , NULL, NULL, NULL },
1286#endif
1287#ifdef TARGET_NR_sendto
1288{ TARGET_NR_sendto, "sendto" , NULL, NULL, NULL },
1289#endif
1290#ifdef TARGET_NR_setdomainname
1291{ TARGET_NR_setdomainname, "setdomainname" , NULL, NULL, NULL },
1292#endif
1293#ifdef TARGET_NR_setfsgid
Helge Deller9cbc0572019-11-21 20:33:51 +01001294{ TARGET_NR_setfsgid, "setfsgid" , "%s(%u)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +00001295#endif
1296#ifdef TARGET_NR_setfsgid32
Helge Deller9cbc0572019-11-21 20:33:51 +01001297{ TARGET_NR_setfsgid32, "setfsgid32" , "%s(%u)" , NULL, NULL },
ths33189d32007-11-01 00:13:36 +00001298#endif
1299#ifdef TARGET_NR_setfsuid
Helge Deller9cbc0572019-11-21 20:33:51 +01001300{ TARGET_NR_setfsuid, "setfsuid" , "%s(%u)" , NULL, NULL },
ths33189d32007-11-01 00:13:36 +00001301#endif
1302#ifdef TARGET_NR_setfsuid32
1303{ TARGET_NR_setfsuid32, "setfsuid32" , NULL, NULL, NULL },
1304#endif
1305#ifdef TARGET_NR_setgid
Helge Deller9cbc0572019-11-21 20:33:51 +01001306{ TARGET_NR_setgid, "setgid" , "%s(%u)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +00001307#endif
1308#ifdef TARGET_NR_setgid32
Helge Deller9cbc0572019-11-21 20:33:51 +01001309{ TARGET_NR_setgid32, "setgid32" , "%s(%u)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +00001310#endif
1311#ifdef TARGET_NR_setgroups
Helge Deller6a848b52023-01-15 22:00:57 +01001312{ TARGET_NR_setgroups, "setgroups" , "%s(%d,%p)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +00001313#endif
1314#ifdef TARGET_NR_setgroups32
Helge Deller6a848b52023-01-15 22:00:57 +01001315{ TARGET_NR_setgroups32, "setgroups32" , "%s(%d,%p)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +00001316#endif
1317#ifdef TARGET_NR_sethae
1318{ TARGET_NR_sethae, "sethae" , NULL, NULL, NULL },
1319#endif
1320#ifdef TARGET_NR_sethostname
1321{ TARGET_NR_sethostname, "sethostname" , NULL, NULL, NULL },
1322#endif
1323#ifdef TARGET_NR_setitimer
Filip Bozuta1a674ad2020-08-11 18:45:53 +02001324{ TARGET_NR_setitimer, "setitimer" , NULL, print_setitimer,
1325 print_syscall_ret_setitimer },
ths33189d32007-11-01 00:13:36 +00001326#endif
1327#ifdef TARGET_NR_set_mempolicy
1328{ TARGET_NR_set_mempolicy, "set_mempolicy" , NULL, NULL, NULL },
1329#endif
Riku Voipio9af5c902014-08-12 15:58:57 +03001330#ifdef TARGET_NR_setns
1331{ TARGET_NR_setns, "setns" , NULL, NULL, NULL },
1332#endif
ths33189d32007-11-01 00:13:36 +00001333#ifdef TARGET_NR_setpgid
Helge Deller9cbc0572019-11-21 20:33:51 +01001334{ TARGET_NR_setpgid, "setpgid" , "%s(%u,%u)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +00001335#endif
1336#ifdef TARGET_NR_setpgrp
1337{ TARGET_NR_setpgrp, "setpgrp" , NULL, NULL, NULL },
1338#endif
1339#ifdef TARGET_NR_setpriority
1340{ TARGET_NR_setpriority, "setpriority" , NULL, NULL, NULL },
1341#endif
1342#ifdef TARGET_NR_setregid
1343{ TARGET_NR_setregid, "setregid" , NULL, NULL, NULL },
1344#endif
1345#ifdef TARGET_NR_setregid32
1346{ TARGET_NR_setregid32, "setregid32" , NULL, NULL, NULL },
1347#endif
1348#ifdef TARGET_NR_setresgid
Helge Deller9cbc0572019-11-21 20:33:51 +01001349{ TARGET_NR_setresgid, "setresgid" , "%s(%u,%u,%u)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +00001350#endif
1351#ifdef TARGET_NR_setresgid32
1352{ TARGET_NR_setresgid32, "setresgid32" , NULL, NULL, NULL },
1353#endif
1354#ifdef TARGET_NR_setresuid
Helge Deller9cbc0572019-11-21 20:33:51 +01001355{ TARGET_NR_setresuid, "setresuid" , "%s(%u,%u,%u)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +00001356#endif
1357#ifdef TARGET_NR_setresuid32
Helge Deller9cbc0572019-11-21 20:33:51 +01001358{ TARGET_NR_setresuid32, "setresuid32" , "%s(%u,%u,%u)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +00001359#endif
1360#ifdef TARGET_NR_setreuid
Helge Deller9cbc0572019-11-21 20:33:51 +01001361{ TARGET_NR_setreuid, "setreuid" , "%s(%u,%u)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +00001362#endif
1363#ifdef TARGET_NR_setreuid32
Helge Deller9cbc0572019-11-21 20:33:51 +01001364{ TARGET_NR_setreuid32, "setreuid32" , "%s(%u,%u)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +00001365#endif
1366#ifdef TARGET_NR_setrlimit
Helge Deller93cf7e62022-12-12 19:01:32 +01001367{ TARGET_NR_setrlimit, "setrlimit" , "%s(%d,%p)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +00001368#endif
1369#ifdef TARGET_NR_set_robust_list
Helge Deller93cf7e62022-12-12 19:01:32 +01001370{ TARGET_NR_set_robust_list, "set_robust_list" , "%s(%p,%u)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +00001371#endif
1372#ifdef TARGET_NR_setsid
Helge Deller9cbc0572019-11-21 20:33:51 +01001373{ TARGET_NR_setsid, "setsid" , "%s()", NULL, NULL },
ths33189d32007-11-01 00:13:36 +00001374#endif
1375#ifdef TARGET_NR_setsockopt
Helge Deller93cf7e62022-12-12 19:01:32 +01001376{ TARGET_NR_setsockopt, "setsockopt" , "%s(%d,%d,%d,%p,%p)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +00001377#endif
1378#ifdef TARGET_NR_set_thread_area
Laurent Vivier9a6309e2016-06-11 02:19:48 +02001379{ TARGET_NR_set_thread_area, "set_thread_area", "%s(0x"TARGET_ABI_FMT_lx")",
1380 NULL, NULL },
ths33189d32007-11-01 00:13:36 +00001381#endif
1382#ifdef TARGET_NR_set_tid_address
Helge Deller93cf7e62022-12-12 19:01:32 +01001383{ TARGET_NR_set_tid_address, "set_tid_address" , "%s(%p)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +00001384#endif
1385#ifdef TARGET_NR_settimeofday
Philippe Mathieu-Daudé0d2187c2019-10-21 13:48:51 +02001386{ TARGET_NR_settimeofday, "settimeofday" , NULL, print_settimeofday, NULL },
ths33189d32007-11-01 00:13:36 +00001387#endif
1388#ifdef TARGET_NR_setuid
1389{ TARGET_NR_setuid, "setuid" , NULL, NULL, NULL },
1390#endif
1391#ifdef TARGET_NR_setuid32
1392{ TARGET_NR_setuid32, "setuid32" , NULL, NULL, NULL },
1393#endif
1394#ifdef TARGET_NR_setxattr
1395{ TARGET_NR_setxattr, "setxattr" , NULL, NULL, NULL },
1396#endif
1397#ifdef TARGET_NR_sgetmask
1398{ TARGET_NR_sgetmask, "sgetmask" , NULL, NULL, NULL },
1399#endif
1400#ifdef TARGET_NR_shmat
Richard Henderson9f7c9732024-02-22 15:46:43 -10001401{ TARGET_NR_shmat, "shmat" , NULL, print_shmat, print_syscall_ret_addr },
ths33189d32007-11-01 00:13:36 +00001402#endif
1403#ifdef TARGET_NR_shmctl
1404{ TARGET_NR_shmctl, "shmctl" , NULL, NULL, NULL },
1405#endif
1406#ifdef TARGET_NR_shmdt
1407{ TARGET_NR_shmdt, "shmdt" , NULL, NULL, NULL },
1408#endif
1409#ifdef TARGET_NR_shmget
1410{ TARGET_NR_shmget, "shmget" , NULL, NULL, NULL },
1411#endif
1412#ifdef TARGET_NR_shutdown
1413{ TARGET_NR_shutdown, "shutdown" , NULL, NULL, NULL },
1414#endif
1415#ifdef TARGET_NR_sigaction
1416{ TARGET_NR_sigaction, "sigaction" , NULL, NULL, NULL },
1417#endif
1418#ifdef TARGET_NR_sigaltstack
1419{ TARGET_NR_sigaltstack, "sigaltstack" , "%s(%p,%p)", NULL, NULL },
1420#endif
1421#ifdef TARGET_NR_signal
1422{ TARGET_NR_signal, "signal" , NULL, NULL, NULL },
1423#endif
Aleksandar Markovicfea55612016-09-19 13:44:44 +02001424#ifdef TARGET_NR_signalfd
1425{ TARGET_NR_signalfd, "signalfd" , NULL, NULL, NULL },
1426#endif
1427#ifdef TARGET_NR_signalfd4
1428{ TARGET_NR_signalfd4, "signalfd4" , NULL, NULL, NULL },
1429#endif
ths33189d32007-11-01 00:13:36 +00001430#ifdef TARGET_NR_sigpending
1431{ TARGET_NR_sigpending, "sigpending" , NULL, NULL, NULL },
1432#endif
1433#ifdef TARGET_NR_sigprocmask
1434{ TARGET_NR_sigprocmask, "sigprocmask" , NULL, NULL, NULL },
1435#endif
1436#ifdef TARGET_NR_sigreturn
1437{ TARGET_NR_sigreturn, "sigreturn" , NULL, NULL, NULL },
1438#endif
1439#ifdef TARGET_NR_sigsuspend
1440{ TARGET_NR_sigsuspend, "sigsuspend" , NULL, NULL, NULL },
1441#endif
1442#ifdef TARGET_NR_socket
Laurent Vivier8997d1b2016-06-11 02:19:46 +02001443{ TARGET_NR_socket, "socket" , NULL, print_socket, NULL },
ths33189d32007-11-01 00:13:36 +00001444#endif
1445#ifdef TARGET_NR_socketcall
Laurent Vivierfb3aabf2016-06-11 02:19:45 +02001446{ TARGET_NR_socketcall, "socketcall" , NULL, print_socketcall, NULL },
ths33189d32007-11-01 00:13:36 +00001447#endif
1448#ifdef TARGET_NR_socketpair
1449{ TARGET_NR_socketpair, "socketpair" , NULL, NULL, NULL },
1450#endif
1451#ifdef TARGET_NR_splice
1452{ TARGET_NR_splice, "splice" , NULL, NULL, NULL },
1453#endif
1454#ifdef TARGET_NR_ssetmask
1455{ TARGET_NR_ssetmask, "ssetmask" , NULL, NULL, NULL },
1456#endif
1457#ifdef TARGET_NR_stat
Mika Westerberg74d753a2009-04-07 16:57:29 +03001458{ TARGET_NR_stat, "stat" , NULL, print_stat, NULL },
ths33189d32007-11-01 00:13:36 +00001459#endif
1460#ifdef TARGET_NR_stat64
Mika Westerberg74d753a2009-04-07 16:57:29 +03001461{ TARGET_NR_stat64, "stat64" , NULL, print_stat64, NULL },
ths33189d32007-11-01 00:13:36 +00001462#endif
1463#ifdef TARGET_NR_statfs
Mika Westerberg74d753a2009-04-07 16:57:29 +03001464{ TARGET_NR_statfs, "statfs" , NULL, print_statfs, NULL },
ths33189d32007-11-01 00:13:36 +00001465#endif
1466#ifdef TARGET_NR_statfs64
Mika Westerberg74d753a2009-04-07 16:57:29 +03001467{ TARGET_NR_statfs64, "statfs64" , NULL, print_statfs64, NULL },
ths33189d32007-11-01 00:13:36 +00001468#endif
1469#ifdef TARGET_NR_stime
1470{ TARGET_NR_stime, "stime" , NULL, NULL, NULL },
1471#endif
1472#ifdef TARGET_NR_streams1
1473{ TARGET_NR_streams1, "streams1" , NULL, NULL, NULL },
1474#endif
1475#ifdef TARGET_NR_streams2
1476{ TARGET_NR_streams2, "streams2" , NULL, NULL, NULL },
1477#endif
1478#ifdef TARGET_NR_stty
1479{ TARGET_NR_stty, "stty" , NULL, NULL, NULL },
1480#endif
1481#ifdef TARGET_NR_swapcontext
1482{ TARGET_NR_swapcontext, "swapcontext" , NULL, NULL, NULL },
1483#endif
1484#ifdef TARGET_NR_swapoff
1485{ TARGET_NR_swapoff, "swapoff" , NULL, NULL, NULL },
1486#endif
1487#ifdef TARGET_NR_swapon
1488{ TARGET_NR_swapon, "swapon" , NULL, NULL, NULL },
1489#endif
1490#ifdef TARGET_NR_symlink
Mika Westerberg74d753a2009-04-07 16:57:29 +03001491{ TARGET_NR_symlink, "symlink" , NULL, print_symlink, NULL },
ths33189d32007-11-01 00:13:36 +00001492#endif
1493#ifdef TARGET_NR_symlinkat
Mika Westerberg74d753a2009-04-07 16:57:29 +03001494{ TARGET_NR_symlinkat, "symlinkat", NULL, print_symlinkat, NULL },
ths33189d32007-11-01 00:13:36 +00001495#endif
1496#ifdef TARGET_NR_sync
1497{ TARGET_NR_sync, "sync" , NULL, NULL, NULL },
1498#endif
Aleksandar Markovicfea55612016-09-19 13:44:44 +02001499#ifdef TARGET_NR_syncfs
Aleksandar Markovic5a03cd02016-10-10 13:23:30 +02001500{ TARGET_NR_syncfs, "syncfs" , "%s(%d)", NULL, NULL },
Aleksandar Markovicfea55612016-09-19 13:44:44 +02001501#endif
ths33189d32007-11-01 00:13:36 +00001502#ifdef TARGET_NR_syscall
1503{ TARGET_NR_syscall, "syscall" , NULL, NULL, NULL },
1504#endif
1505#ifdef TARGET_NR__sysctl
1506{ TARGET_NR__sysctl, "_sysctl" , NULL, NULL, NULL },
1507#endif
ths33189d32007-11-01 00:13:36 +00001508#ifdef TARGET_NR_sysfs
1509{ TARGET_NR_sysfs, "sysfs" , NULL, NULL, NULL },
1510#endif
1511#ifdef TARGET_NR_sysinfo
Helge Dellerab6c4972023-01-27 21:18:58 +01001512{ TARGET_NR_sysinfo, "sysinfo" , "%s(%p)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +00001513#endif
1514#ifdef TARGET_NR_sys_kexec_load
1515{ TARGET_NR_sys_kexec_load, "sys_kexec_load" , NULL, NULL, NULL },
1516#endif
1517#ifdef TARGET_NR_syslog
Aleksandar Markovicda2c8ad2016-09-22 18:56:58 +02001518{ TARGET_NR_syslog, "syslog" , NULL, print_syslog, NULL },
ths33189d32007-11-01 00:13:36 +00001519#endif
1520#ifdef TARGET_NR_sysmips
1521{ TARGET_NR_sysmips, "sysmips" , NULL, NULL, NULL },
1522#endif
1523#ifdef TARGET_NR_sys_setaltroot
1524{ TARGET_NR_sys_setaltroot, "sys_setaltroot" , NULL, NULL, NULL },
1525#endif
1526#ifdef TARGET_NR_tee
1527{ TARGET_NR_tee, "tee" , NULL, NULL, NULL },
1528#endif
1529#ifdef TARGET_NR_tgkill
Miloš Stojanović51622642017-05-15 16:59:42 +02001530{ TARGET_NR_tgkill, "tgkill" , NULL, print_tgkill, NULL },
ths33189d32007-11-01 00:13:36 +00001531#endif
1532#ifdef TARGET_NR_time
1533{ TARGET_NR_time, "time" , NULL, NULL, NULL },
1534#endif
1535#ifdef TARGET_NR_timer_create
1536{ TARGET_NR_timer_create, "timer_create" , NULL, NULL, NULL },
1537#endif
1538#ifdef TARGET_NR_timer_delete
1539{ TARGET_NR_timer_delete, "timer_delete" , NULL, NULL, NULL },
1540#endif
1541#ifdef TARGET_NR_timer_getoverrun
1542{ TARGET_NR_timer_getoverrun, "timer_getoverrun" , NULL, NULL, NULL },
1543#endif
1544#ifdef TARGET_NR_timer_gettime
1545{ TARGET_NR_timer_gettime, "timer_gettime" , NULL, NULL, NULL },
1546#endif
1547#ifdef TARGET_NR_timer_settime
Helge Deller8b952102022-10-24 22:45:44 +02001548{ TARGET_NR_timer_settime, "timer_settime" , "%s(%d,%d,%p,%p)", NULL, NULL },
1549#endif
1550#ifdef TARGET_NR_timer_settime64
1551{ TARGET_NR_timer_settime64, "timer_settime64" , "%s(%d,%d,%p,%p)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +00001552#endif
Aleksandar Markovicfea55612016-09-19 13:44:44 +02001553#ifdef TARGET_NR_timerfd
1554{ TARGET_NR_timerfd, "timerfd" , NULL, NULL, NULL },
1555#endif
Riku Voipio51834342014-06-22 11:25:42 +01001556#ifdef TARGET_NR_timerfd_create
1557{ TARGET_NR_timerfd_create, "timerfd_create" , NULL, NULL, NULL },
1558#endif
1559#ifdef TARGET_NR_timerfd_gettime
1560{ TARGET_NR_timerfd_gettime, "timerfd_gettime" , NULL, NULL, NULL },
1561#endif
1562#ifdef TARGET_NR_timerfd_settime
1563{ TARGET_NR_timerfd_settime, "timerfd_settime" , NULL, NULL, NULL },
1564#endif
ths33189d32007-11-01 00:13:36 +00001565#ifdef TARGET_NR_times
1566{ TARGET_NR_times, "times" , NULL, NULL, NULL },
1567#endif
1568#ifdef TARGET_NR_tkill
Miloš Stojanović51622642017-05-15 16:59:42 +02001569{ TARGET_NR_tkill, "tkill" , NULL, print_tkill, NULL },
ths33189d32007-11-01 00:13:36 +00001570#endif
1571#ifdef TARGET_NR_truncate
Filip Bozuta7c89f342020-08-11 18:45:50 +02001572{ TARGET_NR_truncate, "truncate" , NULL, print_truncate, NULL },
ths33189d32007-11-01 00:13:36 +00001573#endif
1574#ifdef TARGET_NR_truncate64
Filip Bozuta7c89f342020-08-11 18:45:50 +02001575{ TARGET_NR_truncate64, "truncate64" , NULL, print_truncate64, NULL },
ths33189d32007-11-01 00:13:36 +00001576#endif
1577#ifdef TARGET_NR_tuxcall
1578{ TARGET_NR_tuxcall, "tuxcall" , NULL, NULL, NULL },
1579#endif
1580#ifdef TARGET_NR_ugetrlimit
1581{ TARGET_NR_ugetrlimit, "ugetrlimit" , NULL, NULL, NULL },
1582#endif
1583#ifdef TARGET_NR_ulimit
1584{ TARGET_NR_ulimit, "ulimit" , NULL, NULL, NULL },
1585#endif
1586#ifdef TARGET_NR_umask
1587{ TARGET_NR_umask, "umask" , "%s(%#o)", NULL, NULL },
1588#endif
1589#ifdef TARGET_NR_umount
Mika Westerberg74d753a2009-04-07 16:57:29 +03001590{ TARGET_NR_umount, "umount" , NULL, print_umount, NULL },
ths33189d32007-11-01 00:13:36 +00001591#endif
1592#ifdef TARGET_NR_umount2
Mika Westerberg74d753a2009-04-07 16:57:29 +03001593{ TARGET_NR_umount2, "umount2" , NULL, print_umount2, NULL },
ths33189d32007-11-01 00:13:36 +00001594#endif
1595#ifdef TARGET_NR_uname
1596{ TARGET_NR_uname, "uname" , "%s(%p)", NULL, NULL },
1597#endif
1598#ifdef TARGET_NR_unlink
Mika Westerberg74d753a2009-04-07 16:57:29 +03001599{ TARGET_NR_unlink, "unlink" , NULL, print_unlink, NULL },
ths33189d32007-11-01 00:13:36 +00001600#endif
1601#ifdef TARGET_NR_unlinkat
Mika Westerberg74d753a2009-04-07 16:57:29 +03001602{ TARGET_NR_unlinkat, "unlinkat" , NULL, print_unlinkat, NULL },
ths33189d32007-11-01 00:13:36 +00001603#endif
1604#ifdef TARGET_NR_unshare
Matus Kysel5847d302021-04-06 14:42:03 +00001605{ TARGET_NR_unshare, "unshare" , NULL, print_unshare, NULL },
ths33189d32007-11-01 00:13:36 +00001606#endif
Aleksandar Markovicfea55612016-09-19 13:44:44 +02001607#ifdef TARGET_NR_userfaultfd
1608{ TARGET_NR_userfaultfd, "userfaultfd" , NULL, NULL, NULL },
1609#endif
ths33189d32007-11-01 00:13:36 +00001610#ifdef TARGET_NR_unused109
1611{ TARGET_NR_unused109, "unused109" , NULL, NULL, NULL },
1612#endif
1613#ifdef TARGET_NR_unused150
1614{ TARGET_NR_unused150, "unused150" , NULL, NULL, NULL },
1615#endif
1616#ifdef TARGET_NR_unused18
1617{ TARGET_NR_unused18, "unused18" , NULL, NULL, NULL },
1618#endif
1619#ifdef TARGET_NR_unused28
1620{ TARGET_NR_unused28, "unused28" , NULL, NULL, NULL },
1621#endif
1622#ifdef TARGET_NR_unused59
1623{ TARGET_NR_unused59, "unused59" , NULL, NULL, NULL },
1624#endif
1625#ifdef TARGET_NR_unused84
1626{ TARGET_NR_unused84, "unused84" , NULL, NULL, NULL },
1627#endif
1628#ifdef TARGET_NR_uselib
1629{ TARGET_NR_uselib, "uselib" , NULL, NULL, NULL },
1630#endif
1631#ifdef TARGET_NR_ustat
1632{ TARGET_NR_ustat, "ustat" , "%s(%#x,%p)", NULL, NULL },
1633#endif
1634#ifdef TARGET_NR_utime
Mika Westerberg74d753a2009-04-07 16:57:29 +03001635{ TARGET_NR_utime, "utime" , NULL, print_utime, NULL },
ths33189d32007-11-01 00:13:36 +00001636#endif
1637#ifdef TARGET_NR_utimes
Mika Westerberg74d753a2009-04-07 16:57:29 +03001638{ TARGET_NR_utimes, "utimes" , NULL, print_utimes, NULL },
ths33189d32007-11-01 00:13:36 +00001639#endif
1640#ifdef TARGET_NR_utrap_install
1641{ TARGET_NR_utrap_install, "utrap_install" , NULL, NULL, NULL },
1642#endif
1643#ifdef TARGET_NR_vfork
1644{ TARGET_NR_vfork, "vfork" , NULL, NULL, NULL },
1645#endif
1646#ifdef TARGET_NR_vhangup
1647{ TARGET_NR_vhangup, "vhangup" , NULL, NULL, NULL },
1648#endif
1649#ifdef TARGET_NR_vm86
1650{ TARGET_NR_vm86, "vm86" , NULL, NULL, NULL },
1651#endif
1652#ifdef TARGET_NR_vm86old
1653{ TARGET_NR_vm86old, "vm86old" , NULL, NULL, NULL },
1654#endif
1655#ifdef TARGET_NR_vmsplice
1656{ TARGET_NR_vmsplice, "vmsplice" , NULL, NULL, NULL },
1657#endif
1658#ifdef TARGET_NR_vserver
1659{ TARGET_NR_vserver, "vserver" , NULL, NULL, NULL },
1660#endif
1661#ifdef TARGET_NR_wait4
Helge Deller93cf7e62022-12-12 19:01:32 +01001662{ TARGET_NR_wait4, "wait4" , "%s(%d,%p,%d,%p)", NULL, NULL },
ths33189d32007-11-01 00:13:36 +00001663#endif
1664#ifdef TARGET_NR_waitid
1665{ TARGET_NR_waitid, "waitid" , "%s(%#x,%d,%p,%#x)", NULL, NULL },
1666#endif
1667#ifdef TARGET_NR_waitpid
1668{ TARGET_NR_waitpid, "waitpid" , "%s(%d,%p,%#x)", NULL, NULL },
1669#endif
1670#ifdef TARGET_NR_write
1671{ TARGET_NR_write, "write" , "%s(%d,%#x,%d)", NULL, NULL },
1672#endif
1673#ifdef TARGET_NR_writev
1674{ TARGET_NR_writev, "writev" , "%s(%d,%p,%#x)", NULL, NULL },
1675#endif
1676#ifdef TARGET_NR_utimensat
Mika Westerberg74d753a2009-04-07 16:57:29 +03001677{ TARGET_NR_utimensat, "utimensat", NULL, print_utimensat, NULL },
ths33189d32007-11-01 00:13:36 +00001678#endif
Peter Maydellc727f472011-01-06 11:05:10 +00001679#ifdef TARGET_NR_sync_file_range
1680{ TARGET_NR_sync_file_range, "sync_file_range", NULL, NULL, NULL },
1681#endif
1682#ifdef TARGET_NR_sync_file_range2
1683{ TARGET_NR_sync_file_range2, "sync_file_range2", NULL, NULL, NULL },
1684#endif
Richard Hendersone7ea6cb2012-06-01 18:48:39 -07001685#ifdef TARGET_NR_pipe2
Helge Deller93cf7e62022-12-12 19:01:32 +01001686{ TARGET_NR_pipe2, "pipe2", "%s(%p,%d)", NULL, NULL },
Richard Hendersone7ea6cb2012-06-01 18:48:39 -07001687#endif
Helge Dellercc054c62022-09-18 21:45:46 +02001688#ifdef TARGET_NR_pidfd_open
1689{ TARGET_NR_pidfd_open, "pidfd_open", "%s(%d,%u)", NULL, NULL },
1690#endif
1691#ifdef TARGET_NR_pidfd_send_signal
1692{ TARGET_NR_pidfd_send_signal, "pidfd_send_signal", NULL, print_pidfd_send_signal, NULL },
1693#endif
1694#ifdef TARGET_NR_pidfd_getfd
1695{ TARGET_NR_pidfd_getfd, "pidfd_getfd", "%s(%d,%d,%u)", NULL, NULL },
1696#endif
Riku Voipio89aaf1a2013-07-24 09:44:26 +03001697#ifdef TARGET_NR_atomic_cmpxchg_32
1698{ TARGET_NR_atomic_cmpxchg_32, "atomic_cmpxchg_32", NULL, NULL, NULL },
1699#endif
1700#ifdef TARGET_NR_atomic_barrier
1701{ TARGET_NR_atomic_barrier, "atomic_barrier", NULL, NULL, NULL },
1702#endif
Jim Wilsond42744f2019-06-28 12:43:35 +02001703#ifdef TARGET_NR_statx
1704{ TARGET_NR_statx, "statx", NULL, print_statx, NULL },
1705#endif
Giuseppe Musacchiodb322142021-05-03 19:41:58 +02001706#ifdef TARGET_NR_copy_file_range
1707{ TARGET_NR_copy_file_range, "copy_file_range", "%s(%d,%p,%d,%p,"TARGET_ABI_FMT_lu",%u)", NULL, NULL },
1708#endif
Helge Delleraad43d12022-09-18 21:45:45 +02001709#ifdef TARGET_NR_clock_gettime64
1710{ TARGET_NR_clock_gettime64, "clock_gettime64" , NULL, print_clock_gettime64,
1711 print_syscall_ret_clock_gettime64 },
1712#endif