1 /* 2 * System call numbers. 3 * 4 * DO NOT EDIT-- this file is automatically generated. 5 * $FreeBSD$ 6 * created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.40 2004/07/14 00:03:30 peter Exp 7 */ 8 9 #define FREEBSD32_SYS_syscall 0 10 #define FREEBSD32_SYS_exit 1 11 #define FREEBSD32_SYS_fork 2 12 #define FREEBSD32_SYS_read 3 13 #define FREEBSD32_SYS_write 4 14 #define FREEBSD32_SYS_open 5 15 #define FREEBSD32_SYS_close 6 16 #define FREEBSD32_SYS_freebsd32_wait4 7 17 /* 8 is obsolete old creat */ 18 #define FREEBSD32_SYS_link 9 19 #define FREEBSD32_SYS_unlink 10 20 /* 11 is obsolete execv */ 21 #define FREEBSD32_SYS_chdir 12 22 #define FREEBSD32_SYS_fchdir 13 23 #define FREEBSD32_SYS_mknod 14 24 #define FREEBSD32_SYS_chmod 15 25 #define FREEBSD32_SYS_chown 16 26 #define FREEBSD32_SYS_break 17 27 /* 18 is old freebsd32_getfsstat */ 28 /* 19 is obsolete olseek */ 29 #define FREEBSD32_SYS_getpid 20 30 #define FREEBSD32_SYS_mount 21 31 #define FREEBSD32_SYS_unmount 22 32 #define FREEBSD32_SYS_setuid 23 33 #define FREEBSD32_SYS_getuid 24 34 #define FREEBSD32_SYS_geteuid 25 35 #define FREEBSD32_SYS_ptrace 26 36 #define FREEBSD32_SYS_sendmsg 28 37 #define FREEBSD32_SYS_recvfrom 29 38 #define FREEBSD32_SYS_accept 30 39 #define FREEBSD32_SYS_getpeername 31 40 #define FREEBSD32_SYS_getsockname 32 41 #define FREEBSD32_SYS_access 33 42 #define FREEBSD32_SYS_chflags 34 43 #define FREEBSD32_SYS_fchflags 35 44 #define FREEBSD32_SYS_sync 36 45 #define FREEBSD32_SYS_kill 37 46 #define FREEBSD32_SYS_getppid 39 47 #define FREEBSD32_SYS_dup 41 48 #define FREEBSD32_SYS_pipe 42 49 #define FREEBSD32_SYS_getegid 43 50 #define FREEBSD32_SYS_profil 44 51 #define FREEBSD32_SYS_ktrace 45 52 #define FREEBSD32_SYS_getgid 47 53 #define FREEBSD32_SYS_getlogin 49 54 #define FREEBSD32_SYS_setlogin 50 55 #define FREEBSD32_SYS_acct 51 56 /* 52 is obsolete osigpending */ 57 #define FREEBSD32_SYS_freebsd32_sigaltstack 53 58 #define FREEBSD32_SYS_ioctl 54 59 #define FREEBSD32_SYS_reboot 55 60 #define FREEBSD32_SYS_revoke 56 61 #define FREEBSD32_SYS_symlink 57 62 #define FREEBSD32_SYS_readlink 58 63 #define FREEBSD32_SYS_freebsd32_execve 59 64 #define FREEBSD32_SYS_umask 60 65 #define FREEBSD32_SYS_chroot 61 66 /* 62 is obsolete ofstat */ 67 /* 63 is obsolete ogetkerninfo */ 68 /* 64 is obsolete ogetpagesize */ 69 /* 65 is obsolete omsync */ 70 #define FREEBSD32_SYS_vfork 66 71 /* 67 is obsolete vread */ 72 /* 68 is obsolete vwrite */ 73 #define FREEBSD32_SYS_sbrk 69 74 #define FREEBSD32_SYS_sstk 70 75 /* 71 is obsolete ommap */ 76 #define FREEBSD32_SYS_vadvise 72 77 #define FREEBSD32_SYS_munmap 73 78 #define FREEBSD32_SYS_mprotect 74 79 #define FREEBSD32_SYS_madvise 75 80 /* 76 is obsolete vhangup */ 81 /* 77 is obsolete vlimit */ 82 #define FREEBSD32_SYS_mincore 78 83 #define FREEBSD32_SYS_getgroups 79 84 #define FREEBSD32_SYS_setgroups 80 85 #define FREEBSD32_SYS_getpgrp 81 86 #define FREEBSD32_SYS_setpgid 82 87 #define FREEBSD32_SYS_freebsd32_setitimer 83 88 /* 84 is obsolete owait */ 89 /* 85 is obsolete oswapon */ 90 #define FREEBSD32_SYS_freebsd32_getitimer 86 91 /* 87 is obsolete ogethostname */ 92 /* 88 is obsolete osethostname */ 93 #define FREEBSD32_SYS_getdtablesize 89 94 #define FREEBSD32_SYS_dup2 90 95 #define FREEBSD32_SYS_fcntl 92 96 #define FREEBSD32_SYS_freebsd32_select 93 97 #define FREEBSD32_SYS_fsync 95 98 #define FREEBSD32_SYS_setpriority 96 99 #define FREEBSD32_SYS_socket 97 100 #define FREEBSD32_SYS_connect 98 101 /* 99 is obsolete oaccept */ 102 #define FREEBSD32_SYS_getpriority 100 103 /* 101 is obsolete osend */ 104 /* 102 is obsolete orecv */ 105 /* 103 is obsolete osigreturn */ 106 #define FREEBSD32_SYS_bind 104 107 #define FREEBSD32_SYS_setsockopt 105 108 #define FREEBSD32_SYS_listen 106 109 /* 107 is obsolete vtimes */ 110 /* 108 is obsolete osigvec */ 111 /* 109 is obsolete osigblock */ 112 /* 110 is obsolete osigsetmask */ 113 /* 111 is obsolete osigsuspend */ 114 /* 112 is obsolete osigstack */ 115 /* 113 is obsolete orecvmsg */ 116 /* 114 is obsolete osendmsg */ 117 /* 115 is obsolete vtrace */ 118 #define FREEBSD32_SYS_freebsd32_gettimeofday 116 119 #define FREEBSD32_SYS_freebsd32_getrusage 117 120 #define FREEBSD32_SYS_getsockopt 118 121 #define FREEBSD32_SYS_freebsd32_readv 120 122 #define FREEBSD32_SYS_freebsd32_writev 121 123 #define FREEBSD32_SYS_freebsd32_settimeofday 122 124 #define FREEBSD32_SYS_fchown 123 125 #define FREEBSD32_SYS_fchmod 124 126 /* 125 is obsolete orecvfrom */ 127 #define FREEBSD32_SYS_setreuid 126 128 #define FREEBSD32_SYS_setregid 127 129 #define FREEBSD32_SYS_rename 128 130 /* 129 is obsolete otruncate */ 131 /* 130 is obsolete ftruncate */ 132 #define FREEBSD32_SYS_flock 131 133 #define FREEBSD32_SYS_mkfifo 132 134 #define FREEBSD32_SYS_sendto 133 135 #define FREEBSD32_SYS_shutdown 134 136 #define FREEBSD32_SYS_socketpair 135 137 #define FREEBSD32_SYS_mkdir 136 138 #define FREEBSD32_SYS_rmdir 137 139 #define FREEBSD32_SYS_freebsd32_utimes 138 140 /* 139 is obsolete 4.2 sigreturn */ 141 #define FREEBSD32_SYS_freebsd32_adjtime 140 142 /* 141 is obsolete ogetpeername */ 143 /* 142 is obsolete ogethostid */ 144 /* 143 is obsolete sethostid */ 145 /* 144 is obsolete getrlimit */ 146 /* 145 is obsolete setrlimit */ 147 /* 146 is obsolete killpg */ 148 #define FREEBSD32_SYS_setsid 147 149 #define FREEBSD32_SYS_quotactl 148 150 /* 149 is obsolete oquota */ 151 /* 150 is obsolete ogetsockname */ 152 /* 156 is obsolete ogetdirentries */ 153 /* 157 is old freebsd32_statfs */ 154 /* 158 is old freebsd32_fstatfs */ 155 #define FREEBSD32_SYS_getfh 161 156 #define FREEBSD32_SYS_getdomainname 162 157 #define FREEBSD32_SYS_setdomainname 163 158 #define FREEBSD32_SYS_uname 164 159 #define FREEBSD32_SYS_sysarch 165 160 #define FREEBSD32_SYS_rtprio 166 161 #define FREEBSD32_SYS_freebsd32_semsys 169 162 #define FREEBSD32_SYS_freebsd32_msgsys 170 163 #define FREEBSD32_SYS_freebsd32_shmsys 171 164 #define FREEBSD32_SYS_freebsd32_pread 173 165 #define FREEBSD32_SYS_freebsd32_pwrite 174 166 #define FREEBSD32_SYS_ntp_adjtime 176 167 #define FREEBSD32_SYS_setgid 181 168 #define FREEBSD32_SYS_setegid 182 169 #define FREEBSD32_SYS_seteuid 183 170 #define FREEBSD32_SYS_freebsd32_stat 188 171 #define FREEBSD32_SYS_freebsd32_fstat 189 172 #define FREEBSD32_SYS_freebsd32_lstat 190 173 #define FREEBSD32_SYS_pathconf 191 174 #define FREEBSD32_SYS_fpathconf 192 175 #define FREEBSD32_SYS_getrlimit 194 176 #define FREEBSD32_SYS_setrlimit 195 177 #define FREEBSD32_SYS_getdirentries 196 178 #define FREEBSD32_SYS_freebsd32_mmap 197 179 #define FREEBSD32_SYS___syscall 198 180 #define FREEBSD32_SYS_freebsd32_lseek 199 181 #define FREEBSD32_SYS_freebsd32_truncate 200 182 #define FREEBSD32_SYS_freebsd32_ftruncate 201 183 #define FREEBSD32_SYS_freebsd32_sysctl 202 184 #define FREEBSD32_SYS_mlock 203 185 #define FREEBSD32_SYS_munlock 204 186 #define FREEBSD32_SYS_undelete 205 187 #define FREEBSD32_SYS_futimes 206 188 #define FREEBSD32_SYS_getpgid 207 189 #define FREEBSD32_SYS_poll 209 190 #define FREEBSD32_SYS___semctl 220 191 #define FREEBSD32_SYS_semget 221 192 #define FREEBSD32_SYS_semop 222 193 #define FREEBSD32_SYS_msgctl 224 194 #define FREEBSD32_SYS_msgget 225 195 #define FREEBSD32_SYS_msgsnd 226 196 #define FREEBSD32_SYS_msgrcv 227 197 #define FREEBSD32_SYS_shmat 228 198 #define FREEBSD32_SYS_shmctl 229 199 #define FREEBSD32_SYS_shmdt 230 200 #define FREEBSD32_SYS_shmget 231 201 #define FREEBSD32_SYS_clock_gettime 232 202 #define FREEBSD32_SYS_clock_settime 233 203 #define FREEBSD32_SYS_clock_getres 234 204 #define FREEBSD32_SYS_nanosleep 240 205 #define FREEBSD32_SYS_minherit 250 206 #define FREEBSD32_SYS_rfork 251 207 #define FREEBSD32_SYS_openbsd_poll 252 208 #define FREEBSD32_SYS_issetugid 253 209 #define FREEBSD32_SYS_lchown 254 210 #define FREEBSD32_SYS_getdents 272 211 #define FREEBSD32_SYS_lchmod 274 212 #define FREEBSD32_SYS_netbsd_lchown 275 213 #define FREEBSD32_SYS_lutimes 276 214 #define FREEBSD32_SYS_netbsd_msync 277 215 #define FREEBSD32_SYS_nstat 278 216 #define FREEBSD32_SYS_nfstat 279 217 #define FREEBSD32_SYS_nlstat 280 218 /* 297 is old freebsd32_fhstatfs */ 219 #define FREEBSD32_SYS_fhopen 298 220 #define FREEBSD32_SYS_fhstat 299 221 #define FREEBSD32_SYS_modnext 300 222 #define FREEBSD32_SYS_modstat 301 223 #define FREEBSD32_SYS_modfnext 302 224 #define FREEBSD32_SYS_modfind 303 225 #define FREEBSD32_SYS_kldload 304 226 #define FREEBSD32_SYS_kldunload 305 227 #define FREEBSD32_SYS_kldfind 306 228 #define FREEBSD32_SYS_kldnext 307 229 #define FREEBSD32_SYS_kldstat 308 230 #define FREEBSD32_SYS_kldfirstmod 309 231 #define FREEBSD32_SYS_getsid 310 232 #define FREEBSD32_SYS_setresuid 311 233 #define FREEBSD32_SYS_setresgid 312 234 /* 313 is obsolete signanosleep */ 235 #define FREEBSD32_SYS_yield 321 236 /* 322 is obsolete thr_sleep */ 237 /* 323 is obsolete thr_wakeup */ 238 #define FREEBSD32_SYS_mlockall 324 239 #define FREEBSD32_SYS_munlockall 325 240 #define FREEBSD32_SYS___getcwd 326 241 #define FREEBSD32_SYS_sched_setparam 327 242 #define FREEBSD32_SYS_sched_getparam 328 243 #define FREEBSD32_SYS_sched_setscheduler 329 244 #define FREEBSD32_SYS_sched_getscheduler 330 245 #define FREEBSD32_SYS_sched_yield 331 246 #define FREEBSD32_SYS_sched_get_priority_max 332 247 #define FREEBSD32_SYS_sched_get_priority_min 333 248 #define FREEBSD32_SYS_sched_rr_get_interval 334 249 #define FREEBSD32_SYS_utrace 335 250 /* 336 is old freebsd32_sendfile */ 251 #define FREEBSD32_SYS_kldsym 337 252 #define FREEBSD32_SYS_jail 338 253 #define FREEBSD32_SYS_sigprocmask 340 254 #define FREEBSD32_SYS_sigsuspend 341 255 /* 342 is old freebsd32_sigaction */ 256 #define FREEBSD32_SYS_sigpending 343 257 /* 344 is old freebsd32_sigreturn */ 258 #define FREEBSD32_SYS___acl_get_file 347 259 #define FREEBSD32_SYS___acl_set_file 348 260 #define FREEBSD32_SYS___acl_get_fd 349 261 #define FREEBSD32_SYS___acl_set_fd 350 262 #define FREEBSD32_SYS___acl_delete_file 351 263 #define FREEBSD32_SYS___acl_delete_fd 352 264 #define FREEBSD32_SYS___acl_aclcheck_file 353 265 #define FREEBSD32_SYS___acl_aclcheck_fd 354 266 #define FREEBSD32_SYS_extattrctl 355 267 #define FREEBSD32_SYS_extattr_set_file 356 268 #define FREEBSD32_SYS_extattr_get_file 357 269 #define FREEBSD32_SYS_extattr_delete_file 358 270 #define FREEBSD32_SYS_getresuid 360 271 #define FREEBSD32_SYS_getresgid 361 272 #define FREEBSD32_SYS_kqueue 362 273 #define FREEBSD32_SYS_freebsd32_kevent 363 274 #define FREEBSD32_SYS_extattr_set_fd 371 275 #define FREEBSD32_SYS_extattr_get_fd 372 276 #define FREEBSD32_SYS_extattr_delete_fd 373 277 #define FREEBSD32_SYS___setugid 374 278 #define FREEBSD32_SYS_eaccess 376 279 #define FREEBSD32_SYS_nmount 378 280 #define FREEBSD32_SYS_kse_exit 379 281 #define FREEBSD32_SYS_kse_wakeup 380 282 #define FREEBSD32_SYS_kse_create 381 283 #define FREEBSD32_SYS_kse_thr_interrupt 382 284 #define FREEBSD32_SYS_kse_release 383 285 #define FREEBSD32_SYS_kenv 390 286 #define FREEBSD32_SYS_lchflags 391 287 #define FREEBSD32_SYS_uuidgen 392 288 #define FREEBSD32_SYS_freebsd32_sendfile 393 289 #define FREEBSD32_SYS_getfsstat 395 290 #define FREEBSD32_SYS_statfs 396 291 #define FREEBSD32_SYS_fstatfs 397 292 #define FREEBSD32_SYS_fhstatfs 398 293 #define FREEBSD32_SYS_freebsd32_sigaction 416 294 #define FREEBSD32_SYS_freebsd32_sigreturn 417 295 #define FREEBSD32_SYS_thr_create 430 296 #define FREEBSD32_SYS_thr_exit 431 297 #define FREEBSD32_SYS_thr_self 432 298 #define FREEBSD32_SYS_thr_kill 433 299 #define FREEBSD32_SYS__umtx_lock 434 300 #define FREEBSD32_SYS__umtx_unlock 435 301 #define FREEBSD32_SYS_jail_attach 436 302 #define FREEBSD32_SYS_thr_suspend 442 303 #define FREEBSD32_SYS_thr_wake 443 304 #define FREEBSD32_SYS_kldunloadf 444 305 #define FREEBSD32_SYS_MAXSYSCALL 445 306