Commit 33189d31154c1738f0897a8f3475f1ecdaca9c78
1 parent
93a0019b
Add new files fir strace support, missed in earlier commit.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3504 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
2 changed files
with
1814 additions
and
0 deletions
linux-user/strace.c
0 → 100644
1 | +#include <stdio.h> | |
2 | +#include <errno.h> | |
3 | +#include <sys/ipc.h> | |
4 | +#include <sys/msg.h> | |
5 | +#include <sys/sem.h> | |
6 | +#include <sys/shm.h> | |
7 | +#include <sys/select.h> | |
8 | +#include <sys/types.h> | |
9 | +#include <unistd.h> | |
10 | +#include "qemu.h" | |
11 | + | |
12 | +int do_strace=0; | |
13 | + | |
14 | +struct syscallname { | |
15 | + int nr; | |
16 | + char *name; | |
17 | + char *format; | |
18 | + void (*call)(struct syscallname *, | |
19 | + target_long, target_long, target_long, | |
20 | + target_long, target_long, target_long); | |
21 | + void (*result)(struct syscallname *, target_long); | |
22 | +}; | |
23 | + | |
24 | +/* | |
25 | + * Utility functions | |
26 | + */ | |
27 | +static void | |
28 | +print_ipc_cmd(int cmd) | |
29 | +{ | |
30 | +#define output_cmd(val) \ | |
31 | +if( cmd == val ) { \ | |
32 | + gemu_log(#val); \ | |
33 | + return; \ | |
34 | +} | |
35 | + | |
36 | + cmd &= 0xff; | |
37 | + | |
38 | + /* General IPC commands */ | |
39 | + output_cmd( IPC_RMID ); | |
40 | + output_cmd( IPC_SET ); | |
41 | + output_cmd( IPC_STAT ); | |
42 | + output_cmd( IPC_INFO ); | |
43 | + /* msgctl() commands */ | |
44 | + #ifdef __USER_MISC | |
45 | + output_cmd( MSG_STAT ); | |
46 | + output_cmd( MSG_INFO ); | |
47 | + #endif | |
48 | + /* shmctl() commands */ | |
49 | + output_cmd( SHM_LOCK ); | |
50 | + output_cmd( SHM_UNLOCK ); | |
51 | + output_cmd( SHM_STAT ); | |
52 | + output_cmd( SHM_INFO ); | |
53 | + /* semctl() commands */ | |
54 | + output_cmd( GETPID ); | |
55 | + output_cmd( GETVAL ); | |
56 | + output_cmd( GETALL ); | |
57 | + output_cmd( GETNCNT ); | |
58 | + output_cmd( GETZCNT ); | |
59 | + output_cmd( SETVAL ); | |
60 | + output_cmd( SETALL ); | |
61 | + output_cmd( SEM_STAT ); | |
62 | + output_cmd( SEM_INFO ); | |
63 | + output_cmd( IPC_RMID ); | |
64 | + output_cmd( IPC_RMID ); | |
65 | + output_cmd( IPC_RMID ); | |
66 | + output_cmd( IPC_RMID ); | |
67 | + output_cmd( IPC_RMID ); | |
68 | + output_cmd( IPC_RMID ); | |
69 | + output_cmd( IPC_RMID ); | |
70 | + output_cmd( IPC_RMID ); | |
71 | + output_cmd( IPC_RMID ); | |
72 | + | |
73 | + /* Some value we don't recognize */ | |
74 | + gemu_log("%d",cmd); | |
75 | +} | |
76 | + | |
77 | +static void | |
78 | +print_fdset(int n, target_ulong target_fds_addr) | |
79 | +{ | |
80 | + int i; | |
81 | + | |
82 | + gemu_log("["); | |
83 | + if( target_fds_addr ) { | |
84 | + target_long *target_fds; | |
85 | + | |
86 | + if (!access_ok(VERIFY_READ, target_fds_addr, sizeof(*target_fds)*(n / TARGET_LONG_BITS + 1))) | |
87 | + return; | |
88 | + | |
89 | + target_fds = lock_user(target_fds_addr, sizeof(*target_fds)*(n / TARGET_LONG_BITS + 1), 1); | |
90 | + for (i=n; i>=0; i--) { | |
91 | + if ((tswapl(target_fds[i / TARGET_LONG_BITS]) >> (i & (TARGET_LONG_BITS - 1))) & 1) | |
92 | + gemu_log("%d,", i ); | |
93 | + } | |
94 | + unlock_user(target_fds, target_fds_addr, 0); | |
95 | + } | |
96 | + gemu_log("]"); | |
97 | +} | |
98 | + | |
99 | +static void | |
100 | +print_timeval(target_ulong tv_addr) | |
101 | +{ | |
102 | + if( tv_addr ) { | |
103 | + struct target_timeval *tv; | |
104 | + | |
105 | + if (!access_ok(VERIFY_READ, tv_addr, sizeof(*tv))) | |
106 | + return; | |
107 | + | |
108 | + tv = lock_user(tv_addr, sizeof(*tv), 1); | |
109 | + gemu_log("{%d,%d}", tv->tv_sec, tv->tv_usec); | |
110 | + unlock_user(tv, tv_addr, 0); | |
111 | + } else | |
112 | + gemu_log("NULL"); | |
113 | +} | |
114 | + | |
115 | +/* | |
116 | + * Sysycall specific output functions | |
117 | + */ | |
118 | + | |
119 | +/* select */ | |
120 | +static long newselect_arg1 = 0; | |
121 | +static long newselect_arg2 = 0; | |
122 | +static long newselect_arg3 = 0; | |
123 | +static long newselect_arg4 = 0; | |
124 | +static long newselect_arg5 = 0; | |
125 | + | |
126 | +static void | |
127 | +print_newselect(struct syscallname *name, | |
128 | + target_long arg1, target_long arg2, target_long arg3, | |
129 | + target_long arg4, target_long arg5, target_long arg6) | |
130 | +{ | |
131 | + gemu_log("%s(" TARGET_FMT_ld ",", name->name, arg1); | |
132 | + print_fdset(arg1, arg2); | |
133 | + gemu_log(","); | |
134 | + print_fdset(arg1, arg3); | |
135 | + gemu_log(","); | |
136 | + print_fdset(arg1, arg4); | |
137 | + gemu_log(","); | |
138 | + print_timeval(arg5); | |
139 | + gemu_log(")"); | |
140 | + | |
141 | + /* save for use in the return output function below */ | |
142 | + newselect_arg1=arg1; | |
143 | + newselect_arg2=arg2; | |
144 | + newselect_arg3=arg3; | |
145 | + newselect_arg4=arg4; | |
146 | + newselect_arg5=arg5; | |
147 | +} | |
148 | + | |
149 | +static void | |
150 | +print_semctl(struct syscallname *name, | |
151 | + target_long arg1, target_long arg2, target_long arg3, | |
152 | + target_long arg4, target_long arg5, target_long arg6) | |
153 | +{ | |
154 | + gemu_log("%s(" TARGET_FMT_ld "," TARGET_FMT_ld ",", name->name, arg1, arg2); | |
155 | + print_ipc_cmd(arg3); | |
156 | + gemu_log(",0x" TARGET_FMT_lx ")", arg4); | |
157 | +} | |
158 | + | |
159 | +static void | |
160 | +print_execve(struct syscallname *name, | |
161 | + target_long arg1, target_long arg2, target_long arg3, | |
162 | + target_long arg4, target_long arg5, target_long arg6) | |
163 | +{ | |
164 | + target_ulong arg_ptr_addr; | |
165 | + char *s; | |
166 | + | |
167 | + if (!access_ok(VERIFY_READ, arg1, 1)) | |
168 | + return; | |
169 | + | |
170 | + s = lock_user_string(arg1); | |
171 | + gemu_log("%s(\"%s\",{", name->name, s); | |
172 | + unlock_user(s, arg1, 0); | |
173 | + | |
174 | + for (arg_ptr_addr = arg2; ; arg_ptr_addr += sizeof(target_ulong)) { | |
175 | + target_ulong *arg_ptr, arg_addr, s_addr; | |
176 | + | |
177 | + if (!access_ok(VERIFY_READ, arg_ptr_addr, sizeof(target_ulong))) | |
178 | + return; | |
179 | + | |
180 | + arg_ptr = lock_user(arg_ptr_addr, sizeof(target_ulong), 1); | |
181 | + arg_addr = tswapl(*arg_ptr); | |
182 | + unlock_user(arg_ptr, arg_ptr_addr, 0); | |
183 | + if (!arg_addr) | |
184 | + break; | |
185 | + s = lock_user_string(arg_addr); | |
186 | + gemu_log("\"%s\",", s); | |
187 | + unlock_user(s, s_addr, 0); | |
188 | + } | |
189 | + | |
190 | + gemu_log("NULL})"); | |
191 | +} | |
192 | + | |
193 | +static void | |
194 | +print_ipc(struct syscallname *name, | |
195 | + target_long arg1, target_long arg2, target_long arg3, | |
196 | + target_long arg4, target_long arg5, target_long arg6) | |
197 | +{ | |
198 | + switch(arg1) { | |
199 | + case IPCOP_semctl: | |
200 | + name->name = "semctl"; | |
201 | + print_semctl(name,arg2,arg3,arg4,arg5,arg6,0); | |
202 | + break; | |
203 | + default: | |
204 | + gemu_log("%s(" TARGET_FMT_ld "," TARGET_FMT_ld "," TARGET_FMT_ld "," TARGET_FMT_ld ")", | |
205 | + name->name, arg1, arg2, arg3, arg4); | |
206 | + } | |
207 | +} | |
208 | + | |
209 | +/* | |
210 | + * Variants for the return value output function | |
211 | + */ | |
212 | + | |
213 | +static void | |
214 | +print_syscall_ret_addr(struct syscallname *name, target_long ret) | |
215 | +{ | |
216 | +if( ret == -1 ) { | |
217 | + gemu_log(" = -1 errno=%d (%s)\n", errno, target_strerror(errno)); | |
218 | + } else { | |
219 | + gemu_log(" = " TARGET_FMT_lx "\n", ret); | |
220 | + } | |
221 | +} | |
222 | + | |
223 | +static void | |
224 | +print_syscall_ret_raw(struct syscallname *name, target_long ret) | |
225 | +{ | |
226 | + gemu_log(" = " TARGET_FMT_lx "\n", ret); | |
227 | +} | |
228 | + | |
229 | +static void | |
230 | +print_syscall_ret_newselect(struct syscallname *name, target_long ret) | |
231 | +{ | |
232 | + gemu_log(" = " TARGET_FMT_lx " (", ret); | |
233 | + print_fdset(newselect_arg1,newselect_arg2); | |
234 | + gemu_log(","); | |
235 | + print_fdset(newselect_arg1,newselect_arg3); | |
236 | + gemu_log(","); | |
237 | + print_fdset(newselect_arg1,newselect_arg4); | |
238 | + gemu_log(","); | |
239 | + print_timeval(newselect_arg5); | |
240 | + gemu_log(")\n"); | |
241 | +} | |
242 | + | |
243 | +/* | |
244 | + * An array of all of the syscalls we know about | |
245 | + */ | |
246 | + | |
247 | +static struct syscallname scnames[] = { | |
248 | +#include "strace.list" | |
249 | +}; | |
250 | + | |
251 | +static int nsyscalls = sizeof(scnames)/sizeof(struct syscallname); | |
252 | + | |
253 | +/* | |
254 | + * The public interface to this module. | |
255 | + */ | |
256 | +void | |
257 | +print_syscall(int num, | |
258 | + target_long arg1, target_long arg2, target_long arg3, | |
259 | + target_long arg4, target_long arg5, target_long arg6) | |
260 | +{ | |
261 | + int i; | |
262 | + char *format="%s(%ld,%ld,%ld,%ld,%ld,%ld)"; | |
263 | + | |
264 | + gemu_log("%d ", getpid() ); | |
265 | + | |
266 | + for(i=0;i<nsyscalls;i++) | |
267 | + if( scnames[i].nr == num ) { | |
268 | + if( scnames[i].call != NULL ) { | |
269 | + scnames[i].call(&scnames[i],arg1,arg2,arg3,arg4,arg5,arg6); | |
270 | + } else { | |
271 | + if( scnames[i].format != NULL ) | |
272 | + format = scnames[i].format; | |
273 | + gemu_log(format,scnames[i].name, arg1,arg2,arg3,arg4,arg5,arg6); | |
274 | + } | |
275 | + break; | |
276 | + } | |
277 | +} | |
278 | + | |
279 | + | |
280 | +void | |
281 | +print_syscall_ret(int num, target_long ret) | |
282 | +{ | |
283 | + int i; | |
284 | + | |
285 | + for(i=0;i<nsyscalls;i++) | |
286 | + if( scnames[i].nr == num ) { | |
287 | + if( scnames[i].result != NULL ) { | |
288 | + scnames[i].result(&scnames[i],ret); | |
289 | + } else { | |
290 | + if( ret < 0 ) { | |
291 | + gemu_log(" = -1 errno=%d (%s)\n", -ret, target_strerror(-ret)); | |
292 | + } else { | |
293 | + gemu_log(" = %d\n", ret); | |
294 | + } | |
295 | + } | |
296 | + break; | |
297 | + } | |
298 | +} | |
299 | + | ... | ... |
linux-user/strace.list
0 → 100644
1 | +#ifdef TARGET_NR_accept | |
2 | +{ TARGET_NR_accept, "accept" , "%s(%d,%#x,%#x)", NULL, NULL }, | |
3 | +#endif | |
4 | +#ifdef TARGET_NR_access | |
5 | +{ TARGET_NR_access, "access" , "%s(\"%s\",%#o)", NULL, NULL }, | |
6 | +#endif | |
7 | +#ifdef TARGET_NR_acct | |
8 | +{ TARGET_NR_acct, "acct" , NULL, NULL, NULL }, | |
9 | +#endif | |
10 | +#ifdef TARGET_NR_add_key | |
11 | +{ TARGET_NR_add_key, "add_key" , NULL, NULL, NULL }, | |
12 | +#endif | |
13 | +#ifdef TARGET_NR_adjtimex | |
14 | +{ TARGET_NR_adjtimex, "adjtimex" , NULL, NULL, NULL }, | |
15 | +#endif | |
16 | +#ifdef TARGET_NR_afs_syscall | |
17 | +{ TARGET_NR_afs_syscall, "afs_syscall" , NULL, NULL, NULL }, | |
18 | +#endif | |
19 | +#ifdef TARGET_NR_alarm | |
20 | +{ TARGET_NR_alarm, "alarm" , NULL, NULL, NULL }, | |
21 | +#endif | |
22 | +#ifdef TARGET_NR_aplib | |
23 | +{ TARGET_NR_aplib, "aplib" , NULL, NULL, NULL }, | |
24 | +#endif | |
25 | +#ifdef TARGET_NR_arch_prctl | |
26 | +{ TARGET_NR_arch_prctl, "arch_prctl" , NULL, NULL, NULL }, | |
27 | +#endif | |
28 | +#ifdef TARGET_NR_arm_fadvise64_64 | |
29 | +{ TARGET_NR_arm_fadvise64_64, "arm_fadvise64_64" , NULL, NULL, NULL }, | |
30 | +#endif | |
31 | +#ifdef TARGET_NR_bdflush | |
32 | +{ TARGET_NR_bdflush, "bdflush" , NULL, NULL, NULL }, | |
33 | +#endif | |
34 | +#ifdef TARGET_NR_bind | |
35 | +{ TARGET_NR_bind, "bind" , NULL, NULL, NULL }, | |
36 | +#endif | |
37 | +#ifdef TARGET_NR_break | |
38 | +{ TARGET_NR_break, "break" , NULL, NULL, NULL }, | |
39 | +#endif | |
40 | +#ifdef TARGET_NR_brk | |
41 | +{ TARGET_NR_brk, "brk" , NULL, NULL, print_syscall_ret_addr }, | |
42 | +#endif | |
43 | +#ifdef TARGET_NR_cachectl | |
44 | +{ TARGET_NR_cachectl, "cachectl" , NULL, NULL, NULL }, | |
45 | +#endif | |
46 | +#ifdef TARGET_NR_cacheflush | |
47 | +{ TARGET_NR_cacheflush, "cacheflush" , NULL, NULL, NULL }, | |
48 | +#endif | |
49 | +#ifdef TARGET_NR_capget | |
50 | +{ TARGET_NR_capget, "capget" , NULL, NULL, NULL }, | |
51 | +#endif | |
52 | +#ifdef TARGET_NR_capset | |
53 | +{ TARGET_NR_capset, "capset" , NULL, NULL, NULL }, | |
54 | +#endif | |
55 | +#ifdef TARGET_NR_chdir | |
56 | +{ TARGET_NR_chdir, "chdir" , "%s(\"%s\")", NULL, NULL }, | |
57 | +#endif | |
58 | +#ifdef TARGET_NR_chmod | |
59 | +{ TARGET_NR_chmod, "chmod" , "%s(\"%s\",%#o)", NULL, NULL }, | |
60 | +#endif | |
61 | +#ifdef TARGET_NR_chown | |
62 | +{ TARGET_NR_chown, "chown" , NULL, NULL, NULL }, | |
63 | +#endif | |
64 | +#ifdef TARGET_NR_chown32 | |
65 | +{ TARGET_NR_chown32, "chown32" , NULL, NULL, NULL }, | |
66 | +#endif | |
67 | +#ifdef TARGET_NR_chroot | |
68 | +{ TARGET_NR_chroot, "chroot" , NULL, NULL, NULL }, | |
69 | +#endif | |
70 | +#ifdef TARGET_NR_clock_getres | |
71 | +{ TARGET_NR_clock_getres, "clock_getres" , NULL, NULL, NULL }, | |
72 | +#endif | |
73 | +#ifdef TARGET_NR_clock_gettime | |
74 | +{ TARGET_NR_clock_gettime, "clock_gettime" , NULL, NULL, NULL }, | |
75 | +#endif | |
76 | +#ifdef TARGET_NR_clock_nanosleep | |
77 | +{ TARGET_NR_clock_nanosleep, "clock_nanosleep" , NULL, NULL, NULL }, | |
78 | +#endif | |
79 | +#ifdef TARGET_NR_clock_settime | |
80 | +{ TARGET_NR_clock_settime, "clock_settime" , NULL, NULL, NULL }, | |
81 | +#endif | |
82 | +#ifdef TARGET_NR_clone | |
83 | +{ TARGET_NR_clone, "clone" , NULL, NULL, NULL }, | |
84 | +#endif | |
85 | +#ifdef TARGET_NR_close | |
86 | +{ TARGET_NR_close, "close" , "%s(%d)", NULL, NULL }, | |
87 | +#endif | |
88 | +#ifdef TARGET_NR_connect | |
89 | +{ TARGET_NR_connect, "connect" , "%s(%d,%#x,%d)", NULL, NULL }, | |
90 | +#endif | |
91 | +#ifdef TARGET_NR_creat | |
92 | +{ TARGET_NR_creat, "creat" , "%s(\"%s\",%#o)", NULL, NULL }, | |
93 | +#endif | |
94 | +#ifdef TARGET_NR_create_module | |
95 | +{ TARGET_NR_create_module, "create_module" , NULL, NULL, NULL }, | |
96 | +#endif | |
97 | +#ifdef TARGET_NR_delete_module | |
98 | +{ TARGET_NR_delete_module, "delete_module" , NULL, NULL, NULL }, | |
99 | +#endif | |
100 | +#ifdef TARGET_NR_dipc | |
101 | +{ TARGET_NR_dipc, "dipc" , NULL, NULL, NULL }, | |
102 | +#endif | |
103 | +#ifdef TARGET_NR_dup | |
104 | +{ TARGET_NR_dup, "dup" , NULL, NULL, NULL }, | |
105 | +#endif | |
106 | +#ifdef TARGET_NR_dup2 | |
107 | +{ TARGET_NR_dup2, "dup2" , NULL, NULL, NULL }, | |
108 | +#endif | |
109 | +#ifdef TARGET_NR_epoll_create | |
110 | +{ TARGET_NR_epoll_create, "epoll_create" , NULL, NULL, NULL }, | |
111 | +#endif | |
112 | +#ifdef TARGET_NR_epoll_ctl | |
113 | +{ TARGET_NR_epoll_ctl, "epoll_ctl" , NULL, NULL, NULL }, | |
114 | +#endif | |
115 | +#ifdef TARGET_NR_epoll_ctl_old | |
116 | +{ TARGET_NR_epoll_ctl_old, "epoll_ctl_old" , NULL, NULL, NULL }, | |
117 | +#endif | |
118 | +#ifdef TARGET_NR_epoll_wait | |
119 | +{ TARGET_NR_epoll_wait, "epoll_wait" , NULL, NULL, NULL }, | |
120 | +#endif | |
121 | +#ifdef TARGET_NR_epoll_wait_old | |
122 | +{ TARGET_NR_epoll_wait_old, "epoll_wait_old" , NULL, NULL, NULL }, | |
123 | +#endif | |
124 | +#ifdef TARGET_NR_execv | |
125 | +{ TARGET_NR_execv, "execv" , "%s(\"%s\",%ld,%ld,%ld,%ld,%ld)\n", NULL, NULL }, | |
126 | +#endif | |
127 | +#ifdef TARGET_NR_execve | |
128 | +{ TARGET_NR_execve, "execve" , NULL, print_execve, NULL }, | |
129 | +#endif | |
130 | +#ifdef TARGET_NR_exec_with_loader | |
131 | +{ TARGET_NR_exec_with_loader, "exec_with_loader" , NULL, NULL, NULL }, | |
132 | +#endif | |
133 | +#ifdef TARGET_NR_exit | |
134 | +{ TARGET_NR_exit, "exit" , "%s(%d)\n", NULL, NULL }, | |
135 | +#endif | |
136 | +#ifdef TARGET_NR__exit | |
137 | +{ TARGET_NR__exit, "_exit" , "%s(%d)\n", NULL, NULL }, | |
138 | +#endif | |
139 | +#ifdef TARGET_NR_exit_group | |
140 | +{ TARGET_NR_exit_group, "exit_group" , "%s(%d)\n", NULL, NULL }, | |
141 | +#endif | |
142 | +#ifdef TARGET_NR_faccessat | |
143 | +{ TARGET_NR_faccessat, "faccessat" , "%s(%d,\"%s\",%#o,%#x)", NULL, NULL }, | |
144 | +#endif | |
145 | +#ifdef TARGET_NR_fadvise64 | |
146 | +{ TARGET_NR_fadvise64, "fadvise64" , NULL, NULL, NULL }, | |
147 | +#endif | |
148 | +#ifdef TARGET_NR_fadvise64_64 | |
149 | +{ TARGET_NR_fadvise64_64, "fadvise64_64" , NULL, NULL, NULL }, | |
150 | +#endif | |
151 | +#ifdef TARGET_NR_fchdir | |
152 | +{ TARGET_NR_fchdir, "fchdir" , NULL, NULL, NULL }, | |
153 | +#endif | |
154 | +#ifdef TARGET_NR_fchmod | |
155 | +{ TARGET_NR_fchmod, "fchmod" , "%s(%d,%#o)", NULL, NULL }, | |
156 | +#endif | |
157 | +#ifdef TARGET_NR_fchmodat | |
158 | +{ TARGET_NR_fchmodat, "fchmodat" , "%s(%d,\"%s\",%#o,%#x)", NULL, NULL }, | |
159 | +#endif | |
160 | +#ifdef TARGET_NR_fchown | |
161 | +{ TARGET_NR_fchown, "fchown" , "%s(\"%s\",%d,%d)", NULL, NULL }, | |
162 | +#endif | |
163 | +#ifdef TARGET_NR_fchown32 | |
164 | +{ TARGET_NR_fchown32, "fchown32" , NULL, NULL, NULL }, | |
165 | +#endif | |
166 | +#ifdef TARGET_NR_fchownat | |
167 | +{ TARGET_NR_fchownat, "fchownat" , "%s(%d,\"%s\",%d,%d,%#x)", NULL, NULL }, | |
168 | +#endif | |
169 | +#ifdef TARGET_NR_fcntl | |
170 | +{ TARGET_NR_fcntl, "fcntl" , NULL, NULL, NULL }, | |
171 | +#endif | |
172 | +#ifdef TARGET_NR_fcntl64 | |
173 | +{ TARGET_NR_fcntl64, "fcntl64" , NULL, NULL, NULL }, | |
174 | +#endif | |
175 | +#ifdef TARGET_NR_fdatasync | |
176 | +{ TARGET_NR_fdatasync, "fdatasync" , NULL, NULL, NULL }, | |
177 | +#endif | |
178 | +#ifdef TARGET_NR_fgetxattr | |
179 | +{ TARGET_NR_fgetxattr, "fgetxattr" , NULL, NULL, NULL }, | |
180 | +#endif | |
181 | +#ifdef TARGET_NR_flistxattr | |
182 | +{ TARGET_NR_flistxattr, "flistxattr" , NULL, NULL, NULL }, | |
183 | +#endif | |
184 | +#ifdef TARGET_NR_flock | |
185 | +{ TARGET_NR_flock, "flock" , NULL, NULL, NULL }, | |
186 | +#endif | |
187 | +#ifdef TARGET_NR_fork | |
188 | +{ TARGET_NR_fork, "fork" , "%s()", NULL, NULL }, | |
189 | +#endif | |
190 | +#ifdef TARGET_NR_fremovexattr | |
191 | +{ TARGET_NR_fremovexattr, "fremovexattr" , NULL, NULL, NULL }, | |
192 | +#endif | |
193 | +#ifdef TARGET_NR_fsetxattr | |
194 | +{ TARGET_NR_fsetxattr, "fsetxattr" , NULL, NULL, NULL }, | |
195 | +#endif | |
196 | +#ifdef TARGET_NR_fstat | |
197 | +{ TARGET_NR_fstat, "fstat" , "%s(%d,%p)", NULL, NULL }, | |
198 | +#endif | |
199 | +#ifdef TARGET_NR_fstat64 | |
200 | +{ TARGET_NR_fstat64, "fstat64" , "%s(%d,%p)", NULL, NULL }, | |
201 | +#endif | |
202 | +#ifdef TARGET_NR_fstatfs | |
203 | +{ TARGET_NR_fstatfs, "fstatfs" , "%s(%d,%p)", NULL, NULL }, | |
204 | +#endif | |
205 | +#ifdef TARGET_NR_fstatfs64 | |
206 | +{ TARGET_NR_fstatfs64, "fstatfs64" , "%s(%d,%p)", NULL, NULL }, | |
207 | +#endif | |
208 | +#ifdef TARGET_NR_fsync | |
209 | +{ TARGET_NR_fsync, "fsync" , NULL, NULL, NULL }, | |
210 | +#endif | |
211 | +#ifdef TARGET_NR_ftime | |
212 | +{ TARGET_NR_ftime, "ftime" , NULL, NULL, NULL }, | |
213 | +#endif | |
214 | +#ifdef TARGET_NR_ftruncate | |
215 | +{ TARGET_NR_ftruncate, "ftruncate" , NULL, NULL, NULL }, | |
216 | +#endif | |
217 | +#ifdef TARGET_NR_ftruncate64 | |
218 | +{ TARGET_NR_ftruncate64, "ftruncate64" , NULL, NULL, NULL }, | |
219 | +#endif | |
220 | +#ifdef TARGET_NR_futex | |
221 | +{ TARGET_NR_futex, "futex" , NULL, NULL, NULL }, | |
222 | +#endif | |
223 | +#ifdef TARGET_NR_futimesat | |
224 | +{ TARGET_NR_futimesat, "futimesat" , "%s(%d,\"%s\",%p)", NULL, NULL }, | |
225 | +#endif | |
226 | +#ifdef TARGET_NR_getcwd | |
227 | +{ TARGET_NR_getcwd, "getcwd" , "%s(%p,%d)", NULL, NULL }, | |
228 | +#endif | |
229 | +#ifdef TARGET_NR_getdents | |
230 | +{ TARGET_NR_getdents, "getdents" , NULL, NULL, NULL }, | |
231 | +#endif | |
232 | +#ifdef TARGET_NR_getdents64 | |
233 | +{ TARGET_NR_getdents64, "getdents64" , NULL, NULL, NULL }, | |
234 | +#endif | |
235 | +#ifdef TARGET_NR_getdomainname | |
236 | +{ TARGET_NR_getdomainname, "getdomainname" , NULL, NULL, NULL }, | |
237 | +#endif | |
238 | +#ifdef TARGET_NR_getdtablesize | |
239 | +{ TARGET_NR_getdtablesize, "getdtablesize" , NULL, NULL, NULL }, | |
240 | +#endif | |
241 | +#ifdef TARGET_NR_getegid | |
242 | +{ TARGET_NR_getegid, "getegid" , NULL, NULL, NULL }, | |
243 | +#endif | |
244 | +#ifdef TARGET_NR_getegid32 | |
245 | +{ TARGET_NR_getegid32, "getegid32" , NULL, NULL, NULL }, | |
246 | +#endif | |
247 | +#ifdef TARGET_NR_geteuid | |
248 | +{ TARGET_NR_geteuid, "geteuid" , NULL, NULL, NULL }, | |
249 | +#endif | |
250 | +#ifdef TARGET_NR_geteuid32 | |
251 | +{ TARGET_NR_geteuid32, "geteuid32" , NULL, NULL, NULL }, | |
252 | +#endif | |
253 | +#ifdef TARGET_NR_getgid | |
254 | +{ TARGET_NR_getgid, "getgid" , NULL, NULL, NULL }, | |
255 | +#endif | |
256 | +#ifdef TARGET_NR_getgid32 | |
257 | +{ TARGET_NR_getgid32, "getgid32" , NULL, NULL, NULL }, | |
258 | +#endif | |
259 | +#ifdef TARGET_NR_getgroups | |
260 | +{ TARGET_NR_getgroups, "getgroups" , NULL, NULL, NULL }, | |
261 | +#endif | |
262 | +#ifdef TARGET_NR_getgroups32 | |
263 | +{ TARGET_NR_getgroups32, "getgroups32" , NULL, NULL, NULL }, | |
264 | +#endif | |
265 | +#ifdef TARGET_NR_gethostname | |
266 | +{ TARGET_NR_gethostname, "gethostname" , NULL, NULL, NULL }, | |
267 | +#endif | |
268 | +#ifdef TARGET_NR_getitimer | |
269 | +{ TARGET_NR_getitimer, "getitimer" , NULL, NULL, NULL }, | |
270 | +#endif | |
271 | +#ifdef TARGET_NR_get_kernel_syms | |
272 | +{ TARGET_NR_get_kernel_syms, "get_kernel_syms" , NULL, NULL, NULL }, | |
273 | +#endif | |
274 | +#ifdef TARGET_NR_get_mempolicy | |
275 | +{ TARGET_NR_get_mempolicy, "get_mempolicy" , NULL, NULL, NULL }, | |
276 | +#endif | |
277 | +#ifdef TARGET_NR_getpagesize | |
278 | +{ TARGET_NR_getpagesize, "getpagesize" , NULL, NULL, NULL }, | |
279 | +#endif | |
280 | +#ifdef TARGET_NR_getpeername | |
281 | +{ TARGET_NR_getpeername, "getpeername" , NULL, NULL, NULL }, | |
282 | +#endif | |
283 | +#ifdef TARGET_NR_getpgid | |
284 | +{ TARGET_NR_getpgid, "getpgid" , NULL, NULL, NULL }, | |
285 | +#endif | |
286 | +#ifdef TARGET_NR_getpgrp | |
287 | +{ TARGET_NR_getpgrp, "getpgrp" , NULL, NULL, NULL }, | |
288 | +#endif | |
289 | +#ifdef TARGET_NR_getpid | |
290 | +{ TARGET_NR_getpid, "getpid" , NULL, NULL, NULL }, | |
291 | +#endif | |
292 | +#ifdef TARGET_NR_getpmsg | |
293 | +{ TARGET_NR_getpmsg, "getpmsg" , NULL, NULL, NULL }, | |
294 | +#endif | |
295 | +#ifdef TARGET_NR_getppid | |
296 | +{ TARGET_NR_getppid, "getppid" , NULL, NULL, NULL }, | |
297 | +#endif | |
298 | +#ifdef TARGET_NR_getpriority | |
299 | +{ TARGET_NR_getpriority, "getpriority", "%s(%#x,%#x)", NULL, NULL }, | |
300 | +#endif | |
301 | +#ifdef TARGET_NR_getresgid | |
302 | +{ TARGET_NR_getresgid, "getresgid" , NULL, NULL, NULL }, | |
303 | +#endif | |
304 | +#ifdef TARGET_NR_getresgid32 | |
305 | +{ TARGET_NR_getresgid32, "getresgid32" , NULL, NULL, NULL }, | |
306 | +#endif | |
307 | +#ifdef TARGET_NR_getresuid | |
308 | +{ TARGET_NR_getresuid, "getresuid" , NULL, NULL, NULL }, | |
309 | +#endif | |
310 | +#ifdef TARGET_NR_getresuid32 | |
311 | +{ TARGET_NR_getresuid32, "getresuid32" , NULL, NULL, NULL }, | |
312 | +#endif | |
313 | +#ifdef TARGET_NR_getrlimit | |
314 | +{ TARGET_NR_getrlimit, "getrlimit" , NULL, NULL, NULL }, | |
315 | +#endif | |
316 | +#ifdef TARGET_NR_get_robust_list | |
317 | +{ TARGET_NR_get_robust_list, "get_robust_list" , NULL, NULL, NULL }, | |
318 | +#endif | |
319 | +#ifdef TARGET_NR_getrusage | |
320 | +{ TARGET_NR_getrusage, "getrusage" , NULL, NULL, NULL }, | |
321 | +#endif | |
322 | +#ifdef TARGET_NR_getsid | |
323 | +{ TARGET_NR_getsid, "getsid" , NULL, NULL, NULL }, | |
324 | +#endif | |
325 | +#ifdef TARGET_NR_getsockname | |
326 | +{ TARGET_NR_getsockname, "getsockname" , NULL, NULL, NULL }, | |
327 | +#endif | |
328 | +#ifdef TARGET_NR_getsockopt | |
329 | +{ TARGET_NR_getsockopt, "getsockopt" , NULL, NULL, NULL }, | |
330 | +#endif | |
331 | +#ifdef TARGET_NR_get_thread_area | |
332 | +{ TARGET_NR_get_thread_area, "get_thread_area" , NULL, NULL, NULL }, | |
333 | +#endif | |
334 | +#ifdef TARGET_NR_gettid | |
335 | +{ TARGET_NR_gettid, "gettid" , NULL, NULL, NULL }, | |
336 | +#endif | |
337 | +#ifdef TARGET_NR_gettimeofday | |
338 | +{ TARGET_NR_gettimeofday, "gettimeofday" , NULL, NULL, NULL }, | |
339 | +#endif | |
340 | +#ifdef TARGET_NR_getuid | |
341 | +{ TARGET_NR_getuid, "getuid" , NULL, NULL, NULL }, | |
342 | +#endif | |
343 | +#ifdef TARGET_NR_getuid32 | |
344 | +{ TARGET_NR_getuid32, "getuid32" , NULL, NULL, NULL }, | |
345 | +#endif | |
346 | +#ifdef TARGET_NR_getxattr | |
347 | +{ TARGET_NR_getxattr, "getxattr" , NULL, NULL, NULL }, | |
348 | +#endif | |
349 | +#ifdef TARGET_NR_getxgid | |
350 | +{ TARGET_NR_getxgid, "getxgid" , NULL, NULL, NULL }, | |
351 | +#endif | |
352 | +#ifdef TARGET_NR_getxpid | |
353 | +{ TARGET_NR_getxpid, "getxpid" , NULL, NULL, NULL }, | |
354 | +#endif | |
355 | +#ifdef TARGET_NR_getxuid | |
356 | +{ TARGET_NR_getxuid, "getxuid" , NULL, NULL, NULL }, | |
357 | +#endif | |
358 | +#ifdef TARGET_NR_gtty | |
359 | +{ TARGET_NR_gtty, "gtty" , NULL, NULL, NULL }, | |
360 | +#endif | |
361 | +#ifdef TARGET_NR_idle | |
362 | +{ TARGET_NR_idle, "idle" , NULL, NULL, NULL }, | |
363 | +#endif | |
364 | +#ifdef TARGET_NR_init_module | |
365 | +{ TARGET_NR_init_module, "init_module" , NULL, NULL, NULL }, | |
366 | +#endif | |
367 | +#ifdef TARGET_NR_inotify_add_watch | |
368 | +{ TARGET_NR_inotify_add_watch, "inotify_add_watch" , NULL, NULL, NULL }, | |
369 | +#endif | |
370 | +#ifdef TARGET_NR_inotify_init | |
371 | +{ TARGET_NR_inotify_init, "inotify_init" , NULL, NULL, NULL }, | |
372 | +#endif | |
373 | +#ifdef TARGET_NR_inotify_rm_watch | |
374 | +{ TARGET_NR_inotify_rm_watch, "inotify_rm_watch" , NULL, NULL, NULL }, | |
375 | +#endif | |
376 | +#ifdef TARGET_NR_io_cancel | |
377 | +{ TARGET_NR_io_cancel, "io_cancel" , NULL, NULL, NULL }, | |
378 | +#endif | |
379 | +#ifdef TARGET_NR_ioctl | |
380 | +{ TARGET_NR_ioctl, "ioctl" , NULL, NULL, NULL }, | |
381 | +#endif | |
382 | +#ifdef TARGET_NR_io_destroy | |
383 | +{ TARGET_NR_io_destroy, "io_destroy" , NULL, NULL, NULL }, | |
384 | +#endif | |
385 | +#ifdef TARGET_NR_io_getevents | |
386 | +{ TARGET_NR_io_getevents, "io_getevents" , NULL, NULL, NULL }, | |
387 | +#endif | |
388 | +#ifdef TARGET_NR_ioperm | |
389 | +{ TARGET_NR_ioperm, "ioperm" , NULL, NULL, NULL }, | |
390 | +#endif | |
391 | +#ifdef TARGET_NR_iopl | |
392 | +{ TARGET_NR_iopl, "iopl" , NULL, NULL, NULL }, | |
393 | +#endif | |
394 | +#ifdef TARGET_NR_ioprio_get | |
395 | +{ TARGET_NR_ioprio_get, "ioprio_get" , NULL, NULL, NULL }, | |
396 | +#endif | |
397 | +#ifdef TARGET_NR_ioprio_set | |
398 | +{ TARGET_NR_ioprio_set, "ioprio_set" , NULL, NULL, NULL }, | |
399 | +#endif | |
400 | +#ifdef TARGET_NR_io_setup | |
401 | +{ TARGET_NR_io_setup, "io_setup" , NULL, NULL, NULL }, | |
402 | +#endif | |
403 | +#ifdef TARGET_NR_io_submit | |
404 | +{ TARGET_NR_io_submit, "io_submit" , NULL, NULL, NULL }, | |
405 | +#endif | |
406 | +#ifdef TARGET_NR_ipc | |
407 | +{ TARGET_NR_ipc, "ipc" , NULL, print_ipc, NULL }, | |
408 | +#endif | |
409 | +#ifdef TARGET_NR_kexec_load | |
410 | +{ TARGET_NR_kexec_load, "kexec_load" , NULL, NULL, NULL }, | |
411 | +#endif | |
412 | +#ifdef TARGET_NR_keyctl | |
413 | +{ TARGET_NR_keyctl, "keyctl" , NULL, NULL, NULL }, | |
414 | +#endif | |
415 | +#ifdef TARGET_NR_kill | |
416 | +{ TARGET_NR_kill, "kill" , NULL, NULL, NULL }, | |
417 | +#endif | |
418 | +#ifdef TARGET_NR_lchown | |
419 | +{ TARGET_NR_lchown, "lchown" , NULL, NULL, NULL }, | |
420 | +#endif | |
421 | +#ifdef TARGET_NR_lchown32 | |
422 | +{ TARGET_NR_lchown32, "lchown32" , NULL, NULL, NULL }, | |
423 | +#endif | |
424 | +#ifdef TARGET_NR_lgetxattr | |
425 | +{ TARGET_NR_lgetxattr, "lgetxattr" , NULL, NULL, NULL }, | |
426 | +#endif | |
427 | +#ifdef TARGET_NR_link | |
428 | +{ TARGET_NR_link, "link" , "%s(\"%s\",\"%s\")", NULL, NULL }, | |
429 | +#endif | |
430 | +#ifdef TARGET_NR_linkat | |
431 | +{ TARGET_NR_linkat, "linkat" , "%s(%d,\"%s\",%d,\"%s\",%#x)", NULL, NULL }, | |
432 | +#endif | |
433 | +#ifdef TARGET_NR_Linux | |
434 | +{ TARGET_NR_Linux, "Linux" , NULL, NULL, NULL }, | |
435 | +#endif | |
436 | +#ifdef TARGET_NR_listen | |
437 | +{ TARGET_NR_listen, "listen" , NULL, NULL, NULL }, | |
438 | +#endif | |
439 | +#ifdef TARGET_NR_listxattr | |
440 | +{ TARGET_NR_listxattr, "listxattr" , NULL, NULL, NULL }, | |
441 | +#endif | |
442 | +#ifdef TARGET_NR_llistxattr | |
443 | +{ TARGET_NR_llistxattr, "llistxattr" , NULL, NULL, NULL }, | |
444 | +#endif | |
445 | +#ifdef TARGET_NR__llseek | |
446 | +{ TARGET_NR__llseek, "_llseek" , NULL, NULL, NULL }, | |
447 | +#endif | |
448 | +#ifdef TARGET_NR_lock | |
449 | +{ TARGET_NR_lock, "lock" , NULL, NULL, NULL }, | |
450 | +#endif | |
451 | +#ifdef TARGET_NR_lookup_dcookie | |
452 | +{ TARGET_NR_lookup_dcookie, "lookup_dcookie" , NULL, NULL, NULL }, | |
453 | +#endif | |
454 | +#ifdef TARGET_NR_lremovexattr | |
455 | +{ TARGET_NR_lremovexattr, "lremovexattr" , NULL, NULL, NULL }, | |
456 | +#endif | |
457 | +#ifdef TARGET_NR_lseek | |
458 | +{ TARGET_NR_lseek, "lseek" , NULL, NULL, NULL }, | |
459 | +#endif | |
460 | +#ifdef TARGET_NR_lsetxattr | |
461 | +{ TARGET_NR_lsetxattr, "lsetxattr" , NULL, NULL, NULL }, | |
462 | +#endif | |
463 | +#ifdef TARGET_NR_lstat | |
464 | +{ TARGET_NR_lstat, "lstat" , "%s(\"%s\",%p)", NULL, NULL }, | |
465 | +#endif | |
466 | +#ifdef TARGET_NR_lstat64 | |
467 | +{ TARGET_NR_lstat64, "lstat64" , "%s(\"%s\",%p)", NULL, NULL }, | |
468 | +#endif | |
469 | +#ifdef TARGET_NR_madvise | |
470 | +{ TARGET_NR_madvise, "madvise" , NULL, NULL, NULL }, | |
471 | +#endif | |
472 | +#ifdef TARGET_NR_madvise1 | |
473 | +{ TARGET_NR_madvise1, "madvise1" , NULL, NULL, NULL }, | |
474 | +#endif | |
475 | +#ifdef TARGET_NR_mbind | |
476 | +{ TARGET_NR_mbind, "mbind" , NULL, NULL, NULL }, | |
477 | +#endif | |
478 | +#ifdef TARGET_NR_memory_ordering | |
479 | +{ TARGET_NR_memory_ordering, "memory_ordering" , NULL, NULL, NULL }, | |
480 | +#endif | |
481 | +#ifdef TARGET_NR_migrate_pages | |
482 | +{ TARGET_NR_migrate_pages, "migrate_pages" , NULL, NULL, NULL }, | |
483 | +#endif | |
484 | +#ifdef TARGET_NR_mincore | |
485 | +{ TARGET_NR_mincore, "mincore" , NULL, NULL, NULL }, | |
486 | +#endif | |
487 | +#ifdef TARGET_NR_mkdir | |
488 | +{ TARGET_NR_mkdir, "mkdir" , "%s(\"%s\",%#o)", NULL, NULL }, | |
489 | +#endif | |
490 | +#ifdef TARGET_NR_mkdirat | |
491 | +{ TARGET_NR_mkdirat, "mkdirat" , "%s(%d,\"%s\",%#o)", NULL, NULL }, | |
492 | +#endif | |
493 | +#ifdef TARGET_NR_mknod | |
494 | +{ TARGET_NR_mknod, "mknod" , "%s(\"%s\",%#o,%#x)", NULL, NULL }, | |
495 | +#endif | |
496 | +#ifdef TARGET_NR_mknodat | |
497 | +{ TARGET_NR_mknodat, "mknodat" , "%s(%d,\"%s\",%#o,%#x)", NULL, NULL }, | |
498 | +#endif | |
499 | +#ifdef TARGET_NR_mlock | |
500 | +{ TARGET_NR_mlock, "mlock" , NULL, NULL, NULL }, | |
501 | +#endif | |
502 | +#ifdef TARGET_NR_mlockall | |
503 | +{ TARGET_NR_mlockall, "mlockall" , NULL, NULL, NULL }, | |
504 | +#endif | |
505 | +#ifdef TARGET_NR_mmap | |
506 | +{ TARGET_NR_mmap, "mmap" , NULL, NULL, print_syscall_ret_addr }, | |
507 | +#endif | |
508 | +#ifdef TARGET_NR_mmap2 | |
509 | +{ TARGET_NR_mmap2, "mmap2" , NULL, NULL, print_syscall_ret_addr }, | |
510 | +#endif | |
511 | +#ifdef TARGET_NR_modify_ldt | |
512 | +{ TARGET_NR_modify_ldt, "modify_ldt" , NULL, NULL, NULL }, | |
513 | +#endif | |
514 | +#ifdef TARGET_NR_mount | |
515 | +{ TARGET_NR_mount, "mount" , NULL, NULL, NULL }, | |
516 | +#endif | |
517 | +#ifdef TARGET_NR_move_pages | |
518 | +{ TARGET_NR_move_pages, "move_pages" , NULL, NULL, NULL }, | |
519 | +#endif | |
520 | +#ifdef TARGET_NR_mprotect | |
521 | +{ TARGET_NR_mprotect, "mprotect" , NULL, NULL, NULL }, | |
522 | +#endif | |
523 | +#ifdef TARGET_NR_mpx | |
524 | +{ TARGET_NR_mpx, "mpx" , NULL, NULL, NULL }, | |
525 | +#endif | |
526 | +#ifdef TARGET_NR_mq_getsetattr | |
527 | +{ TARGET_NR_mq_getsetattr, "mq_getsetattr" , NULL, NULL, NULL }, | |
528 | +#endif | |
529 | +#ifdef TARGET_NR_mq_notify | |
530 | +{ TARGET_NR_mq_notify, "mq_notify" , NULL, NULL, NULL }, | |
531 | +#endif | |
532 | +#ifdef TARGET_NR_mq_open | |
533 | +{ TARGET_NR_mq_open, "mq_open" , NULL, NULL, NULL }, | |
534 | +#endif | |
535 | +#ifdef TARGET_NR_mq_timedreceive | |
536 | +{ TARGET_NR_mq_timedreceive, "mq_timedreceive" , NULL, NULL, NULL }, | |
537 | +#endif | |
538 | +#ifdef TARGET_NR_mq_timedsend | |
539 | +{ TARGET_NR_mq_timedsend, "mq_timedsend" , NULL, NULL, NULL }, | |
540 | +#endif | |
541 | +#ifdef TARGET_NR_mq_unlink | |
542 | +{ TARGET_NR_mq_unlink, "mq_unlink" , NULL, NULL, NULL }, | |
543 | +#endif | |
544 | +#ifdef TARGET_NR_mremap | |
545 | +{ TARGET_NR_mremap, "mremap" , NULL, NULL, NULL }, | |
546 | +#endif | |
547 | +#ifdef TARGET_NR_msgctl | |
548 | +{ TARGET_NR_msgctl, "msgctl" , NULL, NULL, NULL }, | |
549 | +#endif | |
550 | +#ifdef TARGET_NR_msgget | |
551 | +{ TARGET_NR_msgget, "msgget" , NULL, NULL, NULL }, | |
552 | +#endif | |
553 | +#ifdef TARGET_NR_msgrcv | |
554 | +{ TARGET_NR_msgrcv, "msgrcv" , NULL, NULL, NULL }, | |
555 | +#endif | |
556 | +#ifdef TARGET_NR_msgsnd | |
557 | +{ TARGET_NR_msgsnd, "msgsnd" , NULL, NULL, NULL }, | |
558 | +#endif | |
559 | +#ifdef TARGET_NR_msync | |
560 | +{ TARGET_NR_msync, "msync" , NULL, NULL, NULL }, | |
561 | +#endif | |
562 | +#ifdef TARGET_NR_multiplexer | |
563 | +{ TARGET_NR_multiplexer, "multiplexer" , NULL, NULL, NULL }, | |
564 | +#endif | |
565 | +#ifdef TARGET_NR_munlock | |
566 | +{ TARGET_NR_munlock, "munlock" , NULL, NULL, NULL }, | |
567 | +#endif | |
568 | +#ifdef TARGET_NR_munlockall | |
569 | +{ TARGET_NR_munlockall, "munlockall" , NULL, NULL, NULL }, | |
570 | +#endif | |
571 | +#ifdef TARGET_NR_munmap | |
572 | +{ TARGET_NR_munmap, "munmap" , "%s(%p,%d)", NULL, NULL }, | |
573 | +#endif | |
574 | +#ifdef TARGET_NR_nanosleep | |
575 | +{ TARGET_NR_nanosleep, "nanosleep" , NULL, NULL, NULL }, | |
576 | +#endif | |
577 | +#ifdef TARGET_NR_fstatat64 | |
578 | +{ TARGET_NR_fstatat64, "fstatat64" , "%s(%d,\"%s\",%p,%#x)", NULL, NULL }, | |
579 | +#endif | |
580 | +#ifdef TARGET_NR_newfstatat | |
581 | +{ TARGET_NR_newfstatat, "newfstatat" , "%s(%d,\"%s\",%p,%#x)", NULL, NULL }, | |
582 | +#endif | |
583 | +#ifdef TARGET_NR__newselect | |
584 | +{ TARGET_NR__newselect, "_newselect" , NULL, print_newselect, print_syscall_ret_newselect }, | |
585 | +#endif | |
586 | +#ifdef TARGET_NR_nfsservctl | |
587 | +{ TARGET_NR_nfsservctl, "nfsservctl" , NULL, NULL, NULL }, | |
588 | +#endif | |
589 | +#ifdef TARGET_NR_nice | |
590 | +{ TARGET_NR_nice, "nice" , NULL, NULL, NULL }, | |
591 | +#endif | |
592 | +#ifdef TARGET_NR_old_adjtimex | |
593 | +{ TARGET_NR_old_adjtimex, "old_adjtimex" , NULL, NULL, NULL }, | |
594 | +#endif | |
595 | +#ifdef TARGET_NR_oldfstat | |
596 | +{ TARGET_NR_oldfstat, "oldfstat" , NULL, NULL, NULL }, | |
597 | +#endif | |
598 | +#ifdef TARGET_NR_oldlstat | |
599 | +{ TARGET_NR_oldlstat, "oldlstat" , NULL, NULL, NULL }, | |
600 | +#endif | |
601 | +#ifdef TARGET_NR_oldolduname | |
602 | +{ TARGET_NR_oldolduname, "oldolduname" , NULL, NULL, NULL }, | |
603 | +#endif | |
604 | +#ifdef TARGET_NR_oldstat | |
605 | +{ TARGET_NR_oldstat, "oldstat" , NULL, NULL, NULL }, | |
606 | +#endif | |
607 | +#ifdef TARGET_NR_oldumount | |
608 | +{ TARGET_NR_oldumount, "oldumount" , NULL, NULL, NULL }, | |
609 | +#endif | |
610 | +#ifdef TARGET_NR_olduname | |
611 | +{ TARGET_NR_olduname, "olduname" , NULL, NULL, NULL }, | |
612 | +#endif | |
613 | +#ifdef TARGET_NR_open | |
614 | +{ TARGET_NR_open, "open" , "%s(\"%s\",%#x,%#o)", NULL, NULL }, | |
615 | +#endif | |
616 | +#ifdef TARGET_NR_openat | |
617 | +{ TARGET_NR_openat, "openat" , "%s(%d,\"%s\",%#x,%#o)", NULL, NULL }, | |
618 | +#endif | |
619 | +#ifdef TARGET_NR_osf_adjtime | |
620 | +{ TARGET_NR_osf_adjtime, "osf_adjtime" , NULL, NULL, NULL }, | |
621 | +#endif | |
622 | +#ifdef TARGET_NR_osf_afs_syscall | |
623 | +{ TARGET_NR_osf_afs_syscall, "osf_afs_syscall" , NULL, NULL, NULL }, | |
624 | +#endif | |
625 | +#ifdef TARGET_NR_osf_alt_plock | |
626 | +{ TARGET_NR_osf_alt_plock, "osf_alt_plock" , NULL, NULL, NULL }, | |
627 | +#endif | |
628 | +#ifdef TARGET_NR_osf_alt_setsid | |
629 | +{ TARGET_NR_osf_alt_setsid, "osf_alt_setsid" , NULL, NULL, NULL }, | |
630 | +#endif | |
631 | +#ifdef TARGET_NR_osf_alt_sigpending | |
632 | +{ TARGET_NR_osf_alt_sigpending, "osf_alt_sigpending" , NULL, NULL, NULL }, | |
633 | +#endif | |
634 | +#ifdef TARGET_NR_osf_asynch_daemon | |
635 | +{ TARGET_NR_osf_asynch_daemon, "osf_asynch_daemon" , NULL, NULL, NULL }, | |
636 | +#endif | |
637 | +#ifdef TARGET_NR_osf_audcntl | |
638 | +{ TARGET_NR_osf_audcntl, "osf_audcntl" , NULL, NULL, NULL }, | |
639 | +#endif | |
640 | +#ifdef TARGET_NR_osf_audgen | |
641 | +{ TARGET_NR_osf_audgen, "osf_audgen" , NULL, NULL, NULL }, | |
642 | +#endif | |
643 | +#ifdef TARGET_NR_osf_chflags | |
644 | +{ TARGET_NR_osf_chflags, "osf_chflags" , NULL, NULL, NULL }, | |
645 | +#endif | |
646 | +#ifdef TARGET_NR_osf_execve | |
647 | +{ TARGET_NR_osf_execve, "osf_execve" , NULL, NULL, NULL }, | |
648 | +#endif | |
649 | +#ifdef TARGET_NR_osf_exportfs | |
650 | +{ TARGET_NR_osf_exportfs, "osf_exportfs" , NULL, NULL, NULL }, | |
651 | +#endif | |
652 | +#ifdef TARGET_NR_osf_fchflags | |
653 | +{ TARGET_NR_osf_fchflags, "osf_fchflags" , NULL, NULL, NULL }, | |
654 | +#endif | |
655 | +#ifdef TARGET_NR_osf_fdatasync | |
656 | +{ TARGET_NR_osf_fdatasync, "osf_fdatasync" , NULL, NULL, NULL }, | |
657 | +#endif | |
658 | +#ifdef TARGET_NR_osf_fpathconf | |
659 | +{ TARGET_NR_osf_fpathconf, "osf_fpathconf" , NULL, NULL, NULL }, | |
660 | +#endif | |
661 | +#ifdef TARGET_NR_osf_fstatfs | |
662 | +{ TARGET_NR_osf_fstatfs, "osf_fstatfs" , NULL, NULL, NULL }, | |
663 | +#endif | |
664 | +#ifdef TARGET_NR_osf_fuser | |
665 | +{ TARGET_NR_osf_fuser, "osf_fuser" , NULL, NULL, NULL }, | |
666 | +#endif | |
667 | +#ifdef TARGET_NR_osf_getaddressconf | |
668 | +{ TARGET_NR_osf_getaddressconf, "osf_getaddressconf" , NULL, NULL, NULL }, | |
669 | +#endif | |
670 | +#ifdef TARGET_NR_osf_getdirentries | |
671 | +{ TARGET_NR_osf_getdirentries, "osf_getdirentries" , NULL, NULL, NULL }, | |
672 | +#endif | |
673 | +#ifdef TARGET_NR_osf_getdomainname | |
674 | +{ TARGET_NR_osf_getdomainname, "osf_getdomainname" , NULL, NULL, NULL }, | |
675 | +#endif | |
676 | +#ifdef TARGET_NR_osf_getfh | |
677 | +{ TARGET_NR_osf_getfh, "osf_getfh" , NULL, NULL, NULL }, | |
678 | +#endif | |
679 | +#ifdef TARGET_NR_osf_getfsstat | |
680 | +{ TARGET_NR_osf_getfsstat, "osf_getfsstat" , NULL, NULL, NULL }, | |
681 | +#endif | |
682 | +#ifdef TARGET_NR_osf_gethostid | |
683 | +{ TARGET_NR_osf_gethostid, "osf_gethostid" , NULL, NULL, NULL }, | |
684 | +#endif | |
685 | +#ifdef TARGET_NR_osf_getitimer | |
686 | +{ TARGET_NR_osf_getitimer, "osf_getitimer" , NULL, NULL, NULL }, | |
687 | +#endif | |
688 | +#ifdef TARGET_NR_osf_getlogin | |
689 | +{ TARGET_NR_osf_getlogin, "osf_getlogin" , NULL, NULL, NULL }, | |
690 | +#endif | |
691 | +#ifdef TARGET_NR_osf_getmnt | |
692 | +{ TARGET_NR_osf_getmnt, "osf_getmnt" , NULL, NULL, NULL }, | |
693 | +#endif | |
694 | +#ifdef TARGET_NR_osf_getrusage | |
695 | +{ TARGET_NR_osf_getrusage, "osf_getrusage" , NULL, NULL, NULL }, | |
696 | +#endif | |
697 | +#ifdef TARGET_NR_osf_getsysinfo | |
698 | +{ TARGET_NR_osf_getsysinfo, "osf_getsysinfo" , NULL, NULL, NULL }, | |
699 | +#endif | |
700 | +#ifdef TARGET_NR_osf_gettimeofday | |
701 | +{ TARGET_NR_osf_gettimeofday, "osf_gettimeofday" , NULL, NULL, NULL }, | |
702 | +#endif | |
703 | +#ifdef TARGET_NR_osf_kloadcall | |
704 | +{ TARGET_NR_osf_kloadcall, "osf_kloadcall" , NULL, NULL, NULL }, | |
705 | +#endif | |
706 | +#ifdef TARGET_NR_osf_kmodcall | |
707 | +{ TARGET_NR_osf_kmodcall, "osf_kmodcall" , NULL, NULL, NULL }, | |
708 | +#endif | |
709 | +#ifdef TARGET_NR_osf_memcntl | |
710 | +{ TARGET_NR_osf_memcntl, "osf_memcntl" , NULL, NULL, NULL }, | |
711 | +#endif | |
712 | +#ifdef TARGET_NR_osf_mincore | |
713 | +{ TARGET_NR_osf_mincore, "osf_mincore" , NULL, NULL, NULL }, | |
714 | +#endif | |
715 | +#ifdef TARGET_NR_osf_mount | |
716 | +{ TARGET_NR_osf_mount, "osf_mount" , NULL, NULL, NULL }, | |
717 | +#endif | |
718 | +#ifdef TARGET_NR_osf_mremap | |
719 | +{ TARGET_NR_osf_mremap, "osf_mremap" , NULL, NULL, NULL }, | |
720 | +#endif | |
721 | +#ifdef TARGET_NR_osf_msfs_syscall | |
722 | +{ TARGET_NR_osf_msfs_syscall, "osf_msfs_syscall" , NULL, NULL, NULL }, | |
723 | +#endif | |
724 | +#ifdef TARGET_NR_osf_msleep | |
725 | +{ TARGET_NR_osf_msleep, "osf_msleep" , NULL, NULL, NULL }, | |
726 | +#endif | |
727 | +#ifdef TARGET_NR_osf_mvalid | |
728 | +{ TARGET_NR_osf_mvalid, "osf_mvalid" , NULL, NULL, NULL }, | |
729 | +#endif | |
730 | +#ifdef TARGET_NR_osf_mwakeup | |
731 | +{ TARGET_NR_osf_mwakeup, "osf_mwakeup" , NULL, NULL, NULL }, | |
732 | +#endif | |
733 | +#ifdef TARGET_NR_osf_naccept | |
734 | +{ TARGET_NR_osf_naccept, "osf_naccept" , NULL, NULL, NULL }, | |
735 | +#endif | |
736 | +#ifdef TARGET_NR_osf_nfssvc | |
737 | +{ TARGET_NR_osf_nfssvc, "osf_nfssvc" , NULL, NULL, NULL }, | |
738 | +#endif | |
739 | +#ifdef TARGET_NR_osf_ngetpeername | |
740 | +{ TARGET_NR_osf_ngetpeername, "osf_ngetpeername" , NULL, NULL, NULL }, | |
741 | +#endif | |
742 | +#ifdef TARGET_NR_osf_ngetsockname | |
743 | +{ TARGET_NR_osf_ngetsockname, "osf_ngetsockname" , NULL, NULL, NULL }, | |
744 | +#endif | |
745 | +#ifdef TARGET_NR_osf_nrecvfrom | |
746 | +{ TARGET_NR_osf_nrecvfrom, "osf_nrecvfrom" , NULL, NULL, NULL }, | |
747 | +#endif | |
748 | +#ifdef TARGET_NR_osf_nrecvmsg | |
749 | +{ TARGET_NR_osf_nrecvmsg, "osf_nrecvmsg" , NULL, NULL, NULL }, | |
750 | +#endif | |
751 | +#ifdef TARGET_NR_osf_nsendmsg | |
752 | +{ TARGET_NR_osf_nsendmsg, "osf_nsendmsg" , NULL, NULL, NULL }, | |
753 | +#endif | |
754 | +#ifdef TARGET_NR_osf_ntp_adjtime | |
755 | +{ TARGET_NR_osf_ntp_adjtime, "osf_ntp_adjtime" , NULL, NULL, NULL }, | |
756 | +#endif | |
757 | +#ifdef TARGET_NR_osf_ntp_gettime | |
758 | +{ TARGET_NR_osf_ntp_gettime, "osf_ntp_gettime" , NULL, NULL, NULL }, | |
759 | +#endif | |
760 | +#ifdef TARGET_NR_osf_old_creat | |
761 | +{ TARGET_NR_osf_old_creat, "osf_old_creat" , NULL, NULL, NULL }, | |
762 | +#endif | |
763 | +#ifdef TARGET_NR_osf_old_fstat | |
764 | +{ TARGET_NR_osf_old_fstat, "osf_old_fstat" , NULL, NULL, NULL }, | |
765 | +#endif | |
766 | +#ifdef TARGET_NR_osf_old_getpgrp | |
767 | +{ TARGET_NR_osf_old_getpgrp, "osf_old_getpgrp" , NULL, NULL, NULL }, | |
768 | +#endif | |
769 | +#ifdef TARGET_NR_osf_old_killpg | |
770 | +{ TARGET_NR_osf_old_killpg, "osf_old_killpg" , NULL, NULL, NULL }, | |
771 | +#endif | |
772 | +#ifdef TARGET_NR_osf_old_lstat | |
773 | +{ TARGET_NR_osf_old_lstat, "osf_old_lstat" , NULL, NULL, NULL }, | |
774 | +#endif | |
775 | +#ifdef TARGET_NR_osf_old_open | |
776 | +{ TARGET_NR_osf_old_open, "osf_old_open" , NULL, NULL, NULL }, | |
777 | +#endif | |
778 | +#ifdef TARGET_NR_osf_oldquota | |
779 | +{ TARGET_NR_osf_oldquota, "osf_oldquota" , NULL, NULL, NULL }, | |
780 | +#endif | |
781 | +#ifdef TARGET_NR_osf_old_sigaction | |
782 | +{ TARGET_NR_osf_old_sigaction, "osf_old_sigaction" , NULL, NULL, NULL }, | |
783 | +#endif | |
784 | +#ifdef TARGET_NR_osf_old_sigblock | |
785 | +{ TARGET_NR_osf_old_sigblock, "osf_old_sigblock" , NULL, NULL, NULL }, | |
786 | +#endif | |
787 | +#ifdef TARGET_NR_osf_old_sigreturn | |
788 | +{ TARGET_NR_osf_old_sigreturn, "osf_old_sigreturn" , NULL, NULL, NULL }, | |
789 | +#endif | |
790 | +#ifdef TARGET_NR_osf_old_sigsetmask | |
791 | +{ TARGET_NR_osf_old_sigsetmask, "osf_old_sigsetmask" , NULL, NULL, NULL }, | |
792 | +#endif | |
793 | +#ifdef TARGET_NR_osf_old_sigvec | |
794 | +{ TARGET_NR_osf_old_sigvec, "osf_old_sigvec" , NULL, NULL, NULL }, | |
795 | +#endif | |
796 | +#ifdef TARGET_NR_osf_old_stat | |
797 | +{ TARGET_NR_osf_old_stat, "osf_old_stat" , NULL, NULL, NULL }, | |
798 | +#endif | |
799 | +#ifdef TARGET_NR_osf_old_vadvise | |
800 | +{ TARGET_NR_osf_old_vadvise, "osf_old_vadvise" , NULL, NULL, NULL }, | |
801 | +#endif | |
802 | +#ifdef TARGET_NR_osf_old_vtrace | |
803 | +{ TARGET_NR_osf_old_vtrace, "osf_old_vtrace" , NULL, NULL, NULL }, | |
804 | +#endif | |
805 | +#ifdef TARGET_NR_osf_old_wait | |
806 | +{ TARGET_NR_osf_old_wait, "osf_old_wait" , NULL, NULL, NULL }, | |
807 | +#endif | |
808 | +#ifdef TARGET_NR_osf_pathconf | |
809 | +{ TARGET_NR_osf_pathconf, "osf_pathconf" , NULL, NULL, NULL }, | |
810 | +#endif | |
811 | +#ifdef TARGET_NR_osf_pid_block | |
812 | +{ TARGET_NR_osf_pid_block, "osf_pid_block" , NULL, NULL, NULL }, | |
813 | +#endif | |
814 | +#ifdef TARGET_NR_osf_pid_unblock | |
815 | +{ TARGET_NR_osf_pid_unblock, "osf_pid_unblock" , NULL, NULL, NULL }, | |
816 | +#endif | |
817 | +#ifdef TARGET_NR_osf_plock | |
818 | +{ TARGET_NR_osf_plock, "osf_plock" , NULL, NULL, NULL }, | |
819 | +#endif | |
820 | +#ifdef TARGET_NR_osf_priocntlset | |
821 | +{ TARGET_NR_osf_priocntlset, "osf_priocntlset" , NULL, NULL, NULL }, | |
822 | +#endif | |
823 | +#ifdef TARGET_NR_osf_profil | |
824 | +{ TARGET_NR_osf_profil, "osf_profil" , NULL, NULL, NULL }, | |
825 | +#endif | |
826 | +#ifdef TARGET_NR_osf_proplist_syscall | |
827 | +{ TARGET_NR_osf_proplist_syscall, "osf_proplist_syscall" , NULL, NULL, NULL }, | |
828 | +#endif | |
829 | +#ifdef TARGET_NR_osf_reboot | |
830 | +{ TARGET_NR_osf_reboot, "osf_reboot" , NULL, NULL, NULL }, | |
831 | +#endif | |
832 | +#ifdef TARGET_NR_osf_revoke | |
833 | +{ TARGET_NR_osf_revoke, "osf_revoke" , NULL, NULL, NULL }, | |
834 | +#endif | |
835 | +#ifdef TARGET_NR_osf_sbrk | |
836 | +{ TARGET_NR_osf_sbrk, "osf_sbrk" , NULL, NULL, NULL }, | |
837 | +#endif | |
838 | +#ifdef TARGET_NR_osf_security | |
839 | +{ TARGET_NR_osf_security, "osf_security" , NULL, NULL, NULL }, | |
840 | +#endif | |
841 | +#ifdef TARGET_NR_osf_select | |
842 | +{ TARGET_NR_osf_select, "osf_select" , NULL, NULL, NULL }, | |
843 | +#endif | |
844 | +#ifdef TARGET_NR_osf_sethostid | |
845 | +{ TARGET_NR_osf_sethostid, "osf_sethostid" , NULL, NULL, NULL }, | |
846 | +#endif | |
847 | +#ifdef TARGET_NR_osf_setitimer | |
848 | +{ TARGET_NR_osf_setitimer, "osf_setitimer" , NULL, NULL, NULL }, | |
849 | +#endif | |
850 | +#ifdef TARGET_NR_osf_setlogin | |
851 | +{ TARGET_NR_osf_setlogin, "osf_setlogin" , NULL, NULL, NULL }, | |
852 | +#endif | |
853 | +#ifdef TARGET_NR_osf_set_program_attributes | |
854 | +{ TARGET_NR_osf_set_program_attributes, "osf_set_program_attributes" , NULL, NULL, NULL }, | |
855 | +#endif | |
856 | +#ifdef TARGET_NR_osf_set_speculative | |
857 | +{ TARGET_NR_osf_set_speculative, "osf_set_speculative" , NULL, NULL, NULL }, | |
858 | +#endif | |
859 | +#ifdef TARGET_NR_osf_setsysinfo | |
860 | +{ TARGET_NR_osf_setsysinfo, "osf_setsysinfo" , NULL, NULL, NULL }, | |
861 | +#endif | |
862 | +#ifdef TARGET_NR_osf_settimeofday | |
863 | +{ TARGET_NR_osf_settimeofday, "osf_settimeofday" , NULL, NULL, NULL }, | |
864 | +#endif | |
865 | +#ifdef TARGET_NR_osf_shmat | |
866 | +{ TARGET_NR_osf_shmat, "osf_shmat" , NULL, NULL, NULL }, | |
867 | +#endif | |
868 | +#ifdef TARGET_NR_osf_signal | |
869 | +{ TARGET_NR_osf_signal, "osf_signal" , NULL, NULL, NULL }, | |
870 | +#endif | |
871 | +#ifdef TARGET_NR_osf_sigprocmask | |
872 | +{ TARGET_NR_osf_sigprocmask, "osf_sigprocmask" , NULL, NULL, NULL }, | |
873 | +#endif | |
874 | +#ifdef TARGET_NR_osf_sigsendset | |
875 | +{ TARGET_NR_osf_sigsendset, "osf_sigsendset" , NULL, NULL, NULL }, | |
876 | +#endif | |
877 | +#ifdef TARGET_NR_osf_sigstack | |
878 | +{ TARGET_NR_osf_sigstack, "osf_sigstack" , NULL, NULL, NULL }, | |
879 | +#endif | |
880 | +#ifdef TARGET_NR_osf_sigwaitprim | |
881 | +{ TARGET_NR_osf_sigwaitprim, "osf_sigwaitprim" , NULL, NULL, NULL }, | |
882 | +#endif | |
883 | +#ifdef TARGET_NR_osf_sstk | |
884 | +{ TARGET_NR_osf_sstk, "osf_sstk" , NULL, NULL, NULL }, | |
885 | +#endif | |
886 | +#ifdef TARGET_NR_osf_statfs | |
887 | +{ TARGET_NR_osf_statfs, "osf_statfs" , NULL, NULL, NULL }, | |
888 | +#endif | |
889 | +#ifdef TARGET_NR_osf_subsys_info | |
890 | +{ TARGET_NR_osf_subsys_info, "osf_subsys_info" , NULL, NULL, NULL }, | |
891 | +#endif | |
892 | +#ifdef TARGET_NR_osf_swapctl | |
893 | +{ TARGET_NR_osf_swapctl, "osf_swapctl" , NULL, NULL, NULL }, | |
894 | +#endif | |
895 | +#ifdef TARGET_NR_osf_swapon | |
896 | +{ TARGET_NR_osf_swapon, "osf_swapon" , NULL, NULL, NULL }, | |
897 | +#endif | |
898 | +#ifdef TARGET_NR_osf_syscall | |
899 | +{ TARGET_NR_osf_syscall, "osf_syscall" , NULL, NULL, NULL }, | |
900 | +#endif | |
901 | +#ifdef TARGET_NR_osf_sysinfo | |
902 | +{ TARGET_NR_osf_sysinfo, "osf_sysinfo" , NULL, NULL, NULL }, | |
903 | +#endif | |
904 | +#ifdef TARGET_NR_osf_table | |
905 | +{ TARGET_NR_osf_table, "osf_table" , NULL, NULL, NULL }, | |
906 | +#endif | |
907 | +#ifdef TARGET_NR_osf_uadmin | |
908 | +{ TARGET_NR_osf_uadmin, "osf_uadmin" , NULL, NULL, NULL }, | |
909 | +#endif | |
910 | +#ifdef TARGET_NR_osf_usleep_thread | |
911 | +{ TARGET_NR_osf_usleep_thread, "osf_usleep_thread" , NULL, NULL, NULL }, | |
912 | +#endif | |
913 | +#ifdef TARGET_NR_osf_uswitch | |
914 | +{ TARGET_NR_osf_uswitch, "osf_uswitch" , NULL, NULL, NULL }, | |
915 | +#endif | |
916 | +#ifdef TARGET_NR_osf_utc_adjtime | |
917 | +{ TARGET_NR_osf_utc_adjtime, "osf_utc_adjtime" , NULL, NULL, NULL }, | |
918 | +#endif | |
919 | +#ifdef TARGET_NR_osf_utc_gettime | |
920 | +{ TARGET_NR_osf_utc_gettime, "osf_utc_gettime" , NULL, NULL, NULL }, | |
921 | +#endif | |
922 | +#ifdef TARGET_NR_osf_utimes | |
923 | +{ TARGET_NR_osf_utimes, "osf_utimes" , NULL, NULL, NULL }, | |
924 | +#endif | |
925 | +#ifdef TARGET_NR_osf_utsname | |
926 | +{ TARGET_NR_osf_utsname, "osf_utsname" , NULL, NULL, NULL }, | |
927 | +#endif | |
928 | +#ifdef TARGET_NR_osf_wait4 | |
929 | +{ TARGET_NR_osf_wait4, "osf_wait4" , NULL, NULL, NULL }, | |
930 | +#endif | |
931 | +#ifdef TARGET_NR_osf_waitid | |
932 | +{ TARGET_NR_osf_waitid, "osf_waitid" , NULL, NULL, NULL }, | |
933 | +#endif | |
934 | +#ifdef TARGET_NR_pause | |
935 | +{ TARGET_NR_pause, "pause" , NULL, NULL, NULL }, | |
936 | +#endif | |
937 | +#ifdef TARGET_NR_pciconfig_iobase | |
938 | +{ TARGET_NR_pciconfig_iobase, "pciconfig_iobase" , NULL, NULL, NULL }, | |
939 | +#endif | |
940 | +#ifdef TARGET_NR_pciconfig_read | |
941 | +{ TARGET_NR_pciconfig_read, "pciconfig_read" , NULL, NULL, NULL }, | |
942 | +#endif | |
943 | +#ifdef TARGET_NR_pciconfig_write | |
944 | +{ TARGET_NR_pciconfig_write, "pciconfig_write" , NULL, NULL, NULL }, | |
945 | +#endif | |
946 | +#ifdef TARGET_NR_perfctr | |
947 | +{ TARGET_NR_perfctr, "perfctr" , NULL, NULL, NULL }, | |
948 | +#endif | |
949 | +#ifdef TARGET_NR_personality | |
950 | +{ TARGET_NR_personality, "personality" , NULL, NULL, NULL }, | |
951 | +#endif | |
952 | +#ifdef TARGET_NR_pipe | |
953 | +{ TARGET_NR_pipe, "pipe" , NULL, NULL, NULL }, | |
954 | +#endif | |
955 | +#ifdef TARGET_NR_pivot_root | |
956 | +{ TARGET_NR_pivot_root, "pivot_root" , NULL, NULL, NULL }, | |
957 | +#endif | |
958 | +#ifdef TARGET_NR_poll | |
959 | +{ TARGET_NR_poll, "poll" , NULL, NULL, NULL }, | |
960 | +#endif | |
961 | +#ifdef TARGET_NR_ppoll | |
962 | +{ TARGET_NR_ppoll, "ppoll" , NULL, NULL, NULL }, | |
963 | +#endif | |
964 | +#ifdef TARGET_NR_prctl | |
965 | +{ TARGET_NR_prctl, "prctl" , NULL, NULL, NULL }, | |
966 | +#endif | |
967 | +#ifdef TARGET_NR_pread | |
968 | +{ TARGET_NR_pread, "pread" , NULL, NULL, NULL }, | |
969 | +#endif | |
970 | +#ifdef TARGET_NR_pread64 | |
971 | +{ TARGET_NR_pread64, "pread64" , NULL, NULL, NULL }, | |
972 | +#endif | |
973 | +#ifdef TARGET_NR_prof | |
974 | +{ TARGET_NR_prof, "prof" , NULL, NULL, NULL }, | |
975 | +#endif | |
976 | +#ifdef TARGET_NR_profil | |
977 | +{ TARGET_NR_profil, "profil" , NULL, NULL, NULL }, | |
978 | +#endif | |
979 | +#ifdef TARGET_NR_pselect6 | |
980 | +{ TARGET_NR_pselect6, "pselect6" , NULL, NULL, NULL }, | |
981 | +#endif | |
982 | +#ifdef TARGET_NR_ptrace | |
983 | +{ TARGET_NR_ptrace, "ptrace" , NULL, NULL, NULL }, | |
984 | +#endif | |
985 | +#ifdef TARGET_NR_putpmsg | |
986 | +{ TARGET_NR_putpmsg, "putpmsg" , NULL, NULL, NULL }, | |
987 | +#endif | |
988 | +#ifdef TARGET_NR_pwrite | |
989 | +{ TARGET_NR_pwrite, "pwrite" , NULL, NULL, NULL }, | |
990 | +#endif | |
991 | +#ifdef TARGET_NR_pwrite64 | |
992 | +{ TARGET_NR_pwrite64, "pwrite64" , NULL, NULL, NULL }, | |
993 | +#endif | |
994 | +#ifdef TARGET_NR_query_module | |
995 | +{ TARGET_NR_query_module, "query_module" , NULL, NULL, NULL }, | |
996 | +#endif | |
997 | +#ifdef TARGET_NR_quotactl | |
998 | +{ TARGET_NR_quotactl, "quotactl" , NULL, NULL, NULL }, | |
999 | +#endif | |
1000 | +#ifdef TARGET_NR_read | |
1001 | +{ TARGET_NR_read, "read" , "%s(%d,%#x,%d)", NULL, NULL }, | |
1002 | +#endif | |
1003 | +#ifdef TARGET_NR_readahead | |
1004 | +{ TARGET_NR_readahead, "readahead" , NULL, NULL, NULL }, | |
1005 | +#endif | |
1006 | +#ifdef TARGET_NR_readdir | |
1007 | +{ TARGET_NR_readdir, "readdir" , NULL, NULL, NULL }, | |
1008 | +#endif | |
1009 | +#ifdef TARGET_NR_readlink | |
1010 | +{ TARGET_NR_readlink, "readlink" , "%s(\"%s\",%p,%d)", NULL, NULL }, | |
1011 | +#endif | |
1012 | +#ifdef TARGET_NR_readlinkat | |
1013 | +{ TARGET_NR_readlinkat, "readlinkat" , "%s(%d,\"%s\",%p,%d)", NULL, NULL }, | |
1014 | +#endif | |
1015 | +#ifdef TARGET_NR_readv | |
1016 | +{ TARGET_NR_readv, "readv" , NULL, NULL, NULL }, | |
1017 | +#endif | |
1018 | +#ifdef TARGET_NR_reboot | |
1019 | +{ TARGET_NR_reboot, "reboot" , NULL, NULL, NULL }, | |
1020 | +#endif | |
1021 | +#ifdef TARGET_NR_recv | |
1022 | +{ TARGET_NR_recv, "recv" , NULL, NULL, NULL }, | |
1023 | +#endif | |
1024 | +#ifdef TARGET_NR_recvfrom | |
1025 | +{ TARGET_NR_recvfrom, "recvfrom" , NULL, NULL, NULL }, | |
1026 | +#endif | |
1027 | +#ifdef TARGET_NR_recvmsg | |
1028 | +{ TARGET_NR_recvmsg, "recvmsg" , NULL, NULL, NULL }, | |
1029 | +#endif | |
1030 | +#ifdef TARGET_NR_remap_file_pages | |
1031 | +{ TARGET_NR_remap_file_pages, "remap_file_pages" , NULL, NULL, NULL }, | |
1032 | +#endif | |
1033 | +#ifdef TARGET_NR_removexattr | |
1034 | +{ TARGET_NR_removexattr, "removexattr" , NULL, NULL, NULL }, | |
1035 | +#endif | |
1036 | +#ifdef TARGET_NR_rename | |
1037 | +{ TARGET_NR_rename, "rename" , "%s(\"%s\",\"%s\")", NULL, NULL }, | |
1038 | +#endif | |
1039 | +#ifdef TARGET_NR_renameat | |
1040 | +{ TARGET_NR_renameat, "renameat" , "%s(%d,\"%s\",%d,\"%s\")", NULL, NULL }, | |
1041 | +#endif | |
1042 | +#ifdef TARGET_NR_request_key | |
1043 | +{ TARGET_NR_request_key, "request_key" , NULL, NULL, NULL }, | |
1044 | +#endif | |
1045 | +#ifdef TARGET_NR_reserved221 | |
1046 | +{ TARGET_NR_reserved221, "reserved221" , NULL, NULL, NULL }, | |
1047 | +#endif | |
1048 | +#ifdef TARGET_NR_reserved82 | |
1049 | +{ TARGET_NR_reserved82, "reserved82" , NULL, NULL, NULL }, | |
1050 | +#endif | |
1051 | +#ifdef TARGET_NR_restart_syscall | |
1052 | +{ TARGET_NR_restart_syscall, "restart_syscall" , NULL, NULL, NULL }, | |
1053 | +#endif | |
1054 | +#ifdef TARGET_NR_rmdir | |
1055 | +{ TARGET_NR_rmdir, "rmdir" , NULL, NULL, NULL }, | |
1056 | +#endif | |
1057 | +#ifdef TARGET_NR_rt_sigaction | |
1058 | +{ TARGET_NR_rt_sigaction, "rt_sigaction" , NULL, NULL, NULL }, | |
1059 | +#endif | |
1060 | +#ifdef TARGET_NR_rt_sigpending | |
1061 | +{ TARGET_NR_rt_sigpending, "rt_sigpending" , NULL, NULL, NULL }, | |
1062 | +#endif | |
1063 | +#ifdef TARGET_NR_rt_sigprocmask | |
1064 | +{ TARGET_NR_rt_sigprocmask, "rt_sigprocmask" , NULL, NULL, NULL }, | |
1065 | +#endif | |
1066 | +#ifdef TARGET_NR_rt_sigqueueinfo | |
1067 | +{ TARGET_NR_rt_sigqueueinfo, "rt_sigqueueinfo" , NULL, NULL, NULL }, | |
1068 | +#endif | |
1069 | +#ifdef TARGET_NR_rt_sigreturn | |
1070 | +{ TARGET_NR_rt_sigreturn, "rt_sigreturn" , NULL, NULL, NULL }, | |
1071 | +#endif | |
1072 | +#ifdef TARGET_NR_rt_sigsuspend | |
1073 | +{ TARGET_NR_rt_sigsuspend, "rt_sigsuspend" , NULL, NULL, NULL }, | |
1074 | +#endif | |
1075 | +#ifdef TARGET_NR_rt_sigtimedwait | |
1076 | +{ TARGET_NR_rt_sigtimedwait, "rt_sigtimedwait" , NULL, NULL, NULL }, | |
1077 | +#endif | |
1078 | +#ifdef TARGET_NR_sched_getaffinity | |
1079 | +{ TARGET_NR_sched_getaffinity, "sched_getaffinity" , NULL, NULL, NULL }, | |
1080 | +#endif | |
1081 | +#ifdef TARGET_NR_sched_get_affinity | |
1082 | +{ TARGET_NR_sched_get_affinity, "sched_get_affinity" , NULL, NULL, NULL }, | |
1083 | +#endif | |
1084 | +#ifdef TARGET_NR_sched_getparam | |
1085 | +{ TARGET_NR_sched_getparam, "sched_getparam" , NULL, NULL, NULL }, | |
1086 | +#endif | |
1087 | +#ifdef TARGET_NR_sched_get_priority_max | |
1088 | +{ TARGET_NR_sched_get_priority_max, "sched_get_priority_max" , NULL, NULL, NULL }, | |
1089 | +#endif | |
1090 | +#ifdef TARGET_NR_sched_get_priority_min | |
1091 | +{ TARGET_NR_sched_get_priority_min, "sched_get_priority_min" , NULL, NULL, NULL }, | |
1092 | +#endif | |
1093 | +#ifdef TARGET_NR_sched_getscheduler | |
1094 | +{ TARGET_NR_sched_getscheduler, "sched_getscheduler" , NULL, NULL, NULL }, | |
1095 | +#endif | |
1096 | +#ifdef TARGET_NR_sched_rr_get_interval | |
1097 | +{ TARGET_NR_sched_rr_get_interval, "sched_rr_get_interval" , NULL, NULL, NULL }, | |
1098 | +#endif | |
1099 | +#ifdef TARGET_NR_sched_setaffinity | |
1100 | +{ TARGET_NR_sched_setaffinity, "sched_setaffinity" , NULL, NULL, NULL }, | |
1101 | +#endif | |
1102 | +#ifdef TARGET_NR_sched_set_affinity | |
1103 | +{ TARGET_NR_sched_set_affinity, "sched_set_affinity" , NULL, NULL, NULL }, | |
1104 | +#endif | |
1105 | +#ifdef TARGET_NR_sched_setparam | |
1106 | +{ TARGET_NR_sched_setparam, "sched_setparam" , NULL, NULL, NULL }, | |
1107 | +#endif | |
1108 | +#ifdef TARGET_NR_sched_setscheduler | |
1109 | +{ TARGET_NR_sched_setscheduler, "sched_setscheduler" , NULL, NULL, NULL }, | |
1110 | +#endif | |
1111 | +#ifdef TARGET_NR_sched_yield | |
1112 | +{ TARGET_NR_sched_yield, "sched_yield" , NULL, NULL, NULL }, | |
1113 | +#endif | |
1114 | +#ifdef TARGET_NR_security | |
1115 | +{ TARGET_NR_security, "security" , NULL, NULL, NULL }, | |
1116 | +#endif | |
1117 | +#ifdef TARGET_NR_select | |
1118 | +{ TARGET_NR_select, "select" , NULL, NULL, NULL }, | |
1119 | +#endif | |
1120 | +#ifdef TARGET_NR_semctl | |
1121 | +{ TARGET_NR_semctl, "semctl" , NULL, print_semctl, NULL }, | |
1122 | +#endif | |
1123 | +#ifdef TARGET_NR_semget | |
1124 | +{ TARGET_NR_semget, "semget" , NULL, NULL, NULL }, | |
1125 | +#endif | |
1126 | +#ifdef TARGET_NR_semop | |
1127 | +{ TARGET_NR_semop, "semop" , NULL, NULL, NULL }, | |
1128 | +#endif | |
1129 | +#ifdef TARGET_NR_semtimedop | |
1130 | +{ TARGET_NR_semtimedop, "semtimedop" , NULL, NULL, NULL }, | |
1131 | +#endif | |
1132 | +#ifdef TARGET_NR_send | |
1133 | +{ TARGET_NR_send, "send" , NULL, NULL, NULL }, | |
1134 | +#endif | |
1135 | +#ifdef TARGET_NR_sendfile | |
1136 | +{ TARGET_NR_sendfile, "sendfile" , NULL, NULL, NULL }, | |
1137 | +#endif | |
1138 | +#ifdef TARGET_NR_sendfile64 | |
1139 | +{ TARGET_NR_sendfile64, "sendfile64" , NULL, NULL, NULL }, | |
1140 | +#endif | |
1141 | +#ifdef TARGET_NR_sendmsg | |
1142 | +{ TARGET_NR_sendmsg, "sendmsg" , NULL, NULL, NULL }, | |
1143 | +#endif | |
1144 | +#ifdef TARGET_NR_sendto | |
1145 | +{ TARGET_NR_sendto, "sendto" , NULL, NULL, NULL }, | |
1146 | +#endif | |
1147 | +#ifdef TARGET_NR_setdomainname | |
1148 | +{ TARGET_NR_setdomainname, "setdomainname" , NULL, NULL, NULL }, | |
1149 | +#endif | |
1150 | +#ifdef TARGET_NR_setfsgid | |
1151 | +{ TARGET_NR_setfsgid, "setfsgid" , NULL, NULL, NULL }, | |
1152 | +#endif | |
1153 | +#ifdef TARGET_NR_setfsgid32 | |
1154 | +{ TARGET_NR_setfsgid32, "setfsgid32" , NULL, NULL, NULL }, | |
1155 | +#endif | |
1156 | +#ifdef TARGET_NR_setfsuid | |
1157 | +{ TARGET_NR_setfsuid, "setfsuid" , NULL, NULL, NULL }, | |
1158 | +#endif | |
1159 | +#ifdef TARGET_NR_setfsuid32 | |
1160 | +{ TARGET_NR_setfsuid32, "setfsuid32" , NULL, NULL, NULL }, | |
1161 | +#endif | |
1162 | +#ifdef TARGET_NR_setgid | |
1163 | +{ TARGET_NR_setgid, "setgid" , NULL, NULL, NULL }, | |
1164 | +#endif | |
1165 | +#ifdef TARGET_NR_setgid32 | |
1166 | +{ TARGET_NR_setgid32, "setgid32" , NULL, NULL, NULL }, | |
1167 | +#endif | |
1168 | +#ifdef TARGET_NR_setgroups | |
1169 | +{ TARGET_NR_setgroups, "setgroups" , NULL, NULL, NULL }, | |
1170 | +#endif | |
1171 | +#ifdef TARGET_NR_setgroups32 | |
1172 | +{ TARGET_NR_setgroups32, "setgroups32" , NULL, NULL, NULL }, | |
1173 | +#endif | |
1174 | +#ifdef TARGET_NR_sethae | |
1175 | +{ TARGET_NR_sethae, "sethae" , NULL, NULL, NULL }, | |
1176 | +#endif | |
1177 | +#ifdef TARGET_NR_sethostname | |
1178 | +{ TARGET_NR_sethostname, "sethostname" , NULL, NULL, NULL }, | |
1179 | +#endif | |
1180 | +#ifdef TARGET_NR_setitimer | |
1181 | +{ TARGET_NR_setitimer, "setitimer" , NULL, NULL, NULL }, | |
1182 | +#endif | |
1183 | +#ifdef TARGET_NR_set_mempolicy | |
1184 | +{ TARGET_NR_set_mempolicy, "set_mempolicy" , NULL, NULL, NULL }, | |
1185 | +#endif | |
1186 | +#ifdef TARGET_NR_setpgid | |
1187 | +{ TARGET_NR_setpgid, "setpgid" , NULL, NULL, NULL }, | |
1188 | +#endif | |
1189 | +#ifdef TARGET_NR_setpgrp | |
1190 | +{ TARGET_NR_setpgrp, "setpgrp" , NULL, NULL, NULL }, | |
1191 | +#endif | |
1192 | +#ifdef TARGET_NR_setpriority | |
1193 | +{ TARGET_NR_setpriority, "setpriority" , NULL, NULL, NULL }, | |
1194 | +#endif | |
1195 | +#ifdef TARGET_NR_setregid | |
1196 | +{ TARGET_NR_setregid, "setregid" , NULL, NULL, NULL }, | |
1197 | +#endif | |
1198 | +#ifdef TARGET_NR_setregid32 | |
1199 | +{ TARGET_NR_setregid32, "setregid32" , NULL, NULL, NULL }, | |
1200 | +#endif | |
1201 | +#ifdef TARGET_NR_setresgid | |
1202 | +{ TARGET_NR_setresgid, "setresgid" , NULL, NULL, NULL }, | |
1203 | +#endif | |
1204 | +#ifdef TARGET_NR_setresgid32 | |
1205 | +{ TARGET_NR_setresgid32, "setresgid32" , NULL, NULL, NULL }, | |
1206 | +#endif | |
1207 | +#ifdef TARGET_NR_setresuid | |
1208 | +{ TARGET_NR_setresuid, "setresuid" , NULL, NULL, NULL }, | |
1209 | +#endif | |
1210 | +#ifdef TARGET_NR_setresuid32 | |
1211 | +{ TARGET_NR_setresuid32, "setresuid32" , NULL, NULL, NULL }, | |
1212 | +#endif | |
1213 | +#ifdef TARGET_NR_setreuid | |
1214 | +{ TARGET_NR_setreuid, "setreuid" , NULL, NULL, NULL }, | |
1215 | +#endif | |
1216 | +#ifdef TARGET_NR_setreuid32 | |
1217 | +{ TARGET_NR_setreuid32, "setreuid32" , NULL, NULL, NULL }, | |
1218 | +#endif | |
1219 | +#ifdef TARGET_NR_setrlimit | |
1220 | +{ TARGET_NR_setrlimit, "setrlimit" , NULL, NULL, NULL }, | |
1221 | +#endif | |
1222 | +#ifdef TARGET_NR_set_robust_list | |
1223 | +{ TARGET_NR_set_robust_list, "set_robust_list" , NULL, NULL, NULL }, | |
1224 | +#endif | |
1225 | +#ifdef TARGET_NR_setsid | |
1226 | +{ TARGET_NR_setsid, "setsid" , NULL, NULL, NULL }, | |
1227 | +#endif | |
1228 | +#ifdef TARGET_NR_setsockopt | |
1229 | +{ TARGET_NR_setsockopt, "setsockopt" , NULL, NULL, NULL }, | |
1230 | +#endif | |
1231 | +#ifdef TARGET_NR_set_thread_area | |
1232 | +{ TARGET_NR_set_thread_area, "set_thread_area" , NULL, NULL, NULL }, | |
1233 | +#endif | |
1234 | +#ifdef TARGET_NR_set_tid_address | |
1235 | +{ TARGET_NR_set_tid_address, "set_tid_address" , NULL, NULL, NULL }, | |
1236 | +#endif | |
1237 | +#ifdef TARGET_NR_settimeofday | |
1238 | +{ TARGET_NR_settimeofday, "settimeofday" , NULL, NULL, NULL }, | |
1239 | +#endif | |
1240 | +#ifdef TARGET_NR_setuid | |
1241 | +{ TARGET_NR_setuid, "setuid" , NULL, NULL, NULL }, | |
1242 | +#endif | |
1243 | +#ifdef TARGET_NR_setuid32 | |
1244 | +{ TARGET_NR_setuid32, "setuid32" , NULL, NULL, NULL }, | |
1245 | +#endif | |
1246 | +#ifdef TARGET_NR_setxattr | |
1247 | +{ TARGET_NR_setxattr, "setxattr" , NULL, NULL, NULL }, | |
1248 | +#endif | |
1249 | +#ifdef TARGET_NR_sgetmask | |
1250 | +{ TARGET_NR_sgetmask, "sgetmask" , NULL, NULL, NULL }, | |
1251 | +#endif | |
1252 | +#ifdef TARGET_NR_shmat | |
1253 | +{ TARGET_NR_shmat, "shmat" , NULL, NULL, NULL }, | |
1254 | +#endif | |
1255 | +#ifdef TARGET_NR_shmctl | |
1256 | +{ TARGET_NR_shmctl, "shmctl" , NULL, NULL, NULL }, | |
1257 | +#endif | |
1258 | +#ifdef TARGET_NR_shmdt | |
1259 | +{ TARGET_NR_shmdt, "shmdt" , NULL, NULL, NULL }, | |
1260 | +#endif | |
1261 | +#ifdef TARGET_NR_shmget | |
1262 | +{ TARGET_NR_shmget, "shmget" , NULL, NULL, NULL }, | |
1263 | +#endif | |
1264 | +#ifdef TARGET_NR_shutdown | |
1265 | +{ TARGET_NR_shutdown, "shutdown" , NULL, NULL, NULL }, | |
1266 | +#endif | |
1267 | +#ifdef TARGET_NR_sigaction | |
1268 | +{ TARGET_NR_sigaction, "sigaction" , NULL, NULL, NULL }, | |
1269 | +#endif | |
1270 | +#ifdef TARGET_NR_sigaltstack | |
1271 | +{ TARGET_NR_sigaltstack, "sigaltstack" , "%s(%p,%p)", NULL, NULL }, | |
1272 | +#endif | |
1273 | +#ifdef TARGET_NR_signal | |
1274 | +{ TARGET_NR_signal, "signal" , NULL, NULL, NULL }, | |
1275 | +#endif | |
1276 | +#ifdef TARGET_NR_sigpending | |
1277 | +{ TARGET_NR_sigpending, "sigpending" , NULL, NULL, NULL }, | |
1278 | +#endif | |
1279 | +#ifdef TARGET_NR_sigprocmask | |
1280 | +{ TARGET_NR_sigprocmask, "sigprocmask" , NULL, NULL, NULL }, | |
1281 | +#endif | |
1282 | +#ifdef TARGET_NR_sigreturn | |
1283 | +{ TARGET_NR_sigreturn, "sigreturn" , NULL, NULL, NULL }, | |
1284 | +#endif | |
1285 | +#ifdef TARGET_NR_sigsuspend | |
1286 | +{ TARGET_NR_sigsuspend, "sigsuspend" , NULL, NULL, NULL }, | |
1287 | +#endif | |
1288 | +#ifdef TARGET_NR_socket | |
1289 | +{ TARGET_NR_socket, "socket" , NULL, NULL, NULL }, | |
1290 | +#endif | |
1291 | +#ifdef TARGET_NR_socketcall | |
1292 | +{ TARGET_NR_socketcall, "socketcall" , NULL, NULL, NULL }, | |
1293 | +#endif | |
1294 | +#ifdef TARGET_NR_socketpair | |
1295 | +{ TARGET_NR_socketpair, "socketpair" , NULL, NULL, NULL }, | |
1296 | +#endif | |
1297 | +#ifdef TARGET_NR_splice | |
1298 | +{ TARGET_NR_splice, "splice" , NULL, NULL, NULL }, | |
1299 | +#endif | |
1300 | +#ifdef TARGET_NR_ssetmask | |
1301 | +{ TARGET_NR_ssetmask, "ssetmask" , NULL, NULL, NULL }, | |
1302 | +#endif | |
1303 | +#ifdef TARGET_NR_stat | |
1304 | +{ TARGET_NR_stat, "stat" , "%s(\"%s\",%p)", NULL, NULL }, | |
1305 | +#endif | |
1306 | +#ifdef TARGET_NR_stat64 | |
1307 | +{ TARGET_NR_stat64, "stat64" , "%s(\"%s\",%p)", NULL, NULL }, | |
1308 | +#endif | |
1309 | +#ifdef TARGET_NR_statfs | |
1310 | +{ TARGET_NR_statfs, "statfs" , "%s(\"%s\",%p)", NULL, NULL }, | |
1311 | +#endif | |
1312 | +#ifdef TARGET_NR_statfs64 | |
1313 | +{ TARGET_NR_statfs64, "statfs64" , "%s(\"%s\",%p)", NULL, NULL }, | |
1314 | +#endif | |
1315 | +#ifdef TARGET_NR_stime | |
1316 | +{ TARGET_NR_stime, "stime" , NULL, NULL, NULL }, | |
1317 | +#endif | |
1318 | +#ifdef TARGET_NR_streams1 | |
1319 | +{ TARGET_NR_streams1, "streams1" , NULL, NULL, NULL }, | |
1320 | +#endif | |
1321 | +#ifdef TARGET_NR_streams2 | |
1322 | +{ TARGET_NR_streams2, "streams2" , NULL, NULL, NULL }, | |
1323 | +#endif | |
1324 | +#ifdef TARGET_NR_stty | |
1325 | +{ TARGET_NR_stty, "stty" , NULL, NULL, NULL }, | |
1326 | +#endif | |
1327 | +#ifdef TARGET_NR_swapcontext | |
1328 | +{ TARGET_NR_swapcontext, "swapcontext" , NULL, NULL, NULL }, | |
1329 | +#endif | |
1330 | +#ifdef TARGET_NR_swapoff | |
1331 | +{ TARGET_NR_swapoff, "swapoff" , NULL, NULL, NULL }, | |
1332 | +#endif | |
1333 | +#ifdef TARGET_NR_swapon | |
1334 | +{ TARGET_NR_swapon, "swapon" , NULL, NULL, NULL }, | |
1335 | +#endif | |
1336 | +#ifdef TARGET_NR_symlink | |
1337 | +{ TARGET_NR_symlink, "symlink" , "%s(\"%s\",\"%s\")", NULL, NULL }, | |
1338 | +#endif | |
1339 | +#ifdef TARGET_NR_symlinkat | |
1340 | +{ TARGET_NR_symlinkat, "symlinkat" , "%s(\"%s\",%d,\"%s\")", NULL, NULL }, | |
1341 | +#endif | |
1342 | +#ifdef TARGET_NR_sync | |
1343 | +{ TARGET_NR_sync, "sync" , NULL, NULL, NULL }, | |
1344 | +#endif | |
1345 | +#ifdef TARGET_NR_sync_file_range | |
1346 | +{ TARGET_NR_sync_file_range, "sync_file_range" , NULL, NULL, NULL }, | |
1347 | +#endif | |
1348 | +#ifdef TARGET_NR_syscall | |
1349 | +{ TARGET_NR_syscall, "syscall" , NULL, NULL, NULL }, | |
1350 | +#endif | |
1351 | +#ifdef TARGET_NR__sysctl | |
1352 | +{ TARGET_NR__sysctl, "_sysctl" , NULL, NULL, NULL }, | |
1353 | +#endif | |
1354 | +#ifdef TARGET_NR_sys_epoll_create | |
1355 | +{ TARGET_NR_sys_epoll_create, "sys_epoll_create" , NULL, NULL, NULL }, | |
1356 | +#endif | |
1357 | +#ifdef TARGET_NR_sys_epoll_ctl | |
1358 | +{ TARGET_NR_sys_epoll_ctl, "sys_epoll_ctl" , NULL, NULL, NULL }, | |
1359 | +#endif | |
1360 | +#ifdef TARGET_NR_sys_epoll_wait | |
1361 | +{ TARGET_NR_sys_epoll_wait, "sys_epoll_wait" , NULL, NULL, NULL }, | |
1362 | +#endif | |
1363 | +#ifdef TARGET_NR_sysfs | |
1364 | +{ TARGET_NR_sysfs, "sysfs" , NULL, NULL, NULL }, | |
1365 | +#endif | |
1366 | +#ifdef TARGET_NR_sysinfo | |
1367 | +{ TARGET_NR_sysinfo, "sysinfo" , NULL, NULL, NULL }, | |
1368 | +#endif | |
1369 | +#ifdef TARGET_NR_sys_kexec_load | |
1370 | +{ TARGET_NR_sys_kexec_load, "sys_kexec_load" , NULL, NULL, NULL }, | |
1371 | +#endif | |
1372 | +#ifdef TARGET_NR_syslog | |
1373 | +{ TARGET_NR_syslog, "syslog" , NULL, NULL, NULL }, | |
1374 | +#endif | |
1375 | +#ifdef TARGET_NR_sysmips | |
1376 | +{ TARGET_NR_sysmips, "sysmips" , NULL, NULL, NULL }, | |
1377 | +#endif | |
1378 | +#ifdef TARGET_NR_sys_setaltroot | |
1379 | +{ TARGET_NR_sys_setaltroot, "sys_setaltroot" , NULL, NULL, NULL }, | |
1380 | +#endif | |
1381 | +#ifdef TARGET_NR_tee | |
1382 | +{ TARGET_NR_tee, "tee" , NULL, NULL, NULL }, | |
1383 | +#endif | |
1384 | +#ifdef TARGET_NR_tgkill | |
1385 | +{ TARGET_NR_tgkill, "tgkill" , NULL, NULL, NULL }, | |
1386 | +#endif | |
1387 | +#ifdef TARGET_NR_time | |
1388 | +{ TARGET_NR_time, "time" , NULL, NULL, NULL }, | |
1389 | +#endif | |
1390 | +#ifdef TARGET_NR_timer_create | |
1391 | +{ TARGET_NR_timer_create, "timer_create" , NULL, NULL, NULL }, | |
1392 | +#endif | |
1393 | +#ifdef TARGET_NR_timer_delete | |
1394 | +{ TARGET_NR_timer_delete, "timer_delete" , NULL, NULL, NULL }, | |
1395 | +#endif | |
1396 | +#ifdef TARGET_NR_timer_getoverrun | |
1397 | +{ TARGET_NR_timer_getoverrun, "timer_getoverrun" , NULL, NULL, NULL }, | |
1398 | +#endif | |
1399 | +#ifdef TARGET_NR_timer_gettime | |
1400 | +{ TARGET_NR_timer_gettime, "timer_gettime" , NULL, NULL, NULL }, | |
1401 | +#endif | |
1402 | +#ifdef TARGET_NR_timer_settime | |
1403 | +{ TARGET_NR_timer_settime, "timer_settime" , NULL, NULL, NULL }, | |
1404 | +#endif | |
1405 | +#ifdef TARGET_NR_times | |
1406 | +{ TARGET_NR_times, "times" , NULL, NULL, NULL }, | |
1407 | +#endif | |
1408 | +#ifdef TARGET_NR_tkill | |
1409 | +{ TARGET_NR_tkill, "tkill" , NULL, NULL, NULL }, | |
1410 | +#endif | |
1411 | +#ifdef TARGET_NR_truncate | |
1412 | +{ TARGET_NR_truncate, "truncate" , NULL, NULL, NULL }, | |
1413 | +#endif | |
1414 | +#ifdef TARGET_NR_truncate64 | |
1415 | +{ TARGET_NR_truncate64, "truncate64" , NULL, NULL, NULL }, | |
1416 | +#endif | |
1417 | +#ifdef TARGET_NR_tuxcall | |
1418 | +{ TARGET_NR_tuxcall, "tuxcall" , NULL, NULL, NULL }, | |
1419 | +#endif | |
1420 | +#ifdef TARGET_NR_ugetrlimit | |
1421 | +{ TARGET_NR_ugetrlimit, "ugetrlimit" , NULL, NULL, NULL }, | |
1422 | +#endif | |
1423 | +#ifdef TARGET_NR_ulimit | |
1424 | +{ TARGET_NR_ulimit, "ulimit" , NULL, NULL, NULL }, | |
1425 | +#endif | |
1426 | +#ifdef TARGET_NR_umask | |
1427 | +{ TARGET_NR_umask, "umask" , "%s(%#o)", NULL, NULL }, | |
1428 | +#endif | |
1429 | +#ifdef TARGET_NR_umount | |
1430 | +{ TARGET_NR_umount, "umount" , "%s(\"%s\",\"%s\",\"%s\",%#x,%p)", NULL, NULL }, | |
1431 | +#endif | |
1432 | +#ifdef TARGET_NR_umount2 | |
1433 | +{ TARGET_NR_umount2, "umount2" , NULL, NULL, NULL }, | |
1434 | +#endif | |
1435 | +#ifdef TARGET_NR_uname | |
1436 | +{ TARGET_NR_uname, "uname" , "%s(%p)", NULL, NULL }, | |
1437 | +#endif | |
1438 | +#ifdef TARGET_NR_unlink | |
1439 | +{ TARGET_NR_unlink, "unlink" , "%s(\"%s\")", NULL, NULL }, | |
1440 | +#endif | |
1441 | +#ifdef TARGET_NR_unlinkat | |
1442 | +{ TARGET_NR_unlinkat, "unlinkat" , "%s(%d,\"%s\",%#x)", NULL, NULL }, | |
1443 | +#endif | |
1444 | +#ifdef TARGET_NR_unshare | |
1445 | +{ TARGET_NR_unshare, "unshare" , NULL, NULL, NULL }, | |
1446 | +#endif | |
1447 | +#ifdef TARGET_NR_unused109 | |
1448 | +{ TARGET_NR_unused109, "unused109" , NULL, NULL, NULL }, | |
1449 | +#endif | |
1450 | +#ifdef TARGET_NR_unused150 | |
1451 | +{ TARGET_NR_unused150, "unused150" , NULL, NULL, NULL }, | |
1452 | +#endif | |
1453 | +#ifdef TARGET_NR_unused18 | |
1454 | +{ TARGET_NR_unused18, "unused18" , NULL, NULL, NULL }, | |
1455 | +#endif | |
1456 | +#ifdef TARGET_NR_unused28 | |
1457 | +{ TARGET_NR_unused28, "unused28" , NULL, NULL, NULL }, | |
1458 | +#endif | |
1459 | +#ifdef TARGET_NR_unused59 | |
1460 | +{ TARGET_NR_unused59, "unused59" , NULL, NULL, NULL }, | |
1461 | +#endif | |
1462 | +#ifdef TARGET_NR_unused84 | |
1463 | +{ TARGET_NR_unused84, "unused84" , NULL, NULL, NULL }, | |
1464 | +#endif | |
1465 | +#ifdef TARGET_NR_uselib | |
1466 | +{ TARGET_NR_uselib, "uselib" , NULL, NULL, NULL }, | |
1467 | +#endif | |
1468 | +#ifdef TARGET_NR_ustat | |
1469 | +{ TARGET_NR_ustat, "ustat" , "%s(%#x,%p)", NULL, NULL }, | |
1470 | +#endif | |
1471 | +#ifdef TARGET_NR_utime | |
1472 | +{ TARGET_NR_utime, "utime" , "%s(\"%s\",%p)", NULL, NULL }, | |
1473 | +#endif | |
1474 | +#ifdef TARGET_NR_utimes | |
1475 | +{ TARGET_NR_utimes, "utimes" , NULL, NULL, NULL }, | |
1476 | +#endif | |
1477 | +#ifdef TARGET_NR_utrap_install | |
1478 | +{ TARGET_NR_utrap_install, "utrap_install" , NULL, NULL, NULL }, | |
1479 | +#endif | |
1480 | +#ifdef TARGET_NR_vfork | |
1481 | +{ TARGET_NR_vfork, "vfork" , NULL, NULL, NULL }, | |
1482 | +#endif | |
1483 | +#ifdef TARGET_NR_vhangup | |
1484 | +{ TARGET_NR_vhangup, "vhangup" , NULL, NULL, NULL }, | |
1485 | +#endif | |
1486 | +#ifdef TARGET_NR_vm86 | |
1487 | +{ TARGET_NR_vm86, "vm86" , NULL, NULL, NULL }, | |
1488 | +#endif | |
1489 | +#ifdef TARGET_NR_vm86old | |
1490 | +{ TARGET_NR_vm86old, "vm86old" , NULL, NULL, NULL }, | |
1491 | +#endif | |
1492 | +#ifdef TARGET_NR_vmsplice | |
1493 | +{ TARGET_NR_vmsplice, "vmsplice" , NULL, NULL, NULL }, | |
1494 | +#endif | |
1495 | +#ifdef TARGET_NR_vserver | |
1496 | +{ TARGET_NR_vserver, "vserver" , NULL, NULL, NULL }, | |
1497 | +#endif | |
1498 | +#ifdef TARGET_NR_wait4 | |
1499 | +{ TARGET_NR_wait4, "wait4" , NULL, NULL, NULL }, | |
1500 | +#endif | |
1501 | +#ifdef TARGET_NR_waitid | |
1502 | +{ TARGET_NR_waitid, "waitid" , "%s(%#x,%d,%p,%#x)", NULL, NULL }, | |
1503 | +#endif | |
1504 | +#ifdef TARGET_NR_waitpid | |
1505 | +{ TARGET_NR_waitpid, "waitpid" , "%s(%d,%p,%#x)", NULL, NULL }, | |
1506 | +#endif | |
1507 | +#ifdef TARGET_NR_write | |
1508 | +{ TARGET_NR_write, "write" , "%s(%d,%#x,%d)", NULL, NULL }, | |
1509 | +#endif | |
1510 | +#ifdef TARGET_NR_writev | |
1511 | +{ TARGET_NR_writev, "writev" , "%s(%d,%p,%#x)", NULL, NULL }, | |
1512 | +#endif | |
1513 | +#ifdef TARGET_NR_utimensat | |
1514 | +{ TARGET_NR_utimensat, "utimensat", "%s(%d,\"%s\",%p,%#x)", NULL, NULL }, | |
1515 | +#endif | ... | ... |