freebsd-nq/sys/compat/freebsd32/freebsd32_syscalls.c

609 lines
26 KiB
C
Raw Normal View History

2003-05-31 06:51:04 +00:00
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically @generated.
2003-05-31 06:51:04 +00:00
* $FreeBSD$
*/
2003-08-22 22:52:04 +00:00
const char *freebsd32_syscallnames[] = {
#if !defined(PAD64_REQUIRED) && !defined(__amd64__)
#define PAD64_REQUIRED
#endif
2003-05-31 06:51:04 +00:00
"syscall", /* 0 = syscall */
"exit", /* 1 = exit */
"fork", /* 2 = fork */
"read", /* 3 = read */
"write", /* 4 = write */
2003-12-23 02:48:58 +00:00
"open", /* 5 = open */
2003-05-31 06:51:04 +00:00
"close", /* 6 = close */
2003-08-22 22:52:04 +00:00
"freebsd32_wait4", /* 7 = freebsd32_wait4 */
2003-05-31 06:51:04 +00:00
"obs_old", /* 8 = obsolete old creat */
"link", /* 9 = link */
"unlink", /* 10 = unlink */
"obs_execv", /* 11 = obsolete execv */
"chdir", /* 12 = chdir */
"fchdir", /* 13 = fchdir */
"compat11.mknod", /* 14 = freebsd11 mknod */
2003-05-31 06:51:04 +00:00
"chmod", /* 15 = chmod */
"chown", /* 16 = chown */
"break", /* 17 = break */
2009-06-17 19:53:47 +00:00
"compat4.freebsd32_getfsstat", /* 18 = freebsd4 freebsd32_getfsstat */
2011-06-16 22:06:35 +00:00
"compat.freebsd32_lseek", /* 19 = old freebsd32_lseek */
2003-05-31 06:51:04 +00:00
"getpid", /* 20 = getpid */
"mount", /* 21 = mount */
"unmount", /* 22 = unmount */
"setuid", /* 23 = setuid */
"getuid", /* 24 = getuid */
"geteuid", /* 25 = geteuid */
"ptrace", /* 26 = ptrace */
2005-10-15 05:57:34 +00:00
"freebsd32_recvmsg", /* 27 = freebsd32_recvmsg */
"freebsd32_sendmsg", /* 28 = freebsd32_sendmsg */
"freebsd32_recvfrom", /* 29 = freebsd32_recvfrom */
2003-05-31 06:51:04 +00:00
"accept", /* 30 = accept */
"getpeername", /* 31 = getpeername */
"getsockname", /* 32 = getsockname */
2003-12-23 02:48:58 +00:00
"access", /* 33 = access */
"chflags", /* 34 = chflags */
2003-05-31 06:51:04 +00:00
"fchflags", /* 35 = fchflags */
"sync", /* 36 = sync */
"kill", /* 37 = kill */
2011-04-01 11:16:53 +00:00
"compat.freebsd32_stat", /* 38 = old freebsd32_stat */
2003-05-31 06:51:04 +00:00
"getppid", /* 39 = getppid */
2011-04-01 11:16:53 +00:00
"compat.freebsd32_lstat", /* 40 = old freebsd32_lstat */
2003-05-31 06:51:04 +00:00
"dup", /* 41 = dup */
"compat10.freebsd32_pipe", /* 42 = freebsd10 freebsd32_pipe */
2003-05-31 06:51:04 +00:00
"getegid", /* 43 = getegid */
"profil", /* 44 = profil */
"ktrace", /* 45 = ktrace */
"compat.freebsd32_sigaction", /* 46 = old freebsd32_sigaction */
2003-05-31 06:51:04 +00:00
"getgid", /* 47 = getgid */
"compat.freebsd32_sigprocmask", /* 48 = old freebsd32_sigprocmask */
2003-05-31 06:51:04 +00:00
"getlogin", /* 49 = getlogin */
"setlogin", /* 50 = setlogin */
"acct", /* 51 = acct */
"compat.freebsd32_sigpending", /* 52 = old freebsd32_sigpending */
2003-08-22 22:52:04 +00:00
"freebsd32_sigaltstack", /* 53 = freebsd32_sigaltstack */
2008-09-22 16:09:43 +00:00
"freebsd32_ioctl", /* 54 = freebsd32_ioctl */
2003-05-31 06:51:04 +00:00
"reboot", /* 55 = reboot */
"revoke", /* 56 = revoke */
"symlink", /* 57 = symlink */
"readlink", /* 58 = readlink */
2003-08-22 22:52:04 +00:00
"freebsd32_execve", /* 59 = freebsd32_execve */
2003-05-31 06:51:04 +00:00
"umask", /* 60 = umask */
"chroot", /* 61 = chroot */
2011-04-01 11:16:53 +00:00
"compat.freebsd32_fstat", /* 62 = old freebsd32_fstat */
2003-05-31 06:51:04 +00:00
"obs_ogetkerninfo", /* 63 = obsolete ogetkerninfo */
2011-04-01 11:16:53 +00:00
"compat.freebsd32_getpagesize", /* 64 = old freebsd32_getpagesize */
2005-02-24 18:24:29 +00:00
"msync", /* 65 = msync */
2003-11-08 07:31:49 +00:00
"vfork", /* 66 = vfork */
2003-05-31 06:51:04 +00:00
"obs_vread", /* 67 = obsolete vread */
"obs_vwrite", /* 68 = obsolete vwrite */
"sbrk", /* 69 = sbrk */
"sstk", /* 70 = sstk */
2012-08-14 12:09:36 +00:00
"compat.mmap", /* 71 = old mmap */
"compat11.vadvise", /* 72 = freebsd11 vadvise */
2003-05-31 06:51:04 +00:00
"munmap", /* 73 = munmap */
"freebsd32_mprotect", /* 74 = freebsd32_mprotect */
2003-05-31 06:51:04 +00:00
"madvise", /* 75 = madvise */
"obs_vhangup", /* 76 = obsolete vhangup */
"obs_vlimit", /* 77 = obsolete vlimit */
"mincore", /* 78 = mincore */
"getgroups", /* 79 = getgroups */
"setgroups", /* 80 = setgroups */
"getpgrp", /* 81 = getpgrp */
"setpgid", /* 82 = setpgid */
2003-08-22 22:52:04 +00:00
"freebsd32_setitimer", /* 83 = freebsd32_setitimer */
2003-05-31 06:51:04 +00:00
"obs_owait", /* 84 = obsolete owait */
2008-09-15 17:39:01 +00:00
"swapon", /* 85 = swapon */
2004-01-28 23:45:48 +00:00
"freebsd32_getitimer", /* 86 = freebsd32_getitimer */
2003-05-31 06:51:04 +00:00
"obs_ogethostname", /* 87 = obsolete ogethostname */
"obs_osethostname", /* 88 = obsolete osethostname */
"getdtablesize", /* 89 = getdtablesize */
"dup2", /* 90 = dup2 */
"#91", /* 91 = getdopt */
2014-08-27 01:02:19 +00:00
"freebsd32_fcntl", /* 92 = freebsd32_fcntl */
2003-08-22 22:52:04 +00:00
"freebsd32_select", /* 93 = freebsd32_select */
2003-05-31 06:51:04 +00:00
"#94", /* 94 = setdopt */
"fsync", /* 95 = fsync */
"setpriority", /* 96 = setpriority */
"socket", /* 97 = socket */
"connect", /* 98 = connect */
2003-12-10 22:33:45 +00:00
"obs_oaccept", /* 99 = obsolete oaccept */
2003-05-31 06:51:04 +00:00
"getpriority", /* 100 = getpriority */
"obs_osend", /* 101 = obsolete osend */
"obs_orecv", /* 102 = obsolete orecv */
2011-04-01 11:16:53 +00:00
"compat.freebsd32_sigreturn", /* 103 = old freebsd32_sigreturn */
2003-05-31 06:51:04 +00:00
"bind", /* 104 = bind */
"setsockopt", /* 105 = setsockopt */
"listen", /* 106 = listen */
"obs_vtimes", /* 107 = obsolete vtimes */
"compat.freebsd32_sigvec", /* 108 = old freebsd32_sigvec */
"compat.freebsd32_sigblock", /* 109 = old freebsd32_sigblock */
"compat.freebsd32_sigsetmask", /* 110 = old freebsd32_sigsetmask */
"compat.freebsd32_sigsuspend", /* 111 = old freebsd32_sigsuspend */
"compat.freebsd32_sigstack", /* 112 = old freebsd32_sigstack */
2003-05-31 06:51:04 +00:00
"obs_orecvmsg", /* 113 = obsolete orecvmsg */
"obs_osendmsg", /* 114 = obsolete osendmsg */
"obs_vtrace", /* 115 = obsolete vtrace */
2003-08-22 22:52:04 +00:00
"freebsd32_gettimeofday", /* 116 = freebsd32_gettimeofday */
"freebsd32_getrusage", /* 117 = freebsd32_getrusage */
2003-05-31 06:51:04 +00:00
"getsockopt", /* 118 = getsockopt */
"#119", /* 119 = resuba */
2003-08-22 22:52:04 +00:00
"freebsd32_readv", /* 120 = freebsd32_readv */
"freebsd32_writev", /* 121 = freebsd32_writev */
"freebsd32_settimeofday", /* 122 = freebsd32_settimeofday */
2003-05-31 06:51:04 +00:00
"fchown", /* 123 = fchown */
"fchmod", /* 124 = fchmod */
2003-12-10 22:33:45 +00:00
"obs_orecvfrom", /* 125 = obsolete orecvfrom */
2003-05-31 06:51:04 +00:00
"setreuid", /* 126 = setreuid */
"setregid", /* 127 = setregid */
"rename", /* 128 = rename */
2012-08-15 15:18:20 +00:00
"compat.truncate", /* 129 = old truncate */
"compat.ftruncate", /* 130 = old ftruncate */
2003-05-31 06:51:04 +00:00
"flock", /* 131 = flock */
"mkfifo", /* 132 = mkfifo */
"sendto", /* 133 = sendto */
"shutdown", /* 134 = shutdown */
"socketpair", /* 135 = socketpair */
"mkdir", /* 136 = mkdir */
"rmdir", /* 137 = rmdir */
2003-08-22 22:52:04 +00:00
"freebsd32_utimes", /* 138 = freebsd32_utimes */
2003-05-31 06:51:04 +00:00
"obs_4.2", /* 139 = obsolete 4.2 sigreturn */
2003-08-22 22:52:04 +00:00
"freebsd32_adjtime", /* 140 = freebsd32_adjtime */
2003-05-31 06:51:04 +00:00
"obs_ogetpeername", /* 141 = obsolete ogetpeername */
"obs_ogethostid", /* 142 = obsolete ogethostid */
"obs_sethostid", /* 143 = obsolete sethostid */
"obs_getrlimit", /* 144 = obsolete getrlimit */
"obs_setrlimit", /* 145 = obsolete setrlimit */
"obs_killpg", /* 146 = obsolete killpg */
"setsid", /* 147 = setsid */
"quotactl", /* 148 = quotactl */
"obs_oquota", /* 149 = obsolete oquota */
"obs_ogetsockname", /* 150 = obsolete ogetsockname */
"#151", /* 151 = sem_lock */
"#152", /* 152 = sem_wakeup */
"#153", /* 153 = asyncdaemon */
2008-03-26 15:24:02 +00:00
"#154", /* 154 = nlm_syscall */
2003-05-31 06:51:04 +00:00
"#155", /* 155 = nfssvc */
2011-04-01 11:16:53 +00:00
"compat.freebsd32_getdirentries", /* 156 = old freebsd32_getdirentries */
2009-06-17 19:53:47 +00:00
"compat4.freebsd32_statfs", /* 157 = freebsd4 freebsd32_statfs */
"compat4.freebsd32_fstatfs", /* 158 = freebsd4 freebsd32_fstatfs */
2003-05-31 06:51:04 +00:00
"#159", /* 159 = nosys */
2006-09-03 16:24:36 +00:00
"#160", /* 160 = lgetfh */
2003-05-31 06:51:04 +00:00
"getfh", /* 161 = getfh */
"obs_getdomainname", /* 162 = obsolete getdomainname */
"obs_setdomainname", /* 163 = obsolete setdomainname */
"obs_uname", /* 164 = obsolete uname */
2009-04-01 13:12:40 +00:00
"freebsd32_sysarch", /* 165 = freebsd32_sysarch */
2003-05-31 06:51:04 +00:00
"rtprio", /* 166 = rtprio */
"#167", /* 167 = nosys */
"#168", /* 168 = nosys */
2003-08-22 22:52:04 +00:00
"freebsd32_semsys", /* 169 = freebsd32_semsys */
"freebsd32_msgsys", /* 170 = freebsd32_msgsys */
"freebsd32_shmsys", /* 171 = freebsd32_shmsys */
2003-05-31 06:51:04 +00:00
"#172", /* 172 = nosys */
2009-06-17 19:53:47 +00:00
"compat6.freebsd32_pread", /* 173 = freebsd6 freebsd32_pread */
"compat6.freebsd32_pwrite", /* 174 = freebsd6 freebsd32_pwrite */
2003-05-31 06:51:04 +00:00
"#175", /* 175 = nosys */
"ntp_adjtime", /* 176 = ntp_adjtime */
"#177", /* 177 = sfork */
"#178", /* 178 = getdescriptor */
"#179", /* 179 = setdescriptor */
"#180", /* 180 = nosys */
"setgid", /* 181 = setgid */
"setegid", /* 182 = setegid */
"seteuid", /* 183 = seteuid */
"obs_lfs_bmapv", /* 184 = obsolete lfs_bmapv */
"obs_lfs_markv", /* 185 = obsolete lfs_markv */
"obs_lfs_segclean", /* 186 = obsolete lfs_segclean */
"obs_lfs_segwait", /* 187 = obsolete lfs_segwait */
2017-05-23 09:30:42 +00:00
"compat11.freebsd32_stat", /* 188 = freebsd11 freebsd32_stat */
"compat11.freebsd32_fstat", /* 189 = freebsd11 freebsd32_fstat */
"compat11.freebsd32_lstat", /* 190 = freebsd11 freebsd32_lstat */
2003-05-31 06:51:04 +00:00
"pathconf", /* 191 = pathconf */
"fpathconf", /* 192 = fpathconf */
"#193", /* 193 = nosys */
"getrlimit", /* 194 = getrlimit */
"setrlimit", /* 195 = setrlimit */
2017-05-23 09:30:42 +00:00
"compat11.freebsd32_getdirentries", /* 196 = freebsd11 freebsd32_getdirentries */
2009-06-17 19:53:47 +00:00
"compat6.freebsd32_mmap", /* 197 = freebsd6 freebsd32_mmap */
2003-05-31 06:51:04 +00:00
"__syscall", /* 198 = __syscall */
2009-06-17 19:53:47 +00:00
"compat6.freebsd32_lseek", /* 199 = freebsd6 freebsd32_lseek */
"compat6.freebsd32_truncate", /* 200 = freebsd6 freebsd32_truncate */
"compat6.freebsd32_ftruncate", /* 201 = freebsd6 freebsd32_ftruncate */
"freebsd32___sysctl", /* 202 = freebsd32___sysctl */
2003-05-31 06:51:04 +00:00
"mlock", /* 203 = mlock */
"munlock", /* 204 = munlock */
"undelete", /* 205 = undelete */
2005-12-08 22:15:09 +00:00
"freebsd32_futimes", /* 206 = freebsd32_futimes */
2003-05-31 06:51:04 +00:00
"getpgid", /* 207 = getpgid */
2018-03-05 17:02:50 +00:00
"#208", /* 208 = nosys */
2003-05-31 06:51:04 +00:00
"poll", /* 209 = poll */
2008-09-25 20:08:36 +00:00
"lkmnosys", /* 210 = lkmnosys */
"lkmnosys", /* 211 = lkmnosys */
"lkmnosys", /* 212 = lkmnosys */
"lkmnosys", /* 213 = lkmnosys */
"lkmnosys", /* 214 = lkmnosys */
"lkmnosys", /* 215 = lkmnosys */
"lkmnosys", /* 216 = lkmnosys */
"lkmnosys", /* 217 = lkmnosys */
"lkmnosys", /* 218 = lkmnosys */
"lkmnosys", /* 219 = lkmnosys */
2009-06-24 21:54:08 +00:00
"compat7.freebsd32_semctl", /* 220 = freebsd7 freebsd32_semctl */
2003-05-31 06:51:04 +00:00
"semget", /* 221 = semget */
"semop", /* 222 = semop */
"obs_semconfig", /* 223 = obsolete semconfig */
2009-06-24 21:54:08 +00:00
"compat7.freebsd32_msgctl", /* 224 = freebsd7 freebsd32_msgctl */
2003-05-31 06:51:04 +00:00
"msgget", /* 225 = msgget */
2006-12-20 19:39:10 +00:00
"freebsd32_msgsnd", /* 226 = freebsd32_msgsnd */
"freebsd32_msgrcv", /* 227 = freebsd32_msgrcv */
2003-05-31 06:51:04 +00:00
"shmat", /* 228 = shmat */
2009-06-24 21:54:08 +00:00
"compat7.freebsd32_shmctl", /* 229 = freebsd7 freebsd32_shmctl */
2003-05-31 06:51:04 +00:00
"shmdt", /* 230 = shmdt */
"shmget", /* 231 = shmget */
"freebsd32_clock_gettime", /* 232 = freebsd32_clock_gettime */
"freebsd32_clock_settime", /* 233 = freebsd32_clock_settime */
"freebsd32_clock_getres", /* 234 = freebsd32_clock_getres */
2013-07-21 19:44:53 +00:00
"freebsd32_ktimer_create", /* 235 = freebsd32_ktimer_create */
"ktimer_delete", /* 236 = ktimer_delete */
"freebsd32_ktimer_settime", /* 237 = freebsd32_ktimer_settime */
"freebsd32_ktimer_gettime", /* 238 = freebsd32_ktimer_gettime */
"ktimer_getoverrun", /* 239 = ktimer_getoverrun */
"freebsd32_nanosleep", /* 240 = freebsd32_nanosleep */
"ffclock_getcounter", /* 241 = ffclock_getcounter */
"ffclock_setestimate", /* 242 = ffclock_setestimate */
"ffclock_getestimate", /* 243 = ffclock_getestimate */
"freebsd32_clock_nanosleep", /* 244 = freebsd32_clock_nanosleep */
2003-05-31 06:51:04 +00:00
"#245", /* 245 = nosys */
"#246", /* 246 = nosys */
2013-07-20 13:40:03 +00:00
"freebsd32_clock_getcpuclockid2", /* 247 = freebsd32_clock_getcpuclockid2 */
"#248", /* 248 = ntp_gettime */
2003-05-31 06:51:04 +00:00
"#249", /* 249 = nosys */
"minherit", /* 250 = minherit */
"rfork", /* 251 = rfork */
"obs_openbsd_poll", /* 252 = obsolete openbsd_poll */
2003-05-31 06:51:04 +00:00
"issetugid", /* 253 = issetugid */
"lchown", /* 254 = lchown */
2008-12-10 20:57:16 +00:00
"freebsd32_aio_read", /* 255 = freebsd32_aio_read */
"freebsd32_aio_write", /* 256 = freebsd32_aio_write */
"freebsd32_lio_listio", /* 257 = freebsd32_lio_listio */
2003-05-31 06:51:04 +00:00
"#258", /* 258 = nosys */
"#259", /* 259 = nosys */
"#260", /* 260 = nosys */
"#261", /* 261 = nosys */
"#262", /* 262 = nosys */
"#263", /* 263 = nosys */
"#264", /* 264 = nosys */
"#265", /* 265 = nosys */
"#266", /* 266 = nosys */
"#267", /* 267 = nosys */
"#268", /* 268 = nosys */
"#269", /* 269 = nosys */
"#270", /* 270 = nosys */
"#271", /* 271 = nosys */
2017-05-23 09:30:42 +00:00
"compat11.freebsd32_getdents", /* 272 = freebsd11 freebsd32_getdents */
2003-05-31 06:51:04 +00:00
"#273", /* 273 = nosys */
"lchmod", /* 274 = lchmod */
2018-07-10 14:04:52 +00:00
"obs_netbsd_lchown", /* 275 = obsolete netbsd_lchown */
2006-01-20 16:22:37 +00:00
"freebsd32_lutimes", /* 276 = freebsd32_lutimes */
2018-07-10 14:04:52 +00:00
"obs_netbsd_msync", /* 277 = obsolete netbsd_msync */
2017-05-23 09:30:42 +00:00
"compat11.nstat", /* 278 = freebsd11 nstat */
"compat11.nfstat", /* 279 = freebsd11 nfstat */
"compat11.nlstat", /* 280 = freebsd11 nlstat */
2003-05-31 06:51:04 +00:00
"#281", /* 281 = nosys */
"#282", /* 282 = nosys */
"#283", /* 283 = nosys */
"#284", /* 284 = nosys */
"#285", /* 285 = nosys */
"#286", /* 286 = nosys */
"#287", /* 287 = nosys */
"#288", /* 288 = nosys */
2005-07-07 18:20:38 +00:00
"freebsd32_preadv", /* 289 = freebsd32_preadv */
"freebsd32_pwritev", /* 290 = freebsd32_pwritev */
2003-05-31 06:51:04 +00:00
"#291", /* 291 = nosys */
"#292", /* 292 = nosys */
"#293", /* 293 = nosys */
"#294", /* 294 = nosys */
"#295", /* 295 = nosys */
"#296", /* 296 = nosys */
2009-06-17 19:53:47 +00:00
"compat4.freebsd32_fhstatfs", /* 297 = freebsd4 freebsd32_fhstatfs */
2003-05-31 06:51:04 +00:00
"fhopen", /* 298 = fhopen */
2017-05-23 09:30:42 +00:00
"compat11.freebsd32_fhstat", /* 299 = freebsd11 freebsd32_fhstat */
2003-05-31 06:51:04 +00:00
"modnext", /* 300 = modnext */
"freebsd32_modstat", /* 301 = freebsd32_modstat */
2003-05-31 06:51:04 +00:00
"modfnext", /* 302 = modfnext */
"modfind", /* 303 = modfind */
"kldload", /* 304 = kldload */
"kldunload", /* 305 = kldunload */
"kldfind", /* 306 = kldfind */
"kldnext", /* 307 = kldnext */
2011-03-30 14:46:55 +00:00
"freebsd32_kldstat", /* 308 = freebsd32_kldstat */
2003-05-31 06:51:04 +00:00
"kldfirstmod", /* 309 = kldfirstmod */
"getsid", /* 310 = getsid */
"setresuid", /* 311 = setresuid */
"setresgid", /* 312 = setresgid */
"obs_signanosleep", /* 313 = obsolete signanosleep */
2008-12-10 20:57:16 +00:00
"freebsd32_aio_return", /* 314 = freebsd32_aio_return */
"freebsd32_aio_suspend", /* 315 = freebsd32_aio_suspend */
2016-03-09 19:06:46 +00:00
"aio_cancel", /* 316 = aio_cancel */
2008-12-10 20:57:16 +00:00
"freebsd32_aio_error", /* 317 = freebsd32_aio_error */
2016-03-09 19:06:46 +00:00
"compat6.freebsd32_aio_read", /* 318 = freebsd6 freebsd32_aio_read */
"compat6.freebsd32_aio_write", /* 319 = freebsd6 freebsd32_aio_write */
"compat6.freebsd32_lio_listio", /* 320 = freebsd6 freebsd32_lio_listio */
2003-05-31 06:51:04 +00:00
"yield", /* 321 = yield */
"obs_thr_sleep", /* 322 = obsolete thr_sleep */
"obs_thr_wakeup", /* 323 = obsolete thr_wakeup */
"mlockall", /* 324 = mlockall */
"munlockall", /* 325 = munlockall */
"__getcwd", /* 326 = __getcwd */
"sched_setparam", /* 327 = sched_setparam */
"sched_getparam", /* 328 = sched_getparam */
"sched_setscheduler", /* 329 = sched_setscheduler */
"sched_getscheduler", /* 330 = sched_getscheduler */
"sched_yield", /* 331 = sched_yield */
"sched_get_priority_max", /* 332 = sched_get_priority_max */
"sched_get_priority_min", /* 333 = sched_get_priority_min */
2018-07-31 17:16:06 +00:00
"freebsd32_sched_rr_get_interval", /* 334 = freebsd32_sched_rr_get_interval */
2003-05-31 06:51:04 +00:00
"utrace", /* 335 = utrace */
2009-06-17 19:53:47 +00:00
"compat4.freebsd32_sendfile", /* 336 = freebsd4 freebsd32_sendfile */
2003-05-31 06:51:04 +00:00
"kldsym", /* 337 = kldsym */
"freebsd32_jail", /* 338 = freebsd32_jail */
2003-05-31 06:51:04 +00:00
"#339", /* 339 = pioctl */
"sigprocmask", /* 340 = sigprocmask */
"sigsuspend", /* 341 = sigsuspend */
2009-06-17 19:53:47 +00:00
"compat4.freebsd32_sigaction", /* 342 = freebsd4 freebsd32_sigaction */
2003-05-31 06:51:04 +00:00
"sigpending", /* 343 = sigpending */
2009-06-17 19:53:47 +00:00
"compat4.freebsd32_sigreturn", /* 344 = freebsd4 freebsd32_sigreturn */
2006-10-05 01:58:57 +00:00
"freebsd32_sigtimedwait", /* 345 = freebsd32_sigtimedwait */
"freebsd32_sigwaitinfo", /* 346 = freebsd32_sigwaitinfo */
2003-05-31 06:51:04 +00:00
"__acl_get_file", /* 347 = __acl_get_file */
"__acl_set_file", /* 348 = __acl_set_file */
"__acl_get_fd", /* 349 = __acl_get_fd */
"__acl_set_fd", /* 350 = __acl_set_fd */
"__acl_delete_file", /* 351 = __acl_delete_file */
"__acl_delete_fd", /* 352 = __acl_delete_fd */
"__acl_aclcheck_file", /* 353 = __acl_aclcheck_file */
"__acl_aclcheck_fd", /* 354 = __acl_aclcheck_fd */
"extattrctl", /* 355 = extattrctl */
"extattr_set_file", /* 356 = extattr_set_file */
"extattr_get_file", /* 357 = extattr_get_file */
"extattr_delete_file", /* 358 = extattr_delete_file */
2008-12-10 20:57:16 +00:00
"freebsd32_aio_waitcomplete", /* 359 = freebsd32_aio_waitcomplete */
2003-05-31 06:51:04 +00:00
"getresuid", /* 360 = getresuid */
"getresgid", /* 361 = getresgid */
"kqueue", /* 362 = kqueue */
2017-06-17 00:58:19 +00:00
"compat11.freebsd32_kevent", /* 363 = freebsd11 freebsd32_kevent */
"obs___cap_get_proc", /* 364 = obsolete __cap_get_proc */
"obs___cap_set_proc", /* 365 = obsolete __cap_set_proc */
"obs___cap_get_fd", /* 366 = obsolete __cap_get_fd */
"obs___cap_get_file", /* 367 = obsolete __cap_get_file */
"obs___cap_set_fd", /* 368 = obsolete __cap_set_fd */
"obs___cap_set_file", /* 369 = obsolete __cap_set_file */
2008-09-25 20:08:36 +00:00
"#370", /* 370 = nosys */
2003-05-31 06:51:04 +00:00
"extattr_set_fd", /* 371 = extattr_set_fd */
"extattr_get_fd", /* 372 = extattr_get_fd */
"extattr_delete_fd", /* 373 = extattr_delete_fd */
"__setugid", /* 374 = __setugid */
"obs_nfsclnt", /* 375 = obsolete nfsclnt */
2003-05-31 06:51:04 +00:00
"eaccess", /* 376 = eaccess */
"#377", /* 377 = afs_syscall */
2008-09-19 15:21:40 +00:00
"freebsd32_nmount", /* 378 = freebsd32_nmount */
"obs_kse_exit", /* 379 = obsolete kse_exit */
"obs_kse_wakeup", /* 380 = obsolete kse_wakeup */
"obs_kse_create", /* 381 = obsolete kse_create */
"obs_kse_thr_interrupt", /* 382 = obsolete kse_thr_interrupt */
"obs_kse_release", /* 383 = obsolete kse_release */
2003-05-31 06:51:04 +00:00
"#384", /* 384 = __mac_get_proc */
"#385", /* 385 = __mac_set_proc */
"#386", /* 386 = __mac_get_fd */
"#387", /* 387 = __mac_get_file */
"#388", /* 388 = __mac_set_fd */
"#389", /* 389 = __mac_set_file */
"kenv", /* 390 = kenv */
"lchflags", /* 391 = lchflags */
"uuidgen", /* 392 = uuidgen */
2003-08-22 22:52:04 +00:00
"freebsd32_sendfile", /* 393 = freebsd32_sendfile */
2003-05-31 06:51:04 +00:00
"#394", /* 394 = mac_syscall */
2017-05-23 09:30:42 +00:00
"compat11.getfsstat", /* 395 = freebsd11 getfsstat */
"compat11.statfs", /* 396 = freebsd11 statfs */
"compat11.fstatfs", /* 397 = freebsd11 fstatfs */
"compat11.fhstatfs", /* 398 = freebsd11 fhstatfs */
2003-05-31 06:51:04 +00:00
"#399", /* 399 = nosys */
2010-03-19 11:14:37 +00:00
"ksem_close", /* 400 = ksem_close */
"ksem_post", /* 401 = ksem_post */
"ksem_wait", /* 402 = ksem_wait */
"ksem_trywait", /* 403 = ksem_trywait */
"freebsd32_ksem_init", /* 404 = freebsd32_ksem_init */
"freebsd32_ksem_open", /* 405 = freebsd32_ksem_open */
"ksem_unlink", /* 406 = ksem_unlink */
"ksem_getvalue", /* 407 = ksem_getvalue */
"ksem_destroy", /* 408 = ksem_destroy */
2003-05-31 06:51:04 +00:00
"#409", /* 409 = __mac_get_pid */
"#410", /* 410 = __mac_get_link */
"#411", /* 411 = __mac_set_link */
2009-06-10 13:48:43 +00:00
"extattr_set_link", /* 412 = extattr_set_link */
"extattr_get_link", /* 413 = extattr_get_link */
"extattr_delete_link", /* 414 = extattr_delete_link */
2003-05-31 06:51:04 +00:00
"#415", /* 415 = __mac_execve */
2003-08-22 22:52:04 +00:00
"freebsd32_sigaction", /* 416 = freebsd32_sigaction */
"freebsd32_sigreturn", /* 417 = freebsd32_sigreturn */
2003-05-31 06:51:04 +00:00
"#418", /* 418 = __xstat */
"#419", /* 419 = __xfstat */
"#420", /* 420 = __xlstat */
2005-09-27 18:04:52 +00:00
"freebsd32_getcontext", /* 421 = freebsd32_getcontext */
"freebsd32_setcontext", /* 422 = freebsd32_setcontext */
"freebsd32_swapcontext", /* 423 = freebsd32_swapcontext */
2003-05-31 06:51:04 +00:00
"#424", /* 424 = swapoff */
2009-12-04 21:53:20 +00:00
"__acl_get_link", /* 425 = __acl_get_link */
"__acl_set_link", /* 426 = __acl_set_link */
"__acl_delete_link", /* 427 = __acl_delete_link */
"__acl_aclcheck_link", /* 428 = __acl_aclcheck_link */
2006-09-23 00:27:53 +00:00
"sigwait", /* 429 = sigwait */
2006-09-22 15:05:34 +00:00
"#430", /* 430 = thr_create; */
2003-05-31 06:51:04 +00:00
"thr_exit", /* 431 = thr_exit */
"thr_self", /* 432 = thr_self */
"thr_kill", /* 433 = thr_kill */
"#434", /* 434 = nosys */
"#435", /* 435 = nosys */
2003-05-31 06:51:04 +00:00
"jail_attach", /* 436 = jail_attach */
2009-06-10 13:48:43 +00:00
"extattr_list_fd", /* 437 = extattr_list_fd */
"extattr_list_file", /* 438 = extattr_list_file */
"extattr_list_link", /* 439 = extattr_list_link */
"obs_kse_switchin", /* 440 = obsolete kse_switchin */
2010-03-19 11:14:37 +00:00
"freebsd32_ksem_timedwait", /* 441 = freebsd32_ksem_timedwait */
2006-09-22 15:05:34 +00:00
"freebsd32_thr_suspend", /* 442 = freebsd32_thr_suspend */
"thr_wake", /* 443 = thr_wake */
"kldunloadf", /* 444 = kldunloadf */
2006-10-24 13:54:56 +00:00
"audit", /* 445 = audit */
"auditon", /* 446 = auditon */
"getauid", /* 447 = getauid */
"setauid", /* 448 = setauid */
"getaudit", /* 449 = getaudit */
"setaudit", /* 450 = setaudit */
"getaudit_addr", /* 451 = getaudit_addr */
"setaudit_addr", /* 452 = setaudit_addr */
"auditctl", /* 453 = auditctl */
"freebsd32__umtx_op", /* 454 = freebsd32__umtx_op */
2006-09-22 15:05:34 +00:00
"freebsd32_thr_new", /* 455 = freebsd32_thr_new */
"freebsd32_sigqueue", /* 456 = freebsd32_sigqueue */
2010-03-19 11:14:37 +00:00
"freebsd32_kmq_open", /* 457 = freebsd32_kmq_open */
"freebsd32_kmq_setattr", /* 458 = freebsd32_kmq_setattr */
"freebsd32_kmq_timedreceive", /* 459 = freebsd32_kmq_timedreceive */
"freebsd32_kmq_timedsend", /* 460 = freebsd32_kmq_timedsend */
2013-07-21 19:44:53 +00:00
"freebsd32_kmq_notify", /* 461 = freebsd32_kmq_notify */
2010-03-19 11:14:37 +00:00
"kmq_unlink", /* 462 = kmq_unlink */
"abort2", /* 463 = abort2 */
"thr_set_name", /* 464 = thr_set_name */
2008-12-10 20:57:16 +00:00
"freebsd32_aio_fsync", /* 465 = freebsd32_aio_fsync */
2006-09-21 04:50:38 +00:00
"rtprio_thread", /* 466 = rtprio_thread */
"#467", /* 467 = nosys */
"#468", /* 468 = nosys */
"#469", /* 469 = __getpath_fromfd */
"#470", /* 470 = __getpath_fromaddr */
"sctp_peeloff", /* 471 = sctp_peeloff */
"sctp_generic_sendmsg", /* 472 = sctp_generic_sendmsg */
"sctp_generic_sendmsg_iov", /* 473 = sctp_generic_sendmsg_iov */
"sctp_generic_recvmsg", /* 474 = sctp_generic_recvmsg */
#ifdef PAD64_REQUIRED
"freebsd32_pread", /* 475 = freebsd32_pread */
"freebsd32_pwrite", /* 476 = freebsd32_pwrite */
"freebsd32_mmap", /* 477 = freebsd32_mmap */
"freebsd32_lseek", /* 478 = freebsd32_lseek */
"freebsd32_truncate", /* 479 = freebsd32_truncate */
"freebsd32_ftruncate", /* 480 = freebsd32_ftruncate */
#else
"freebsd32_pread", /* 475 = freebsd32_pread */
"freebsd32_pwrite", /* 476 = freebsd32_pwrite */
"freebsd32_mmap", /* 477 = freebsd32_mmap */
"freebsd32_lseek", /* 478 = freebsd32_lseek */
"freebsd32_truncate", /* 479 = freebsd32_truncate */
"freebsd32_ftruncate", /* 480 = freebsd32_ftruncate */
#endif
2007-08-16 05:32:26 +00:00
"thr_kill2", /* 481 = thr_kill2 */
"shm_open", /* 482 = shm_open */
"shm_unlink", /* 483 = shm_unlink */
2008-03-25 19:35:34 +00:00
"cpuset", /* 484 = cpuset */
#ifdef PAD64_REQUIRED
"freebsd32_cpuset_setid", /* 485 = freebsd32_cpuset_setid */
#else
2008-07-10 17:46:58 +00:00
"freebsd32_cpuset_setid", /* 485 = freebsd32_cpuset_setid */
#endif
2008-07-10 17:46:58 +00:00
"freebsd32_cpuset_getid", /* 486 = freebsd32_cpuset_getid */
"freebsd32_cpuset_getaffinity", /* 487 = freebsd32_cpuset_getaffinity */
"freebsd32_cpuset_setaffinity", /* 488 = freebsd32_cpuset_setaffinity */
2008-03-31 12:12:27 +00:00
"faccessat", /* 489 = faccessat */
"fchmodat", /* 490 = fchmodat */
"fchownat", /* 491 = fchownat */
"freebsd32_fexecve", /* 492 = freebsd32_fexecve */
2017-05-23 09:30:42 +00:00
"compat11.freebsd32_fstatat", /* 493 = freebsd11 freebsd32_fstatat */
2008-03-31 12:12:27 +00:00
"freebsd32_futimesat", /* 494 = freebsd32_futimesat */
"linkat", /* 495 = linkat */
"mkdirat", /* 496 = mkdirat */
"mkfifoat", /* 497 = mkfifoat */
"compat11.mknodat", /* 498 = freebsd11 mknodat */
2008-03-31 12:12:27 +00:00
"openat", /* 499 = openat */
"readlinkat", /* 500 = readlinkat */
"renameat", /* 501 = renameat */
"symlinkat", /* 502 = symlinkat */
"unlinkat", /* 503 = unlinkat */
Integrate the new MPSAFE TTY layer to the FreeBSD operating system. The last half year I've been working on a replacement TTY layer for the FreeBSD kernel. The new TTY layer was designed to improve the following: - Improved driver model: The old TTY layer has a driver model that is not abstract enough to make it friendly to use. A good example is the output path, where the device drivers directly access the output buffers. This means that an in-kernel PPP implementation must always convert network buffers into TTY buffers. If a PPP implementation would be built on top of the new TTY layer (still needs a hooks layer, though), it would allow the PPP implementation to directly hand the data to the TTY driver. - Improved hotplugging: With the old TTY layer, it isn't entirely safe to destroy TTY's from the system. This implementation has a two-step destructing design, where the driver first abandons the TTY. After all threads have left the TTY, the TTY layer calls a routine in the driver, which can be used to free resources (unit numbers, etc). The pts(4) driver also implements this feature, which means posix_openpt() will now return PTY's that are created on the fly. - Improved performance: One of the major improvements is the per-TTY mutex, which is expected to improve scalability when compared to the old Giant locking. Another change is the unbuffered copying to userspace, which is both used on TTY device nodes and PTY masters. Upgrading should be quite straightforward. Unlike previous versions, existing kernel configuration files do not need to be changed, except when they reference device drivers that are listed in UPDATING. Obtained from: //depot/projects/mpsafetty/... Approved by: philip (ex-mentor) Discussed: on the lists, at BSDCan, at the DevSummit Sponsored by: Snow B.V., the Netherlands dcons(4) fixed by: kan
2008-08-20 08:31:58 +00:00
"posix_openpt", /* 504 = posix_openpt */
2008-11-03 10:39:35 +00:00
"#505", /* 505 = gssd_syscall */
"freebsd32_jail_get", /* 506 = freebsd32_jail_get */
"freebsd32_jail_set", /* 507 = freebsd32_jail_set */
"jail_remove", /* 508 = jail_remove */
2009-06-15 20:40:23 +00:00
"closefrom", /* 509 = closefrom */
2009-06-24 21:54:08 +00:00
"freebsd32_semctl", /* 510 = freebsd32_semctl */
"freebsd32_msgctl", /* 511 = freebsd32_msgctl */
"freebsd32_shmctl", /* 512 = freebsd32_shmctl */
"lpathconf", /* 513 = lpathconf */
"obs_cap_new", /* 514 = obsolete cap_new */
"__cap_rights_get", /* 515 = __cap_rights_get */
2016-09-18 22:03:26 +00:00
"cap_enter", /* 516 = cap_enter */
"cap_getmode", /* 517 = cap_getmode */
"pdfork", /* 518 = pdfork */
"pdkill", /* 519 = pdkill */
"pdgetpid", /* 520 = pdgetpid */
"#521", /* 521 = pdwait4 */
2009-10-27 11:02:04 +00:00
"freebsd32_pselect", /* 522 = freebsd32_pselect */
2011-03-05 12:46:24 +00:00
"getloginclass", /* 523 = getloginclass */
"setloginclass", /* 524 = setloginclass */
2011-03-30 17:59:54 +00:00
"rctl_get_racct", /* 525 = rctl_get_racct */
"rctl_get_rules", /* 526 = rctl_get_rules */
"rctl_get_limits", /* 527 = rctl_get_limits */
"rctl_add_rule", /* 528 = rctl_add_rule */
"rctl_remove_rule", /* 529 = rctl_remove_rule */
2013-05-21 11:41:08 +00:00
#ifdef PAD64_REQUIRED
"freebsd32_posix_fallocate", /* 530 = freebsd32_posix_fallocate */
"freebsd32_posix_fadvise", /* 531 = freebsd32_posix_fadvise */
"freebsd32_wait6", /* 532 = freebsd32_wait6 */
#else
2011-04-18 16:32:47 +00:00
"freebsd32_posix_fallocate", /* 530 = freebsd32_posix_fallocate */
2011-11-04 04:06:31 +00:00
"freebsd32_posix_fadvise", /* 531 = freebsd32_posix_fadvise */
2012-11-13 12:53:41 +00:00
"freebsd32_wait6", /* 532 = freebsd32_wait6 */
2013-05-21 11:41:08 +00:00
#endif
"cap_rights_limit", /* 533 = cap_rights_limit */
2013-08-18 10:31:30 +00:00
"freebsd32_cap_ioctls_limit", /* 534 = freebsd32_cap_ioctls_limit */
"freebsd32_cap_ioctls_get", /* 535 = freebsd32_cap_ioctls_get */
2013-03-02 00:55:09 +00:00
"cap_fcntls_limit", /* 536 = cap_fcntls_limit */
"cap_fcntls_get", /* 537 = cap_fcntls_get */
2013-03-02 21:12:54 +00:00
"bindat", /* 538 = bindat */
"connectat", /* 539 = connectat */
"chflagsat", /* 540 = chflagsat */
2013-05-01 20:12:58 +00:00
"accept4", /* 541 = accept4 */
2013-05-01 22:45:04 +00:00
"pipe2", /* 542 = pipe2 */
"freebsd32_aio_mlock", /* 543 = freebsd32_aio_mlock */
2013-09-19 18:56:00 +00:00
#ifdef PAD64_REQUIRED
"freebsd32_procctl", /* 544 = freebsd32_procctl */
#else
"freebsd32_procctl", /* 544 = freebsd32_procctl */
#endif
2014-11-13 05:28:06 +00:00
"freebsd32_ppoll", /* 545 = freebsd32_ppoll */
2015-01-23 21:08:24 +00:00
"freebsd32_futimens", /* 546 = freebsd32_futimens */
"freebsd32_utimensat", /* 547 = freebsd32_utimensat */
"obs_numa_getaffinity", /* 548 = obsolete numa_getaffinity */
"obs_numa_setaffinity", /* 549 = obsolete numa_setaffinity */
"fdatasync", /* 550 = fdatasync */
2017-05-23 09:30:42 +00:00
"freebsd32_fstat", /* 551 = freebsd32_fstat */
"freebsd32_fstatat", /* 552 = freebsd32_fstatat */
"freebsd32_fhstat", /* 553 = freebsd32_fhstat */
2018-02-15 18:32:11 +00:00
"getdirentries", /* 554 = getdirentries */
2017-05-23 09:30:42 +00:00
"statfs", /* 555 = statfs */
"fstatfs", /* 556 = fstatfs */
"getfsstat", /* 557 = getfsstat */
"fhstatfs", /* 558 = fhstatfs */
#ifdef PAD64_REQUIRED
"freebsd32_mknodat", /* 559 = freebsd32_mknodat */
#else
"freebsd32_mknodat", /* 559 = freebsd32_mknodat */
#endif
2017-06-17 00:58:19 +00:00
"freebsd32_kevent", /* 560 = freebsd32_kevent */
2018-01-12 23:06:35 +00:00
"freebsd32_cpuset_getdomain", /* 561 = freebsd32_cpuset_getdomain */
"freebsd32_cpuset_setdomain", /* 562 = freebsd32_cpuset_setdomain */
2018-03-21 01:17:01 +00:00
"getrandom", /* 563 = getrandom */
2018-12-07 15:19:00 +00:00
"getfhat", /* 564 = getfhat */
"fhlink", /* 565 = fhlink */
"fhlinkat", /* 566 = fhlinkat */
"fhreadlink", /* 567 = fhreadlink */
2019-04-06 09:37:10 +00:00
"funlinkat", /* 568 = funlinkat */
2003-05-31 06:51:04 +00:00
};