Sean Bruno | 80b3460 | 2014-06-08 09:57:24 -0700 | [diff] [blame] | 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 | |
Sean Bruno | 6054748 | 2014-06-08 09:57:27 -0700 | [diff] [blame] | 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 }, |
Stacey Son | ea1ab4c | 2020-12-18 13:54:50 -0700 | [diff] [blame] | 31 | { TARGET_FREEBSD_NR___getcwd, "__getcwd", NULL, NULL, NULL }, |
blueswir1 | 8477850 | 2008-10-26 20:33:16 +0000 | [diff] [blame] | 32 | { TARGET_FREEBSD_NR___semctl, "__semctl", NULL, NULL, NULL }, |
| 33 | { TARGET_FREEBSD_NR___syscall, "__syscall", NULL, NULL, NULL }, |
Sean Bruno | 80b3460 | 2014-06-08 09:57:24 -0700 | [diff] [blame] | 34 | { TARGET_FREEBSD_NR___sysctl, "__sysctl", NULL, print_sysctl, NULL }, |
Sean Bruno | c4af6d4 | 2014-06-08 09:57:30 -0700 | [diff] [blame] | 35 | { TARGET_FREEBSD_NR__umtx_op, "_umtx_op", "%s(%#x, %d, %d, %#x, %#x)", NULL, NULL }, |
blueswir1 | 8477850 | 2008-10-26 20:33:16 +0000 | [diff] [blame] | 36 | { TARGET_FREEBSD_NR_accept, "accept", "%s(%d,%#x,%#x)", NULL, NULL }, |
Warner Losh | f6eb4a0 | 2020-12-18 13:54:51 -0700 | [diff] [blame] | 37 | { TARGET_FREEBSD_NR_accept4, "accept4", "%s(%d,%d,%#x,%#x)", NULL, NULL }, |
blueswir1 | 8477850 | 2008-10-26 20:33:16 +0000 | [diff] [blame] | 38 | { TARGET_FREEBSD_NR_access, "access", "%s(\"%s\",%#o)", NULL, NULL }, |
| 39 | { TARGET_FREEBSD_NR_acct, "acct", NULL, NULL, NULL }, |
| 40 | { TARGET_FREEBSD_NR_adjtime, "adjtime", NULL, NULL, NULL }, |
| 41 | { TARGET_FREEBSD_NR_bind, "bind", NULL, NULL, NULL }, |
Warner Losh | f6eb4a0 | 2020-12-18 13:54:51 -0700 | [diff] [blame] | 42 | { TARGET_FREEBSD_NR_bindat, "bindat", NULL, NULL, NULL }, |
blueswir1 | 8477850 | 2008-10-26 20:33:16 +0000 | [diff] [blame] | 43 | { TARGET_FREEBSD_NR_break, "break", NULL, NULL, NULL }, |
Warner Losh | f6eb4a0 | 2020-12-18 13:54:51 -0700 | [diff] [blame] | 44 | { TARGET_FREEBSD_NR_cap_enter, "cap_enter", NULL, NULL, NULL }, |
| 45 | { TARGET_FREEBSD_NR_cap_fcntls_get, "cap_fcntls_get", NULL, NULL, NULL }, |
| 46 | { TARGET_FREEBSD_NR_cap_fcntls_limit, "cap_fcntls_limit", NULL, NULL, NULL }, |
| 47 | { TARGET_FREEBSD_NR_cap_getmode, "cap_getmode", NULL, NULL, NULL }, |
Warner Losh | f6eb4a0 | 2020-12-18 13:54:51 -0700 | [diff] [blame] | 48 | { TARGET_FREEBSD_NR_cap_ioctls_get, "cap_ioctls_get", NULL, NULL, NULL }, |
| 49 | { TARGET_FREEBSD_NR_cap_ioctls_limit, "cap_ioctls_limit", NULL, NULL, NULL }, |
| 50 | { TARGET_FREEBSD_NR_cap_rights_limit, "cap_rights_limit", NULL, NULL, NULL }, |
blueswir1 | 8477850 | 2008-10-26 20:33:16 +0000 | [diff] [blame] | 51 | { TARGET_FREEBSD_NR_chdir, "chdir", "%s(\"%s\")", NULL, NULL }, |
| 52 | { TARGET_FREEBSD_NR_chflags, "chflags", NULL, NULL, NULL }, |
Warner Losh | f6eb4a0 | 2020-12-18 13:54:51 -0700 | [diff] [blame] | 53 | { TARGET_FREEBSD_NR_chflagsat, "chflagsat", NULL, NULL, NULL }, |
blueswir1 | 8477850 | 2008-10-26 20:33:16 +0000 | [diff] [blame] | 54 | { TARGET_FREEBSD_NR_chmod, "chmod", "%s(\"%s\",%#o)", NULL, NULL }, |
| 55 | { TARGET_FREEBSD_NR_chown, "chown", NULL, NULL, NULL }, |
| 56 | { TARGET_FREEBSD_NR_chroot, "chroot", NULL, NULL, NULL }, |
| 57 | { TARGET_FREEBSD_NR_clock_getres, "clock_getres", NULL, NULL, NULL }, |
| 58 | { TARGET_FREEBSD_NR_clock_gettime, "clock_gettime", NULL, NULL, NULL }, |
| 59 | { TARGET_FREEBSD_NR_clock_settime, "clock_settime", NULL, NULL, NULL }, |
| 60 | { TARGET_FREEBSD_NR_close, "close", "%s(%d)", NULL, NULL }, |
| 61 | { TARGET_FREEBSD_NR_connect, "connect", "%s(%d,%#x,%d)", NULL, NULL }, |
Warner Losh | f6eb4a0 | 2020-12-18 13:54:51 -0700 | [diff] [blame] | 62 | { TARGET_FREEBSD_NR_connectat, "connectat", "%s(%d,%d,%#x,%d)", NULL, NULL }, |
| 63 | { TARGET_FREEBSD_NR_cpuset_getdomain, "cpuset_getdomain", NULL, NULL, NULL }, |
| 64 | { TARGET_FREEBSD_NR_cpuset_setdomain, "cpuset_setdomain", NULL, NULL, NULL }, |
blueswir1 | 8477850 | 2008-10-26 20:33:16 +0000 | [diff] [blame] | 65 | { TARGET_FREEBSD_NR_dup, "dup", NULL, NULL, NULL }, |
| 66 | { TARGET_FREEBSD_NR_dup2, "dup2", NULL, NULL, NULL }, |
Sean Bruno | c4af6d4 | 2014-06-08 09:57:30 -0700 | [diff] [blame] | 67 | { TARGET_FREEBSD_NR_eaccess, "eaccess", "%s(\"%s\",%#x)", NULL, NULL }, |
blueswir1 | 8477850 | 2008-10-26 20:33:16 +0000 | [diff] [blame] | 68 | { TARGET_FREEBSD_NR_execve, "execve", NULL, print_execve, NULL }, |
| 69 | { TARGET_FREEBSD_NR_exit, "exit", "%s(%d)\n", NULL, NULL }, |
Sean Bruno | 1e50165 | 2014-06-08 09:57:28 -0700 | [diff] [blame] | 70 | { TARGET_FREEBSD_NR_extattrctl, "extattrctl", "%s(\"%s\", %d, \"%s\", %d, \"%s\"", NULL, NULL }, |
| 71 | { TARGET_FREEBSD_NR_extattr_delete_fd, "extattr_delete_fd", "%s(%d, %d, \"%s\")", NULL, NULL }, |
| 72 | { TARGET_FREEBSD_NR_extattr_delete_file, "extattr_delete_file", "%s(\"%s\", %d, \"%s\")", NULL, NULL }, |
| 73 | { TARGET_FREEBSD_NR_extattr_delete_link, "extattr_delete_link", "%s(\"%s\", %d, \"%s\")", NULL, NULL }, |
| 74 | { TARGET_FREEBSD_NR_extattr_get_fd, "extattr_get_fd", "%s(%d, %d, \"%s\", %#x, %d)", NULL, NULL }, |
| 75 | { TARGET_FREEBSD_NR_extattr_get_file, "extattr_get_file", "%s(\"%s\", %d, \"%s\", %#x, %d)", NULL, NULL }, |
| 76 | { TARGET_FREEBSD_NR_extattr_get_file, "extattr_get_link", "%s(\"%s\", %d, \"%s\", %#x, %d)", NULL, NULL }, |
| 77 | { TARGET_FREEBSD_NR_extattr_list_fd, "extattr_list_fd", "%s(%d, %d, %#x, %d)", NULL, NULL }, |
Warner Losh | f6eb4a0 | 2020-12-18 13:54:51 -0700 | [diff] [blame] | 78 | { TARGET_FREEBSD_NR_extattr_list_file, "extattr_list_file", "%s(\"%s\", %#x, %d)", NULL, NULL }, |
Sean Bruno | 1e50165 | 2014-06-08 09:57:28 -0700 | [diff] [blame] | 79 | { TARGET_FREEBSD_NR_extattr_list_link, "extattr_list_link", "%s(\"%s\", %d, %#x, %d)", NULL, NULL }, |
| 80 | { TARGET_FREEBSD_NR_extattr_set_fd, "extattr_set_fd", "%s(%d, %d, \"%s\", %#x, %d)", NULL, NULL }, |
| 81 | { TARGET_FREEBSD_NR_extattr_set_file, "extattr_set_file", "%s(\"%s\", %d, \"%s\", %#x, %d)", NULL, NULL }, |
| 82 | { TARGET_FREEBSD_NR_extattr_set_link, "extattr_set_link", "%s(\"%s\", %d, \"%s\", %#x, %d)", NULL, NULL }, |
blueswir1 | 8477850 | 2008-10-26 20:33:16 +0000 | [diff] [blame] | 83 | { TARGET_FREEBSD_NR_fchdir, "fchdir", NULL, NULL, NULL }, |
| 84 | { TARGET_FREEBSD_NR_fchflags, "fchflags", NULL, NULL, NULL }, |
| 85 | { TARGET_FREEBSD_NR_fchmod, "fchmod", "%s(%d,%#o)", NULL, NULL }, |
Sean Bruno | c4af6d4 | 2014-06-08 09:57:30 -0700 | [diff] [blame] | 86 | { TARGET_FREEBSD_NR_fchown, "fchown", "%s(%d,%d,%d)", NULL, NULL }, |
blueswir1 | 8477850 | 2008-10-26 20:33:16 +0000 | [diff] [blame] | 87 | { TARGET_FREEBSD_NR_fcntl, "fcntl", NULL, NULL, NULL }, |
Warner Losh | f6eb4a0 | 2020-12-18 13:54:51 -0700 | [diff] [blame] | 88 | { TARGET_FREEBSD_NR_fdatasync, "fdatasync", NULL, NULL, NULL }, |
Sean Bruno | c4af6d4 | 2014-06-08 09:57:30 -0700 | [diff] [blame] | 89 | { TARGET_FREEBSD_NR_fexecve, "fexecve", NULL, print_execve, NULL }, |
blueswir1 | 8477850 | 2008-10-26 20:33:16 +0000 | [diff] [blame] | 90 | { TARGET_FREEBSD_NR_fhopen, "fhopen", NULL, NULL, NULL }, |
| 91 | { TARGET_FREEBSD_NR_fhstat, "fhstat", NULL, NULL, NULL }, |
| 92 | { TARGET_FREEBSD_NR_fhstatfs, "fhstatfs", NULL, NULL, NULL }, |
Warner Losh | f6eb4a0 | 2020-12-18 13:54:51 -0700 | [diff] [blame] | 93 | { TARGET_FREEBSD_NR_freebsd11_fhstat, "freebsd11_fhstat", NULL, NULL, NULL }, |
| 94 | { TARGET_FREEBSD_NR_freebsd11_fhstatfs, "freebsd11_fhstatfs", NULL, NULL, NULL }, |
blueswir1 | 8477850 | 2008-10-26 20:33:16 +0000 | [diff] [blame] | 95 | { TARGET_FREEBSD_NR_flock, "flock", NULL, NULL, NULL }, |
| 96 | { TARGET_FREEBSD_NR_fork, "fork", "%s()", NULL, NULL }, |
| 97 | { TARGET_FREEBSD_NR_fpathconf, "fpathconf", NULL, NULL, NULL }, |
Sean Bruno | c4af6d4 | 2014-06-08 09:57:30 -0700 | [diff] [blame] | 98 | { TARGET_FREEBSD_NR_fstat, "fstat", "%s(%d,%#x)", NULL, NULL }, |
| 99 | { TARGET_FREEBSD_NR_fstatat, "fstatat", "%s(%d,\"%s\", %#x, %d)", NULL, NULL }, |
| 100 | { TARGET_FREEBSD_NR_fstatfs, "fstatfs", "%s(%d,%#x)", NULL, NULL }, |
Warner Losh | f6eb4a0 | 2020-12-18 13:54:51 -0700 | [diff] [blame] | 101 | { TARGET_FREEBSD_NR_freebsd11_fstat, "freebsd11_fstat", "%s(%d,%#x)", NULL, NULL }, |
| 102 | { TARGET_FREEBSD_NR_freebsd11_fstatat, "freebsd11_fstatat", "%s(%d,\"%s\", %#x, %d)", NULL, NULL }, |
| 103 | { TARGET_FREEBSD_NR_freebsd11_fstatfs, "freebsd11_fstatfs", "%s(%d,%#x)", NULL, NULL }, |
blueswir1 | 8477850 | 2008-10-26 20:33:16 +0000 | [diff] [blame] | 104 | { TARGET_FREEBSD_NR_fsync, "fsync", NULL, NULL, NULL }, |
| 105 | { TARGET_FREEBSD_NR_ftruncate, "ftruncate", NULL, NULL, NULL }, |
Warner Losh | f6eb4a0 | 2020-12-18 13:54:51 -0700 | [diff] [blame] | 106 | { TARGET_FREEBSD_NR_futimens, "futimens", "%s(%d,%p)", NULL, NULL }, |
blueswir1 | 8477850 | 2008-10-26 20:33:16 +0000 | [diff] [blame] | 107 | { TARGET_FREEBSD_NR_futimes, "futimes", NULL, NULL, NULL }, |
Sean Bruno | c4af6d4 | 2014-06-08 09:57:30 -0700 | [diff] [blame] | 108 | { TARGET_FREEBSD_NR_getcontext, "getcontext", "%s(%#x)", NULL, NULL }, |
blueswir1 | 8477850 | 2008-10-26 20:33:16 +0000 | [diff] [blame] | 109 | { TARGET_FREEBSD_NR_getdirentries, "getdirentries", NULL, NULL, NULL }, |
Warner Losh | f6eb4a0 | 2020-12-18 13:54:51 -0700 | [diff] [blame] | 110 | { TARGET_FREEBSD_NR_freebsd11_getdirentries, "freebsd11_getdirentries", NULL, NULL, NULL }, |
blueswir1 | 8477850 | 2008-10-26 20:33:16 +0000 | [diff] [blame] | 111 | { TARGET_FREEBSD_NR_getegid, "getegid", "%s()", NULL, NULL }, |
| 112 | { TARGET_FREEBSD_NR_geteuid, "geteuid", "%s()", NULL, NULL }, |
| 113 | { TARGET_FREEBSD_NR_getfh, "getfh", NULL, NULL, NULL }, |
| 114 | { TARGET_FREEBSD_NR_getfsstat, "getfsstat", NULL, NULL, NULL }, |
Warner Losh | f6eb4a0 | 2020-12-18 13:54:51 -0700 | [diff] [blame] | 115 | { TARGET_FREEBSD_NR_freebsd11_getfsstat, "freebsd11_getfsstat", NULL, NULL, NULL }, |
blueswir1 | 8477850 | 2008-10-26 20:33:16 +0000 | [diff] [blame] | 116 | { TARGET_FREEBSD_NR_getgid, "getgid", "%s()", NULL, NULL }, |
| 117 | { TARGET_FREEBSD_NR_getgroups, "getgroups", NULL, NULL, NULL }, |
| 118 | { TARGET_FREEBSD_NR_getitimer, "getitimer", NULL, NULL, NULL }, |
| 119 | { TARGET_FREEBSD_NR_getlogin, "getlogin", NULL, NULL, NULL }, |
| 120 | { TARGET_FREEBSD_NR_getpeername, "getpeername", NULL, NULL, NULL }, |
| 121 | { TARGET_FREEBSD_NR_getpgid, "getpgid", NULL, NULL, NULL }, |
| 122 | { TARGET_FREEBSD_NR_getpgrp, "getpgrp", "%s()", NULL, NULL }, |
| 123 | { TARGET_FREEBSD_NR_getpid, "getpid", "%s()", NULL, NULL }, |
| 124 | { TARGET_FREEBSD_NR_getppid, "getppid", "%s()", NULL, NULL }, |
| 125 | { TARGET_FREEBSD_NR_getpriority, "getpriority", "%s(%#x,%#x)", NULL, NULL }, |
Warner Losh | f6eb4a0 | 2020-12-18 13:54:51 -0700 | [diff] [blame] | 126 | { TARGET_FREEBSD_NR_getrandom, "getrandom", NULL, NULL, NULL }, |
blueswir1 | 8477850 | 2008-10-26 20:33:16 +0000 | [diff] [blame] | 127 | { TARGET_FREEBSD_NR_getresgid, "getresgid", NULL, NULL, NULL }, |
| 128 | { TARGET_FREEBSD_NR_getresuid, "getresuid", NULL, NULL, NULL }, |
| 129 | { TARGET_FREEBSD_NR_getrlimit, "getrlimit", NULL, NULL, NULL }, |
| 130 | { TARGET_FREEBSD_NR_getrusage, "getrusage", NULL, NULL, NULL }, |
| 131 | { TARGET_FREEBSD_NR_getsid, "getsid", NULL, NULL, NULL }, |
| 132 | { TARGET_FREEBSD_NR_getsockname, "getsockname", NULL, NULL, NULL }, |
| 133 | { TARGET_FREEBSD_NR_getsockopt, "getsockopt", NULL, NULL, NULL }, |
| 134 | { TARGET_FREEBSD_NR_gettimeofday, "gettimeofday", NULL, NULL, NULL }, |
| 135 | { TARGET_FREEBSD_NR_getuid, "getuid", "%s()", NULL, NULL }, |
Sean Bruno | b85159a | 2014-06-08 09:57:25 -0700 | [diff] [blame] | 136 | { TARGET_FREEBSD_NR_ioctl, "ioctl", NULL, print_ioctl, NULL }, |
blueswir1 | 8477850 | 2008-10-26 20:33:16 +0000 | [diff] [blame] | 137 | { TARGET_FREEBSD_NR_issetugid, "issetugid", "%s()", NULL, NULL }, |
Warner Losh | f6eb4a0 | 2020-12-18 13:54:51 -0700 | [diff] [blame] | 138 | { TARGET_FREEBSD_NR_freebsd11_kevent, "freebsd11_kevent", NULL, NULL, NULL }, |
blueswir1 | 8477850 | 2008-10-26 20:33:16 +0000 | [diff] [blame] | 139 | { TARGET_FREEBSD_NR_kevent, "kevent", NULL, NULL, NULL }, |
| 140 | { TARGET_FREEBSD_NR_kill, "kill", NULL, NULL, NULL }, |
| 141 | { TARGET_FREEBSD_NR_kqueue, "kqueue", NULL, NULL, NULL }, |
| 142 | { TARGET_FREEBSD_NR_ktrace, "ktrace", NULL, NULL, NULL }, |
| 143 | { TARGET_FREEBSD_NR_lchown, "lchown", NULL, NULL, NULL }, |
| 144 | { TARGET_FREEBSD_NR_link, "link", "%s(\"%s\",\"%s\")", NULL, NULL }, |
| 145 | { TARGET_FREEBSD_NR_listen, "listen", NULL, NULL, NULL }, |
Sean Bruno | c4af6d4 | 2014-06-08 09:57:30 -0700 | [diff] [blame] | 146 | { TARGET_FREEBSD_NR_lpathconf, "lpathconf", "%s(\"%s\", %d)", NULL, NULL }, |
blueswir1 | 8477850 | 2008-10-26 20:33:16 +0000 | [diff] [blame] | 147 | { TARGET_FREEBSD_NR_lseek, "lseek", NULL, NULL, NULL }, |
Warner Losh | f6eb4a0 | 2020-12-18 13:54:51 -0700 | [diff] [blame] | 148 | { TARGET_FREEBSD_NR_freebsd11_lstat, "freebsd11_lstat", "%s(\"%s\",%p)", NULL, NULL }, |
blueswir1 | 8477850 | 2008-10-26 20:33:16 +0000 | [diff] [blame] | 149 | { TARGET_FREEBSD_NR_madvise, "madvise", NULL, NULL, NULL }, |
| 150 | { TARGET_FREEBSD_NR_mincore, "mincore", NULL, NULL, NULL }, |
| 151 | { TARGET_FREEBSD_NR_minherit, "minherit", NULL, NULL, NULL }, |
| 152 | { TARGET_FREEBSD_NR_mkdir, "mkdir", "%s(\"%s\",%#o)", NULL, NULL }, |
| 153 | { TARGET_FREEBSD_NR_mkfifo, "mkfifo", NULL, NULL, NULL }, |
Warner Losh | f6eb4a0 | 2020-12-18 13:54:51 -0700 | [diff] [blame] | 154 | { TARGET_FREEBSD_NR_mknodat, "mknodat", "%s(%d, \"%s\",%#o,%#x)", NULL, NULL }, |
| 155 | { TARGET_FREEBSD_NR_freebsd11_mknod, "freebsd11_mknod", "%s(\"%s\",%#o,%#x)", NULL, NULL }, |
| 156 | { TARGET_FREEBSD_NR_freebsd11_mknodat, "freebsd11_mknodat", "%s(%d, \"%s\",%#o,%#x)", NULL, NULL }, |
blueswir1 | 8477850 | 2008-10-26 20:33:16 +0000 | [diff] [blame] | 157 | { TARGET_FREEBSD_NR_mlock, "mlock", NULL, NULL, NULL }, |
| 158 | { TARGET_FREEBSD_NR_mlockall, "mlockall", NULL, NULL, NULL }, |
| 159 | { TARGET_FREEBSD_NR_mmap, "mmap", NULL, NULL, print_syscall_ret_addr }, |
| 160 | { TARGET_FREEBSD_NR_mount, "mount", NULL, NULL, NULL }, |
| 161 | { TARGET_FREEBSD_NR_mprotect, "mprotect", "%s(%#x,%#x,%d)", NULL, NULL }, |
| 162 | { TARGET_FREEBSD_NR_msgctl, "msgctl", NULL, NULL, NULL }, |
| 163 | { TARGET_FREEBSD_NR_msgget, "msgget", NULL, NULL, NULL }, |
| 164 | { TARGET_FREEBSD_NR_msgrcv, "msgrcv", NULL, NULL, NULL }, |
| 165 | { TARGET_FREEBSD_NR_msgsnd, "msgsnd", NULL, NULL, NULL }, |
| 166 | { TARGET_FREEBSD_NR_msync, "msync", NULL, NULL, NULL }, |
| 167 | { TARGET_FREEBSD_NR_munlock, "munlock", NULL, NULL, NULL }, |
| 168 | { TARGET_FREEBSD_NR_munlockall, "munlockall", NULL, NULL, NULL }, |
| 169 | { TARGET_FREEBSD_NR_munmap, "munmap", "%s(%p,%d)", NULL, NULL }, |
| 170 | { TARGET_FREEBSD_NR_nanosleep, "nanosleep", NULL, NULL, NULL }, |
| 171 | { TARGET_FREEBSD_NR_nfssvc, "nfssvc", NULL, NULL, NULL }, |
| 172 | { TARGET_FREEBSD_NR_open, "open", "%s(\"%s\",%#x,%#o)", NULL, NULL }, |
Sean Bruno | c4af6d4 | 2014-06-08 09:57:30 -0700 | [diff] [blame] | 173 | { TARGET_FREEBSD_NR_openat, "openat", "%s(%d, \"%s\",%#x,%#o)", NULL, NULL }, |
| 174 | { TARGET_FREEBSD_NR_pathconf, "pathconf", "%s(\"%s\", %d)", NULL, NULL }, |
Warner Losh | f6eb4a0 | 2020-12-18 13:54:51 -0700 | [diff] [blame] | 175 | { TARGET_FREEBSD_NR_freebsd10_pipe, "freebsd10_pipe", NULL, NULL, NULL }, |
| 176 | { TARGET_FREEBSD_NR_pipe2, "pipe2", NULL, NULL, NULL }, |
blueswir1 | 8477850 | 2008-10-26 20:33:16 +0000 | [diff] [blame] | 177 | { TARGET_FREEBSD_NR_poll, "poll", NULL, NULL, NULL }, |
Warner Losh | f6eb4a0 | 2020-12-18 13:54:51 -0700 | [diff] [blame] | 178 | { TARGET_FREEBSD_NR_posix_fallocate, "posix_fallocate", NULL, NULL, NULL }, |
blueswir1 | 8477850 | 2008-10-26 20:33:16 +0000 | [diff] [blame] | 179 | { TARGET_FREEBSD_NR_pread, "pread", NULL, NULL, NULL }, |
| 180 | { TARGET_FREEBSD_NR_preadv, "preadv", NULL, NULL, NULL }, |
| 181 | { TARGET_FREEBSD_NR_profil, "profil", NULL, NULL, NULL }, |
| 182 | { TARGET_FREEBSD_NR_ptrace, "ptrace", NULL, NULL, NULL }, |
| 183 | { TARGET_FREEBSD_NR_pwrite, "pwrite", NULL, NULL, NULL }, |
| 184 | { TARGET_FREEBSD_NR_pwritev, "pwritev", NULL, NULL, NULL }, |
| 185 | { TARGET_FREEBSD_NR_quotactl, "quotactl", NULL, NULL, NULL }, |
| 186 | { TARGET_FREEBSD_NR_read, "read", "%s(%d,%#x,%d)", NULL, NULL }, |
| 187 | { TARGET_FREEBSD_NR_readlink, "readlink", "%s(\"%s\",%p,%d)", NULL, NULL }, |
| 188 | { TARGET_FREEBSD_NR_readv, "readv", NULL, NULL, NULL }, |
| 189 | { TARGET_FREEBSD_NR_reboot, "reboot", NULL, NULL, NULL }, |
| 190 | { TARGET_FREEBSD_NR_recvfrom, "recvfrom", NULL, NULL, NULL }, |
| 191 | { TARGET_FREEBSD_NR_recvmsg, "recvmsg", NULL, NULL, NULL }, |
| 192 | { TARGET_FREEBSD_NR_rename, "rename", "%s(\"%s\",\"%s\")", NULL, NULL }, |
| 193 | { TARGET_FREEBSD_NR_revoke, "revoke", NULL, NULL, NULL }, |
| 194 | { TARGET_FREEBSD_NR_rfork, "rfork", NULL, NULL, NULL }, |
| 195 | { TARGET_FREEBSD_NR_rmdir, "rmdir", NULL, NULL, NULL }, |
Sean Bruno | c4af6d4 | 2014-06-08 09:57:30 -0700 | [diff] [blame] | 196 | { TARGET_FREEBSD_NR_rtprio_thread, "rtprio_thread", "%s(%d, %d, %p)", NULL, NULL }, |
blueswir1 | 8477850 | 2008-10-26 20:33:16 +0000 | [diff] [blame] | 197 | { TARGET_FREEBSD_NR_sbrk, "sbrk", NULL, NULL, NULL }, |
Warner Losh | f6eb4a0 | 2020-12-18 13:54:51 -0700 | [diff] [blame] | 198 | { TARGET_FREEBSD_NR_sched_get_priority_max, "sched_get_priority_max", NULL, NULL, NULL }, |
| 199 | { TARGET_FREEBSD_NR_sched_get_priority_min, "sched_get_priority_min", NULL, NULL, NULL }, |
blueswir1 | 8477850 | 2008-10-26 20:33:16 +0000 | [diff] [blame] | 200 | { TARGET_FREEBSD_NR_sched_yield, "sched_yield", NULL, NULL, NULL }, |
| 201 | { TARGET_FREEBSD_NR_select, "select", NULL, NULL, NULL }, |
| 202 | { TARGET_FREEBSD_NR_semget, "semget", NULL, NULL, NULL }, |
| 203 | { TARGET_FREEBSD_NR_semop, "semop", NULL, NULL, NULL }, |
| 204 | { TARGET_FREEBSD_NR_sendmsg, "sendmsg", NULL, NULL, NULL }, |
| 205 | { TARGET_FREEBSD_NR_sendto, "sendto", NULL, NULL, NULL }, |
Sean Bruno | c4af6d4 | 2014-06-08 09:57:30 -0700 | [diff] [blame] | 206 | { TARGET_FREEBSD_NR_setcontext, "setcontext", "%s(%#x)", NULL, NULL }, |
blueswir1 | 8477850 | 2008-10-26 20:33:16 +0000 | [diff] [blame] | 207 | { TARGET_FREEBSD_NR_setegid, "setegid", NULL, NULL, NULL }, |
| 208 | { TARGET_FREEBSD_NR_seteuid, "seteuid", NULL, NULL, NULL }, |
| 209 | { TARGET_FREEBSD_NR_setgid, "setgid", NULL, NULL, NULL }, |
| 210 | { TARGET_FREEBSD_NR_setgroups, "setgroups", NULL, NULL, NULL }, |
| 211 | { TARGET_FREEBSD_NR_setitimer, "setitimer", NULL, NULL, NULL }, |
| 212 | { TARGET_FREEBSD_NR_setlogin, "setlogin", NULL, NULL, NULL }, |
| 213 | { TARGET_FREEBSD_NR_setpgid, "setpgid", NULL, NULL, NULL }, |
| 214 | { TARGET_FREEBSD_NR_setpriority, "setpriority", NULL, NULL, NULL }, |
| 215 | { TARGET_FREEBSD_NR_setregid, "setregid", NULL, NULL, NULL }, |
| 216 | { TARGET_FREEBSD_NR_setresgid, "setresgid", NULL, NULL, NULL }, |
| 217 | { TARGET_FREEBSD_NR_setresuid, "setresuid", NULL, NULL, NULL }, |
| 218 | { TARGET_FREEBSD_NR_setreuid, "setreuid", NULL, NULL, NULL }, |
| 219 | { TARGET_FREEBSD_NR_setrlimit, "setrlimit", NULL, NULL, NULL }, |
| 220 | { TARGET_FREEBSD_NR_setsid, "setsid", NULL, NULL, NULL }, |
| 221 | { TARGET_FREEBSD_NR_setsockopt, "setsockopt", NULL, NULL, NULL }, |
| 222 | { TARGET_FREEBSD_NR_settimeofday, "settimeofday", NULL, NULL, NULL }, |
| 223 | { TARGET_FREEBSD_NR_setuid, "setuid", NULL, NULL, NULL }, |
| 224 | { TARGET_FREEBSD_NR_shmat, "shmat", NULL, NULL, NULL }, |
| 225 | { TARGET_FREEBSD_NR_shmctl, "shmctl", NULL, NULL, NULL }, |
| 226 | { TARGET_FREEBSD_NR_shmdt, "shmdt", NULL, NULL, NULL }, |
| 227 | { TARGET_FREEBSD_NR_shmget, "shmget", NULL, NULL, NULL }, |
| 228 | { TARGET_FREEBSD_NR_shutdown, "shutdown", NULL, NULL, NULL }, |
| 229 | { TARGET_FREEBSD_NR_sigaction, "sigaction", NULL, NULL, NULL }, |
| 230 | { TARGET_FREEBSD_NR_sigaltstack, "sigaltstack", "%s(%p,%p)", NULL, NULL }, |
| 231 | { TARGET_FREEBSD_NR_sigpending, "sigpending", NULL, NULL, NULL }, |
| 232 | { TARGET_FREEBSD_NR_sigprocmask, "sigprocmask", NULL, NULL, NULL }, |
| 233 | { TARGET_FREEBSD_NR_sigreturn, "sigreturn", NULL, NULL, NULL }, |
| 234 | { TARGET_FREEBSD_NR_sigsuspend, "sigsuspend", NULL, NULL, NULL }, |
Sean Bruno | c4af6d4 | 2014-06-08 09:57:30 -0700 | [diff] [blame] | 235 | { TARGET_FREEBSD_NR_socket, "socket", "%s(%d,%d,%d)", NULL, NULL }, |
blueswir1 | 8477850 | 2008-10-26 20:33:16 +0000 | [diff] [blame] | 236 | { TARGET_FREEBSD_NR_socketpair, "socketpair", NULL, NULL, NULL }, |
| 237 | { TARGET_FREEBSD_NR_sstk, "sstk", NULL, NULL, NULL }, |
Warner Losh | f6eb4a0 | 2020-12-18 13:54:51 -0700 | [diff] [blame] | 238 | { TARGET_FREEBSD_NR_freebsd11_stat, "freebsd11_stat", "%s(\"%s\",%p)", NULL, NULL }, |
| 239 | { TARGET_FREEBSD_NR_freebsd11_statfs, "freebsd11_statfs", "%s(\"%s\",%p)", NULL, NULL }, |
blueswir1 | 8477850 | 2008-10-26 20:33:16 +0000 | [diff] [blame] | 240 | { TARGET_FREEBSD_NR_symlink, "symlink", "%s(\"%s\",\"%s\")", NULL, NULL }, |
| 241 | { TARGET_FREEBSD_NR_sync, "sync", NULL, NULL, NULL }, |
Stacey Son | ea1ab4c | 2020-12-18 13:54:50 -0700 | [diff] [blame] | 242 | { TARGET_FREEBSD_NR_sysarch, "sysarch", NULL, print_sysarch, NULL }, |
blueswir1 | 8477850 | 2008-10-26 20:33:16 +0000 | [diff] [blame] | 243 | { TARGET_FREEBSD_NR_syscall, "syscall", NULL, NULL, NULL }, |
Warner Losh | f6eb4a0 | 2020-12-18 13:54:51 -0700 | [diff] [blame] | 244 | { TARGET_FREEBSD_NR_ktimer_create, "timer_create" , NULL, NULL, NULL }, |
| 245 | { TARGET_FREEBSD_NR_ktimer_delete, "timer_delete" , NULL, NULL, NULL }, |
| 246 | { TARGET_FREEBSD_NR_ktimer_settime, "timer_settime" , NULL, NULL, NULL }, |
| 247 | { TARGET_FREEBSD_NR_ktimer_gettime, "timer_gettime" , NULL, NULL, NULL }, |
| 248 | { TARGET_FREEBSD_NR_ktimer_getoverrun, "timer_getoverrun" , NULL, NULL, NULL }, |
Sean Bruno | f35f961 | 2014-06-08 09:57:29 -0700 | [diff] [blame] | 249 | { TARGET_FREEBSD_NR_thr_create, "thr_create", "%s(%#x, %#x, %d)", NULL, NULL }, |
| 250 | { TARGET_FREEBSD_NR_thr_exit, "thr_exit", "%s(%#x)", NULL, NULL }, |
| 251 | { TARGET_FREEBSD_NR_thr_kill, "thr_kill", "%s(%d, %#x)", NULL, NULL }, |
| 252 | { TARGET_FREEBSD_NR_thr_kill2, "thr_kill2", "%s(%d, %d, %d)", NULL, NULL }, |
| 253 | { TARGET_FREEBSD_NR_thr_new, "thr_new", "%s(%#x, %d)", NULL, NULL }, |
| 254 | { TARGET_FREEBSD_NR_thr_self, "thr_self", "%s(%#x)", NULL, NULL }, |
| 255 | { TARGET_FREEBSD_NR_thr_set_name, "thr_set_name", "%s(%d, \"%s\")", NULL, NULL }, |
| 256 | { TARGET_FREEBSD_NR_thr_suspend, "thr_suspend", "%s(%d, %#x)", NULL, NULL }, |
| 257 | { TARGET_FREEBSD_NR_thr_wake, "thr_wake", "%s(%d)", NULL, NULL }, |
blueswir1 | 8477850 | 2008-10-26 20:33:16 +0000 | [diff] [blame] | 258 | { TARGET_FREEBSD_NR_truncate, "truncate", NULL, NULL, NULL }, |
| 259 | { TARGET_FREEBSD_NR_umask, "umask", "%s(%#o)", NULL, NULL }, |
| 260 | { TARGET_FREEBSD_NR_unlink, "unlink", "%s(\"%s\")", NULL, NULL }, |
| 261 | { TARGET_FREEBSD_NR_unmount, "unmount", NULL, NULL, NULL }, |
| 262 | { TARGET_FREEBSD_NR_utimes, "utimes", NULL, NULL, NULL }, |
Warner Losh | f6eb4a0 | 2020-12-18 13:54:51 -0700 | [diff] [blame] | 263 | { TARGET_FREEBSD_NR_utimensat, "utimensat", "%s(%d,%s,%p,%#x)", NULL, NULL }, |
blueswir1 | 8477850 | 2008-10-26 20:33:16 +0000 | [diff] [blame] | 264 | { TARGET_FREEBSD_NR_vfork, "vfork", NULL, NULL, NULL }, |
| 265 | { TARGET_FREEBSD_NR_wait4, "wait4", NULL, NULL, NULL }, |
Warner Losh | f6eb4a0 | 2020-12-18 13:54:51 -0700 | [diff] [blame] | 266 | { TARGET_FREEBSD_NR_wait6, "wait6", NULL, NULL, NULL }, |
blueswir1 | 8477850 | 2008-10-26 20:33:16 +0000 | [diff] [blame] | 267 | { TARGET_FREEBSD_NR_write, "write", "%s(%d,%#x,%d)", NULL, NULL }, |
| 268 | { TARGET_FREEBSD_NR_writev, "writev", "%s(%d,%p,%#x)", NULL, NULL }, |
Warner Losh | f6eb4a0 | 2020-12-18 13:54:51 -0700 | [diff] [blame] | 269 | { TARGET_FREEBSD_NR_posix_openpt, "posix_openpt", "%s(%d)", NULL, NULL }, |