xref: /openbmc/qemu/bsd-user/freebsd/strace.list (revision 709395f8)
1/*
2 *  FreeBSD strace list
3 *
4 *
5 *  This program is free software; you can redistribute it and/or modify
6 *  it under the terms of the GNU General Public License as published by
7 *  the Free Software Foundation; either version 2 of the License, or
8 *  (at your option) any later version.
9 *
10 *  This program is distributed in the hope that it will be useful,
11 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 *  GNU General Public License for more details.
14 *
15 *  You should have received a copy of the GNU General Public License
16 *  along with this program; if not, see <http://www.gnu.org/licenses/>.
17 */
18
19{ TARGET_FREEBSD_NR___acl_aclcheck_fd, "__acl_aclcheck_fd", "%s(%d, %d, %#x)", NULL, NULL },
20{ TARGET_FREEBSD_NR___acl_aclcheck_file, "__acl_aclcheck_file", "%s(\"%s\", %d, %#x)", NULL, NULL },
21{ TARGET_FREEBSD_NR___acl_aclcheck_link, "__acl_aclcheck_link", "%s(\"%s\", %d, %#x)", NULL, NULL },
22{ TARGET_FREEBSD_NR___acl_delete_fd, "__acl_delete_fd", "%s(%d, %d)", NULL, NULL },
23{ TARGET_FREEBSD_NR___acl_delete_file, "__acl_delete_file", "%s(\"%s\", %d)", NULL, NULL },
24{ TARGET_FREEBSD_NR___acl_delete_link, "__acl_delete_link", "%s(\"%s\", %d)", NULL, NULL },
25{ TARGET_FREEBSD_NR___acl_get_fd, "__acl_get_fd", "%s(%d, %d, %#x)", NULL, NULL },
26{ TARGET_FREEBSD_NR___acl_get_file, "__acl_get_file", "%s(\"%s\", %d, %#x)", NULL, NULL },
27{ TARGET_FREEBSD_NR___acl_get_link, "__acl_get_link", "%s(\"%s\", %d, %#x)", NULL, NULL },
28{ TARGET_FREEBSD_NR___acl_set_fd, "__acl_set_fd", "%s(%d, %d, %#x)", NULL, NULL },
29{ TARGET_FREEBSD_NR___acl_set_file, "__acl_set_file", "%s(\"%s\", %d, %#x)", NULL, NULL },
30{ TARGET_FREEBSD_NR___acl_set_link, "__acl_set_link", "%s(\"%s\", %d, %#x)", NULL, NULL },
31{ TARGET_FREEBSD_NR___semctl, "__semctl", NULL, NULL, NULL },
32{ TARGET_FREEBSD_NR___syscall, "__syscall", NULL, NULL, NULL },
33{ TARGET_FREEBSD_NR___sysctl, "__sysctl", NULL, print_sysctl, NULL },
34{ TARGET_FREEBSD_NR__umtx_op, "_umtx_op", "%s(%#x, %d, %d, %#x, %#x)", NULL, NULL },
35{ TARGET_FREEBSD_NR_accept, "accept", "%s(%d,%#x,%#x)", NULL, NULL },
36{ TARGET_FREEBSD_NR_access, "access", "%s(\"%s\",%#o)", NULL, NULL },
37{ TARGET_FREEBSD_NR_acct, "acct", NULL, NULL, NULL },
38{ TARGET_FREEBSD_NR_adjtime, "adjtime", NULL, NULL, NULL },
39{ TARGET_FREEBSD_NR_bind, "bind", NULL, NULL, NULL },
40{ TARGET_FREEBSD_NR_break, "break", NULL, NULL, NULL },
41{ TARGET_FREEBSD_NR_chdir, "chdir", "%s(\"%s\")", NULL, NULL },
42{ TARGET_FREEBSD_NR_chflags, "chflags", NULL, NULL, NULL },
43{ TARGET_FREEBSD_NR_chmod, "chmod", "%s(\"%s\",%#o)", NULL, NULL },
44{ TARGET_FREEBSD_NR_chown, "chown", NULL, NULL, NULL },
45{ TARGET_FREEBSD_NR_chroot, "chroot", NULL, NULL, NULL },
46{ TARGET_FREEBSD_NR_clock_getres, "clock_getres", NULL, NULL, NULL },
47{ TARGET_FREEBSD_NR_clock_gettime, "clock_gettime", NULL, NULL, NULL },
48{ TARGET_FREEBSD_NR_clock_settime, "clock_settime", NULL, NULL, NULL },
49{ TARGET_FREEBSD_NR_close, "close", "%s(%d)", NULL, NULL },
50{ TARGET_FREEBSD_NR_connect, "connect", "%s(%d,%#x,%d)", NULL, NULL },
51{ TARGET_FREEBSD_NR_dup, "dup", NULL, NULL, NULL },
52{ TARGET_FREEBSD_NR_dup2, "dup2", NULL, NULL, NULL },
53{ TARGET_FREEBSD_NR_eaccess, "eaccess", "%s(\"%s\",%#x)", NULL, NULL },
54{ TARGET_FREEBSD_NR_execve, "execve", NULL, print_execve, NULL },
55{ TARGET_FREEBSD_NR_exit, "exit", "%s(%d)\n", NULL, NULL },
56{ TARGET_FREEBSD_NR_extattrctl, "extattrctl", "%s(\"%s\", %d, \"%s\", %d, \"%s\"", NULL, NULL },
57{ TARGET_FREEBSD_NR_extattr_delete_fd, "extattr_delete_fd", "%s(%d, %d, \"%s\")", NULL, NULL },
58{ TARGET_FREEBSD_NR_extattr_delete_file, "extattr_delete_file", "%s(\"%s\", %d, \"%s\")", NULL, NULL },
59{ TARGET_FREEBSD_NR_extattr_delete_link, "extattr_delete_link", "%s(\"%s\", %d, \"%s\")", NULL, NULL },
60{ TARGET_FREEBSD_NR_extattr_get_fd, "extattr_get_fd", "%s(%d, %d, \"%s\", %#x, %d)", NULL, NULL },
61{ TARGET_FREEBSD_NR_extattr_get_file, "extattr_get_file", "%s(\"%s\", %d, \"%s\", %#x, %d)", NULL, NULL },
62{ TARGET_FREEBSD_NR_extattr_get_file, "extattr_get_link", "%s(\"%s\", %d, \"%s\", %#x, %d)", NULL, NULL },
63{ TARGET_FREEBSD_NR_extattr_list_fd, "extattr_list_fd", "%s(%d, %d, %#x, %d)", NULL, NULL },
64{ TARGET_FREEBSD_NR_extattr_list_file, "extattr_list_file", "%s(\"%s\", %d, %#x, %d)", NULL, NULL },
65{ TARGET_FREEBSD_NR_extattr_list_link, "extattr_list_link", "%s(\"%s\", %d, %#x, %d)", NULL, NULL },
66{ TARGET_FREEBSD_NR_extattr_set_fd, "extattr_set_fd", "%s(%d, %d, \"%s\", %#x, %d)", NULL, NULL },
67{ TARGET_FREEBSD_NR_extattr_set_file, "extattr_set_file", "%s(\"%s\", %d, \"%s\", %#x, %d)", NULL, NULL },
68{ TARGET_FREEBSD_NR_extattr_set_link, "extattr_set_link", "%s(\"%s\", %d, \"%s\", %#x, %d)", NULL, NULL },
69{ TARGET_FREEBSD_NR_fchdir, "fchdir", NULL, NULL, NULL },
70{ TARGET_FREEBSD_NR_fchflags, "fchflags", NULL, NULL, NULL },
71{ TARGET_FREEBSD_NR_fchmod, "fchmod", "%s(%d,%#o)", NULL, NULL },
72{ TARGET_FREEBSD_NR_fchown, "fchown", "%s(%d,%d,%d)", NULL, NULL },
73{ TARGET_FREEBSD_NR_fcntl, "fcntl", NULL, NULL, NULL },
74{ TARGET_FREEBSD_NR_fexecve, "fexecve", NULL, print_execve, NULL },
75{ TARGET_FREEBSD_NR_fhopen, "fhopen", NULL, NULL, NULL },
76{ TARGET_FREEBSD_NR_fhstat, "fhstat", NULL, NULL, NULL },
77{ TARGET_FREEBSD_NR_fhstatfs, "fhstatfs", NULL, NULL, NULL },
78{ TARGET_FREEBSD_NR_flock, "flock", NULL, NULL, NULL },
79{ TARGET_FREEBSD_NR_fork, "fork", "%s()", NULL, NULL },
80{ TARGET_FREEBSD_NR_fpathconf, "fpathconf", NULL, NULL, NULL },
81{ TARGET_FREEBSD_NR_fstat, "fstat", "%s(%d,%#x)", NULL, NULL },
82{ TARGET_FREEBSD_NR_fstatat, "fstatat", "%s(%d,\"%s\", %#x, %d)", NULL, NULL },
83{ TARGET_FREEBSD_NR_fstatfs, "fstatfs", "%s(%d,%#x)", NULL, NULL },
84{ TARGET_FREEBSD_NR_fsync, "fsync", NULL, NULL, NULL },
85{ TARGET_FREEBSD_NR_ftruncate, "ftruncate", NULL, NULL, NULL },
86{ TARGET_FREEBSD_NR_futimes, "futimes", NULL, NULL, NULL },
87{ TARGET_FREEBSD_NR_getcontext, "getcontext", "%s(%#x)", NULL, NULL },
88{ TARGET_FREEBSD_NR_getdirentries, "getdirentries", NULL, NULL, NULL },
89{ TARGET_FREEBSD_NR_freebsd6_mmap, "freebsd6_mmap", NULL, NULL, NULL },
90{ TARGET_FREEBSD_NR_getegid, "getegid", "%s()", NULL, NULL },
91{ TARGET_FREEBSD_NR_geteuid, "geteuid", "%s()", NULL, NULL },
92{ TARGET_FREEBSD_NR_getfh, "getfh", NULL, NULL, NULL },
93{ TARGET_FREEBSD_NR_getfsstat, "getfsstat", NULL, NULL, NULL },
94{ TARGET_FREEBSD_NR_getgid, "getgid", "%s()", NULL, NULL },
95{ TARGET_FREEBSD_NR_getgroups, "getgroups", NULL, NULL, NULL },
96{ TARGET_FREEBSD_NR_getitimer, "getitimer", NULL, NULL, NULL },
97{ TARGET_FREEBSD_NR_getlogin, "getlogin", NULL, NULL, NULL },
98{ TARGET_FREEBSD_NR_getpeername, "getpeername", NULL, NULL, NULL },
99{ TARGET_FREEBSD_NR_getpgid, "getpgid", NULL, NULL, NULL },
100{ TARGET_FREEBSD_NR_getpgrp, "getpgrp", "%s()", NULL, NULL },
101{ TARGET_FREEBSD_NR_getpid, "getpid", "%s()", NULL, NULL },
102{ TARGET_FREEBSD_NR_getppid, "getppid", "%s()", NULL, NULL },
103{ TARGET_FREEBSD_NR_getpriority, "getpriority", "%s(%#x,%#x)", NULL, NULL },
104{ TARGET_FREEBSD_NR_getresgid, "getresgid", NULL, NULL, NULL },
105{ TARGET_FREEBSD_NR_getresuid, "getresuid", NULL, NULL, NULL },
106{ TARGET_FREEBSD_NR_getrlimit, "getrlimit", NULL, NULL, NULL },
107{ TARGET_FREEBSD_NR_getrusage, "getrusage", NULL, NULL, NULL },
108{ TARGET_FREEBSD_NR_getsid, "getsid", NULL, NULL, NULL },
109{ TARGET_FREEBSD_NR_getsockname, "getsockname", NULL, NULL, NULL },
110{ TARGET_FREEBSD_NR_getsockopt, "getsockopt", NULL, NULL, NULL },
111{ TARGET_FREEBSD_NR_gettimeofday, "gettimeofday", NULL, NULL, NULL },
112{ TARGET_FREEBSD_NR_getuid, "getuid", "%s()", NULL, NULL },
113{ TARGET_FREEBSD_NR_ioctl, "ioctl", NULL, print_ioctl, NULL },
114{ TARGET_FREEBSD_NR_issetugid, "issetugid", "%s()", NULL, NULL },
115{ TARGET_FREEBSD_NR_kevent, "kevent", NULL, NULL, NULL },
116{ TARGET_FREEBSD_NR_kill, "kill", NULL, NULL, NULL },
117{ TARGET_FREEBSD_NR_kqueue, "kqueue", NULL, NULL, NULL },
118{ TARGET_FREEBSD_NR_ktrace, "ktrace", NULL, NULL, NULL },
119{ TARGET_FREEBSD_NR_lchown, "lchown", NULL, NULL, NULL },
120{ TARGET_FREEBSD_NR_link, "link", "%s(\"%s\",\"%s\")", NULL, NULL },
121{ TARGET_FREEBSD_NR_listen, "listen", NULL, NULL, NULL },
122{ TARGET_FREEBSD_NR_lpathconf, "lpathconf", "%s(\"%s\", %d)", NULL, NULL },
123{ TARGET_FREEBSD_NR_lseek, "lseek", NULL, NULL, NULL },
124{ TARGET_FREEBSD_NR_lstat, "lstat", "%s(\"%s\",%p)", NULL, NULL },
125{ TARGET_FREEBSD_NR_madvise, "madvise", NULL, NULL, NULL },
126{ TARGET_FREEBSD_NR_mincore, "mincore", NULL, NULL, NULL },
127{ TARGET_FREEBSD_NR_minherit, "minherit", NULL, NULL, NULL },
128{ TARGET_FREEBSD_NR_mkdir, "mkdir", "%s(\"%s\",%#o)", NULL, NULL },
129{ TARGET_FREEBSD_NR_mkfifo, "mkfifo", NULL, NULL, NULL },
130{ TARGET_FREEBSD_NR_mknod, "mknod", "%s(\"%s\",%#o,%#x)", NULL, NULL },
131{ TARGET_FREEBSD_NR_mlock, "mlock", NULL, NULL, NULL },
132{ TARGET_FREEBSD_NR_mlockall, "mlockall", NULL, NULL, NULL },
133{ TARGET_FREEBSD_NR_mmap, "mmap", NULL, NULL, print_syscall_ret_addr },
134{ TARGET_FREEBSD_NR_mount, "mount", NULL, NULL, NULL },
135{ TARGET_FREEBSD_NR_mprotect, "mprotect", "%s(%#x,%#x,%d)", NULL, NULL },
136{ TARGET_FREEBSD_NR_msgctl, "msgctl", NULL, NULL, NULL },
137{ TARGET_FREEBSD_NR_msgget, "msgget", NULL, NULL, NULL },
138{ TARGET_FREEBSD_NR_msgrcv, "msgrcv", NULL, NULL, NULL },
139{ TARGET_FREEBSD_NR_msgsnd, "msgsnd", NULL, NULL, NULL },
140{ TARGET_FREEBSD_NR_msync, "msync", NULL, NULL, NULL },
141{ TARGET_FREEBSD_NR_munlock, "munlock", NULL, NULL, NULL },
142{ TARGET_FREEBSD_NR_munlockall, "munlockall", NULL, NULL, NULL },
143{ TARGET_FREEBSD_NR_munmap, "munmap", "%s(%p,%d)", NULL, NULL },
144{ TARGET_FREEBSD_NR_nanosleep, "nanosleep", NULL, NULL, NULL },
145{ TARGET_FREEBSD_NR_nfssvc, "nfssvc", NULL, NULL, NULL },
146{ TARGET_FREEBSD_NR_open, "open", "%s(\"%s\",%#x,%#o)", NULL, NULL },
147{ TARGET_FREEBSD_NR_openat, "openat", "%s(%d, \"%s\",%#x,%#o)", NULL, NULL },
148{ TARGET_FREEBSD_NR_pathconf, "pathconf", "%s(\"%s\", %d)", NULL, NULL },
149{ TARGET_FREEBSD_NR_pipe, "pipe", NULL, NULL, NULL },
150{ TARGET_FREEBSD_NR_poll, "poll", NULL, NULL, NULL },
151{ TARGET_FREEBSD_NR_pread, "pread", NULL, NULL, NULL },
152{ TARGET_FREEBSD_NR_preadv, "preadv", NULL, NULL, NULL },
153{ TARGET_FREEBSD_NR_profil, "profil", NULL, NULL, NULL },
154{ TARGET_FREEBSD_NR_ptrace, "ptrace", NULL, NULL, NULL },
155{ TARGET_FREEBSD_NR_pwrite, "pwrite", NULL, NULL, NULL },
156{ TARGET_FREEBSD_NR_pwritev, "pwritev", NULL, NULL, NULL },
157{ TARGET_FREEBSD_NR_quotactl, "quotactl", NULL, NULL, NULL },
158{ TARGET_FREEBSD_NR_read, "read", "%s(%d,%#x,%d)", NULL, NULL },
159{ TARGET_FREEBSD_NR_readlink, "readlink", "%s(\"%s\",%p,%d)", NULL, NULL },
160{ TARGET_FREEBSD_NR_readv, "readv", NULL, NULL, NULL },
161{ TARGET_FREEBSD_NR_reboot, "reboot", NULL, NULL, NULL },
162{ TARGET_FREEBSD_NR_recvfrom, "recvfrom", NULL, NULL, NULL },
163{ TARGET_FREEBSD_NR_recvmsg, "recvmsg", NULL, NULL, NULL },
164{ TARGET_FREEBSD_NR_rename, "rename", "%s(\"%s\",\"%s\")", NULL, NULL },
165{ TARGET_FREEBSD_NR_revoke, "revoke", NULL, NULL, NULL },
166{ TARGET_FREEBSD_NR_rfork, "rfork", NULL, NULL, NULL },
167{ TARGET_FREEBSD_NR_rmdir, "rmdir", NULL, NULL, NULL },
168{ TARGET_FREEBSD_NR_rtprio_thread, "rtprio_thread", "%s(%d, %d, %p)", NULL, NULL },
169{ TARGET_FREEBSD_NR_sbrk, "sbrk", NULL, NULL, NULL },
170{ TARGET_FREEBSD_NR_sched_yield, "sched_yield", NULL, NULL, NULL },
171{ TARGET_FREEBSD_NR_select, "select", NULL, NULL, NULL },
172{ TARGET_FREEBSD_NR_semget, "semget", NULL, NULL, NULL },
173{ TARGET_FREEBSD_NR_semop, "semop", NULL, NULL, NULL },
174{ TARGET_FREEBSD_NR_sendmsg, "sendmsg", NULL, NULL, NULL },
175{ TARGET_FREEBSD_NR_sendto, "sendto", NULL, NULL, NULL },
176{ TARGET_FREEBSD_NR_setcontext, "setcontext", "%s(%#x)", NULL, NULL },
177{ TARGET_FREEBSD_NR_setegid, "setegid", NULL, NULL, NULL },
178{ TARGET_FREEBSD_NR_seteuid, "seteuid", NULL, NULL, NULL },
179{ TARGET_FREEBSD_NR_setgid, "setgid", NULL, NULL, NULL },
180{ TARGET_FREEBSD_NR_setgroups, "setgroups", NULL, NULL, NULL },
181{ TARGET_FREEBSD_NR_setitimer, "setitimer", NULL, NULL, NULL },
182{ TARGET_FREEBSD_NR_setlogin, "setlogin", NULL, NULL, NULL },
183{ TARGET_FREEBSD_NR_setpgid, "setpgid", NULL, NULL, NULL },
184{ TARGET_FREEBSD_NR_setpriority, "setpriority", NULL, NULL, NULL },
185{ TARGET_FREEBSD_NR_setregid, "setregid", NULL, NULL, NULL },
186{ TARGET_FREEBSD_NR_setresgid, "setresgid", NULL, NULL, NULL },
187{ TARGET_FREEBSD_NR_setresuid, "setresuid", NULL, NULL, NULL },
188{ TARGET_FREEBSD_NR_setreuid, "setreuid", NULL, NULL, NULL },
189{ TARGET_FREEBSD_NR_setrlimit, "setrlimit", NULL, NULL, NULL },
190{ TARGET_FREEBSD_NR_setsid, "setsid", NULL, NULL, NULL },
191{ TARGET_FREEBSD_NR_setsockopt, "setsockopt", NULL, NULL, NULL },
192{ TARGET_FREEBSD_NR_settimeofday, "settimeofday", NULL, NULL, NULL },
193{ TARGET_FREEBSD_NR_setuid, "setuid", NULL, NULL, NULL },
194{ TARGET_FREEBSD_NR_shmat, "shmat", NULL, NULL, NULL },
195{ TARGET_FREEBSD_NR_shmctl, "shmctl", NULL, NULL, NULL },
196{ TARGET_FREEBSD_NR_shmdt, "shmdt", NULL, NULL, NULL },
197{ TARGET_FREEBSD_NR_shmget, "shmget", NULL, NULL, NULL },
198{ TARGET_FREEBSD_NR_shutdown, "shutdown", NULL, NULL, NULL },
199{ TARGET_FREEBSD_NR_sigaction, "sigaction", NULL, NULL, NULL },
200{ TARGET_FREEBSD_NR_sigaltstack, "sigaltstack", "%s(%p,%p)", NULL, NULL },
201{ TARGET_FREEBSD_NR_sigpending, "sigpending", NULL, NULL, NULL },
202{ TARGET_FREEBSD_NR_sigprocmask, "sigprocmask", NULL, NULL, NULL },
203{ TARGET_FREEBSD_NR_sigreturn, "sigreturn", NULL, NULL, NULL },
204{ TARGET_FREEBSD_NR_sigsuspend, "sigsuspend", NULL, NULL, NULL },
205{ TARGET_FREEBSD_NR_socket, "socket", "%s(%d,%d,%d)", NULL, NULL },
206{ TARGET_FREEBSD_NR_socketpair, "socketpair", NULL, NULL, NULL },
207{ TARGET_FREEBSD_NR_sstk, "sstk", NULL, NULL, NULL },
208{ TARGET_FREEBSD_NR_stat, "stat", "%s(\"%s\",%p)", NULL, NULL },
209{ TARGET_FREEBSD_NR_statfs, "statfs", "%s(\"%s\",%p)", NULL, NULL },
210{ TARGET_FREEBSD_NR_symlink, "symlink", "%s(\"%s\",\"%s\")", NULL, NULL },
211{ TARGET_FREEBSD_NR_sync, "sync", NULL, NULL, NULL },
212{ TARGET_FREEBSD_NR_sysarch, "sysarch", NULL, NULL, NULL },
213{ TARGET_FREEBSD_NR_syscall, "syscall", NULL, NULL, NULL },
214{ TARGET_FREEBSD_NR_thr_create, "thr_create", "%s(%#x, %#x, %d)", NULL, NULL },
215{ TARGET_FREEBSD_NR_thr_exit, "thr_exit", "%s(%#x)", NULL, NULL },
216{ TARGET_FREEBSD_NR_thr_kill, "thr_kill", "%s(%d, %#x)", NULL, NULL },
217{ TARGET_FREEBSD_NR_thr_kill2, "thr_kill2", "%s(%d, %d, %d)", NULL, NULL },
218{ TARGET_FREEBSD_NR_thr_new, "thr_new", "%s(%#x, %d)", NULL, NULL },
219{ TARGET_FREEBSD_NR_thr_self, "thr_self", "%s(%#x)", NULL, NULL },
220{ TARGET_FREEBSD_NR_thr_set_name, "thr_set_name", "%s(%d, \"%s\")", NULL, NULL },
221{ TARGET_FREEBSD_NR_thr_suspend, "thr_suspend", "%s(%d, %#x)", NULL, NULL },
222{ TARGET_FREEBSD_NR_thr_wake, "thr_wake", "%s(%d)", NULL, NULL },
223{ TARGET_FREEBSD_NR_truncate, "truncate", NULL, NULL, NULL },
224{ TARGET_FREEBSD_NR_umask, "umask", "%s(%#o)", NULL, NULL },
225{ TARGET_FREEBSD_NR_unlink, "unlink", "%s(\"%s\")", NULL, NULL },
226{ TARGET_FREEBSD_NR_unmount, "unmount", NULL, NULL, NULL },
227{ TARGET_FREEBSD_NR_utimes, "utimes", NULL, NULL, NULL },
228{ TARGET_FREEBSD_NR_vfork, "vfork", NULL, NULL, NULL },
229{ TARGET_FREEBSD_NR_wait4, "wait4", NULL, NULL, NULL },
230{ TARGET_FREEBSD_NR_write, "write", "%s(%d,%#x,%d)", NULL, NULL },
231{ TARGET_FREEBSD_NR_writev, "writev", "%s(%d,%p,%#x)", NULL, NULL },
232