1 1.37 pgoyette /* $NetBSD: sunos32_syscallargs.h,v 1.37 2018/08/10 21:47:16 pgoyette Exp $ */ 2 1.1 mrg 3 1.1 mrg /* 4 1.1 mrg * System call argument lists. 5 1.1 mrg * 6 1.1 mrg * DO NOT EDIT-- this file is automatically generated. 7 1.37 pgoyette * created from; NetBSD: syscalls.master,v 1.26 2018/01/06 16:41:23 kamil Exp 8 1.1 mrg */ 9 1.1 mrg 10 1.17 pavel #ifndef _SUNOS32_SYS_SYSCALLARGS_H_ 11 1.17 pavel #define _SUNOS32_SYS_SYSCALLARGS_H_ 12 1.1 mrg 13 1.32 riastrad /* Forward declaration */ 14 1.32 riastrad struct lwp; 15 1.32 riastrad 16 1.20 dsl #define SUNOS32_SYS_MAXSYSARGS 8 17 1.20 dsl 18 1.1 mrg #undef syscallarg 19 1.1 mrg #define syscallarg(x) \ 20 1.1 mrg union { \ 21 1.1 mrg register32_t pad; \ 22 1.1 mrg struct { x datum; } le; \ 23 1.6 lukem struct { /* LINTED zero array dimension */ \ 24 1.6 lukem int8_t pad[ /* CONSTCOND */ \ 25 1.6 lukem (sizeof (register32_t) < sizeof (x)) \ 26 1.1 mrg ? 0 \ 27 1.1 mrg : sizeof (register32_t) - sizeof (x)]; \ 28 1.1 mrg x datum; \ 29 1.1 mrg } be; \ 30 1.1 mrg } 31 1.1 mrg 32 1.20 dsl #undef check_syscall_args 33 1.27 njoly #define check_syscall_args(call) /*LINTED*/ \ 34 1.20 dsl typedef char call##_check_args[sizeof (struct call##_args) \ 35 1.20 dsl <= SUNOS32_SYS_MAXSYSARGS * sizeof (register32_t) ? 1 : -1]; 36 1.20 dsl 37 1.20 dsl struct netbsd32_exit_args; 38 1.20 dsl 39 1.20 dsl struct netbsd32_read_args; 40 1.20 dsl 41 1.20 dsl struct netbsd32_write_args; 42 1.20 dsl 43 1.1 mrg struct sunos32_sys_open_args { 44 1.1 mrg syscallarg(const netbsd32_charp) path; 45 1.1 mrg syscallarg(int) flags; 46 1.1 mrg syscallarg(int) mode; 47 1.1 mrg }; 48 1.20 dsl check_syscall_args(sunos32_sys_open) 49 1.20 dsl 50 1.20 dsl struct netbsd32_close_args; 51 1.1 mrg 52 1.1 mrg struct sunos32_sys_wait4_args { 53 1.1 mrg syscallarg(int) pid; 54 1.1 mrg syscallarg(netbsd32_intp) status; 55 1.1 mrg syscallarg(int) options; 56 1.1 mrg syscallarg(netbsd32_rusagep_t) rusage; 57 1.1 mrg }; 58 1.20 dsl check_syscall_args(sunos32_sys_wait4) 59 1.1 mrg 60 1.1 mrg struct sunos32_sys_creat_args { 61 1.1 mrg syscallarg(const netbsd32_charp) path; 62 1.1 mrg syscallarg(int) mode; 63 1.1 mrg }; 64 1.20 dsl check_syscall_args(sunos32_sys_creat) 65 1.20 dsl 66 1.20 dsl struct netbsd32_link_args; 67 1.20 dsl 68 1.20 dsl struct netbsd32_unlink_args; 69 1.1 mrg 70 1.1 mrg struct sunos32_sys_execv_args { 71 1.1 mrg syscallarg(const netbsd32_charp) path; 72 1.1 mrg syscallarg(netbsd32_charpp) argp; 73 1.1 mrg }; 74 1.20 dsl check_syscall_args(sunos32_sys_execv) 75 1.20 dsl 76 1.20 dsl struct netbsd32_chdir_args; 77 1.1 mrg 78 1.1 mrg struct sunos32_sys_mknod_args { 79 1.1 mrg syscallarg(const netbsd32_charp) path; 80 1.1 mrg syscallarg(int) mode; 81 1.1 mrg syscallarg(int) dev; 82 1.1 mrg }; 83 1.20 dsl check_syscall_args(sunos32_sys_mknod) 84 1.20 dsl 85 1.20 dsl struct netbsd32_chmod_args; 86 1.20 dsl 87 1.20 dsl struct netbsd32_chown_args; 88 1.20 dsl 89 1.20 dsl struct netbsd32_break_args; 90 1.20 dsl 91 1.20 dsl struct compat_43_netbsd32_olseek_args; 92 1.20 dsl 93 1.20 dsl struct netbsd32_setuid_args; 94 1.1 mrg 95 1.1 mrg struct sunos32_sys_stime_args { 96 1.1 mrg syscallarg(sunos32_time_tp) tp; 97 1.1 mrg }; 98 1.20 dsl check_syscall_args(sunos32_sys_stime) 99 1.1 mrg 100 1.1 mrg struct sunos32_sys_ptrace_args { 101 1.1 mrg syscallarg(int) req; 102 1.1 mrg syscallarg(pid_t) pid; 103 1.19 christos syscallarg(netbsd32_caddr_t) addr; 104 1.1 mrg syscallarg(int) data; 105 1.1 mrg syscallarg(netbsd32_charp) addr2; 106 1.1 mrg }; 107 1.20 dsl check_syscall_args(sunos32_sys_ptrace) 108 1.1 mrg 109 1.1 mrg struct sunos32_sys_access_args { 110 1.1 mrg syscallarg(const netbsd32_charp) path; 111 1.1 mrg syscallarg(int) flags; 112 1.1 mrg }; 113 1.20 dsl check_syscall_args(sunos32_sys_access) 114 1.20 dsl 115 1.20 dsl struct netbsd32_kill_args; 116 1.1 mrg 117 1.1 mrg struct sunos32_sys_stat_args { 118 1.1 mrg syscallarg(const netbsd32_charp) path; 119 1.1 mrg syscallarg(netbsd32_stat43p_t) ub; 120 1.1 mrg }; 121 1.20 dsl check_syscall_args(sunos32_sys_stat) 122 1.1 mrg 123 1.1 mrg struct sunos32_sys_lstat_args { 124 1.1 mrg syscallarg(const netbsd32_charp) path; 125 1.1 mrg syscallarg(netbsd32_stat43p_t) ub; 126 1.1 mrg }; 127 1.20 dsl check_syscall_args(sunos32_sys_lstat) 128 1.20 dsl 129 1.20 dsl struct netbsd32_dup_args; 130 1.20 dsl 131 1.20 dsl struct netbsd32_profil_args; 132 1.20 dsl 133 1.20 dsl struct netbsd32_setgid_args; 134 1.20 dsl 135 1.20 dsl struct netbsd32_acct_args; 136 1.1 mrg 137 1.1 mrg struct sunos32_sys_mctl_args { 138 1.1 mrg syscallarg(netbsd32_voidp) addr; 139 1.1 mrg syscallarg(int) len; 140 1.1 mrg syscallarg(int) func; 141 1.1 mrg syscallarg(netbsd32_voidp) arg; 142 1.1 mrg }; 143 1.20 dsl check_syscall_args(sunos32_sys_mctl) 144 1.1 mrg 145 1.1 mrg struct sunos32_sys_ioctl_args { 146 1.1 mrg syscallarg(int) fd; 147 1.1 mrg syscallarg(netbsd32_u_long) com; 148 1.19 christos syscallarg(netbsd32_caddr_t) data; 149 1.1 mrg }; 150 1.20 dsl check_syscall_args(sunos32_sys_ioctl) 151 1.1 mrg 152 1.1 mrg struct sunos32_sys_reboot_args { 153 1.1 mrg syscallarg(int) howto; 154 1.1 mrg syscallarg(netbsd32_charp) bootstr; 155 1.1 mrg }; 156 1.20 dsl check_syscall_args(sunos32_sys_reboot) 157 1.20 dsl 158 1.20 dsl struct netbsd32_symlink_args; 159 1.20 dsl 160 1.20 dsl struct netbsd32_readlink_args; 161 1.1 mrg 162 1.1 mrg struct sunos32_sys_execve_args { 163 1.1 mrg syscallarg(const netbsd32_charp) path; 164 1.1 mrg syscallarg(netbsd32_charpp) argp; 165 1.1 mrg syscallarg(netbsd32_charpp) envp; 166 1.1 mrg }; 167 1.20 dsl check_syscall_args(sunos32_sys_execve) 168 1.20 dsl 169 1.20 dsl struct netbsd32_umask_args; 170 1.20 dsl 171 1.20 dsl struct netbsd32_chroot_args; 172 1.20 dsl 173 1.20 dsl struct compat_43_netbsd32_fstat43_args; 174 1.1 mrg 175 1.1 mrg struct sunos32_sys_omsync_args { 176 1.19 christos syscallarg(netbsd32_caddr_t) addr; 177 1.1 mrg syscallarg(netbsd32_size_t) len; 178 1.1 mrg syscallarg(int) flags; 179 1.1 mrg }; 180 1.20 dsl check_syscall_args(sunos32_sys_omsync) 181 1.20 dsl 182 1.1 mrg struct sunos32_sys_mmap_args { 183 1.1 mrg syscallarg(netbsd32_voidp) addr; 184 1.1 mrg syscallarg(netbsd32_size_t) len; 185 1.1 mrg syscallarg(int) prot; 186 1.1 mrg syscallarg(int) flags; 187 1.1 mrg syscallarg(int) fd; 188 1.2 mrg syscallarg(netbsd32_long) pos; 189 1.1 mrg }; 190 1.20 dsl check_syscall_args(sunos32_sys_mmap) 191 1.20 dsl 192 1.36 kamil struct netbsd32_ovadvise_args; 193 1.36 kamil 194 1.20 dsl struct netbsd32_munmap_args; 195 1.20 dsl 196 1.20 dsl struct netbsd32_mprotect_args; 197 1.20 dsl 198 1.20 dsl struct netbsd32_madvise_args; 199 1.20 dsl 200 1.20 dsl struct netbsd32_mincore_args; 201 1.20 dsl 202 1.20 dsl struct netbsd32_getgroups_args; 203 1.20 dsl 204 1.20 dsl struct netbsd32_setgroups_args; 205 1.1 mrg 206 1.1 mrg struct sunos32_sys_setpgrp_args { 207 1.1 mrg syscallarg(int) pid; 208 1.1 mrg syscallarg(int) pgid; 209 1.1 mrg }; 210 1.20 dsl check_syscall_args(sunos32_sys_setpgrp) 211 1.20 dsl 212 1.22 nakayama struct compat_50_netbsd32_setitimer_args; 213 1.20 dsl 214 1.20 dsl struct compat_12_netbsd32_oswapon_args; 215 1.20 dsl 216 1.22 nakayama struct compat_50_netbsd32_getitimer_args; 217 1.20 dsl 218 1.20 dsl struct compat_43_netbsd32_ogethostname_args; 219 1.20 dsl 220 1.20 dsl struct compat_43_netbsd32_osethostname_args; 221 1.20 dsl 222 1.20 dsl struct netbsd32_dup2_args; 223 1.1 mrg 224 1.1 mrg struct sunos32_sys_fcntl_args { 225 1.1 mrg syscallarg(int) fd; 226 1.1 mrg syscallarg(int) cmd; 227 1.1 mrg syscallarg(netbsd32_voidp) arg; 228 1.1 mrg }; 229 1.20 dsl check_syscall_args(sunos32_sys_fcntl) 230 1.20 dsl 231 1.22 nakayama struct compat_50_netbsd32_select_args; 232 1.20 dsl 233 1.20 dsl struct netbsd32_fsync_args; 234 1.20 dsl 235 1.20 dsl struct netbsd32_setpriority_args; 236 1.1 mrg 237 1.8 mrg struct sunos32_sys_socket_args { 238 1.8 mrg syscallarg(int) domain; 239 1.8 mrg syscallarg(int) type; 240 1.8 mrg syscallarg(int) protocol; 241 1.8 mrg }; 242 1.20 dsl check_syscall_args(sunos32_sys_socket) 243 1.20 dsl 244 1.20 dsl struct netbsd32_connect_args; 245 1.20 dsl 246 1.20 dsl struct compat_43_netbsd32_oaccept_args; 247 1.20 dsl 248 1.20 dsl struct netbsd32_getpriority_args; 249 1.20 dsl 250 1.20 dsl struct compat_43_netbsd32_osend_args; 251 1.20 dsl 252 1.20 dsl struct compat_43_netbsd32_orecv_args; 253 1.20 dsl 254 1.20 dsl struct netbsd32_bind_args; 255 1.8 mrg 256 1.1 mrg struct sunos32_sys_setsockopt_args { 257 1.1 mrg syscallarg(int) s; 258 1.1 mrg syscallarg(int) level; 259 1.1 mrg syscallarg(int) name; 260 1.19 christos syscallarg(netbsd32_caddr_t) val; 261 1.1 mrg syscallarg(int) valsize; 262 1.1 mrg }; 263 1.20 dsl check_syscall_args(sunos32_sys_setsockopt) 264 1.20 dsl 265 1.20 dsl struct netbsd32_listen_args; 266 1.1 mrg 267 1.1 mrg struct sunos32_sys_sigvec_args { 268 1.1 mrg syscallarg(int) signum; 269 1.1 mrg syscallarg(netbsd32_sigvecp_t) nsv; 270 1.1 mrg syscallarg(netbsd32_sigvecp_t) osv; 271 1.1 mrg }; 272 1.20 dsl check_syscall_args(sunos32_sys_sigvec) 273 1.20 dsl 274 1.20 dsl struct compat_43_netbsd32_sigblock_args; 275 1.20 dsl 276 1.20 dsl struct compat_43_netbsd32_sigsetmask_args; 277 1.1 mrg 278 1.1 mrg struct sunos32_sys_sigsuspend_args { 279 1.1 mrg syscallarg(int) mask; 280 1.8 mrg }; 281 1.20 dsl check_syscall_args(sunos32_sys_sigsuspend) 282 1.20 dsl 283 1.20 dsl struct compat_43_netbsd32_osigstack_args; 284 1.20 dsl 285 1.20 dsl struct compat_43_netbsd32_orecvmsg_args; 286 1.20 dsl 287 1.20 dsl struct compat_43_netbsd32_osendmsg_args; 288 1.20 dsl 289 1.22 nakayama struct compat_50_netbsd32_gettimeofday_args; 290 1.20 dsl 291 1.22 nakayama struct compat_50_netbsd32_getrusage_args; 292 1.20 dsl 293 1.20 dsl struct netbsd32_getsockopt_args; 294 1.20 dsl 295 1.20 dsl struct netbsd32_readv_args; 296 1.20 dsl 297 1.20 dsl struct netbsd32_writev_args; 298 1.20 dsl 299 1.22 nakayama struct compat_50_netbsd32_settimeofday_args; 300 1.20 dsl 301 1.20 dsl struct netbsd32_fchown_args; 302 1.20 dsl 303 1.20 dsl struct netbsd32_fchmod_args; 304 1.20 dsl 305 1.20 dsl struct compat_43_netbsd32_orecvfrom_args; 306 1.20 dsl 307 1.20 dsl struct netbsd32_setreuid_args; 308 1.20 dsl 309 1.20 dsl struct netbsd32_setregid_args; 310 1.20 dsl 311 1.20 dsl struct netbsd32_rename_args; 312 1.20 dsl 313 1.20 dsl struct compat_43_netbsd32_otruncate_args; 314 1.20 dsl 315 1.20 dsl struct compat_43_netbsd32_oftruncate_args; 316 1.20 dsl 317 1.20 dsl struct netbsd32_flock_args; 318 1.20 dsl 319 1.20 dsl struct netbsd32_sendto_args; 320 1.20 dsl 321 1.20 dsl struct netbsd32_shutdown_args; 322 1.8 mrg 323 1.8 mrg struct sunos32_sys_socketpair_args { 324 1.8 mrg syscallarg(int) domain; 325 1.8 mrg syscallarg(int) type; 326 1.8 mrg syscallarg(int) protocol; 327 1.8 mrg syscallarg(netbsd32_intp) rsv; 328 1.1 mrg }; 329 1.20 dsl check_syscall_args(sunos32_sys_socketpair) 330 1.20 dsl 331 1.20 dsl struct netbsd32_mkdir_args; 332 1.20 dsl 333 1.20 dsl struct netbsd32_rmdir_args; 334 1.20 dsl 335 1.22 nakayama struct compat_50_netbsd32_utimes_args; 336 1.1 mrg 337 1.3 mrg struct sunos32_sys_sigreturn_args { 338 1.3 mrg syscallarg(netbsd32_sigcontextp_t) sigcntxp; 339 1.3 mrg }; 340 1.20 dsl check_syscall_args(sunos32_sys_sigreturn) 341 1.20 dsl 342 1.22 nakayama struct compat_50_netbsd32_adjtime_args; 343 1.20 dsl 344 1.20 dsl struct compat_43_netbsd32_ogetpeername_args; 345 1.3 mrg 346 1.1 mrg struct sunos32_sys_getrlimit_args { 347 1.1 mrg syscallarg(u_int) which; 348 1.1 mrg syscallarg(netbsd32_orlimitp_t) rlp; 349 1.1 mrg }; 350 1.20 dsl check_syscall_args(sunos32_sys_getrlimit) 351 1.1 mrg 352 1.1 mrg struct sunos32_sys_setrlimit_args { 353 1.1 mrg syscallarg(u_int) which; 354 1.1 mrg syscallarg(netbsd32_orlimitp_t) rlp; 355 1.1 mrg }; 356 1.20 dsl check_syscall_args(sunos32_sys_setrlimit) 357 1.20 dsl 358 1.20 dsl struct compat_43_netbsd32_killpg_args; 359 1.20 dsl 360 1.20 dsl struct compat_43_netbsd32_ogetsockname_args; 361 1.20 dsl 362 1.20 dsl struct netbsd32_poll_args; 363 1.1 mrg 364 1.20 dsl struct compat_43_netbsd32_ogetdirentries_args; 365 1.20 dsl 366 1.1 mrg struct sunos32_sys_statfs_args { 367 1.1 mrg syscallarg(const netbsd32_charp) path; 368 1.1 mrg syscallarg(sunos32_statfsp_t) buf; 369 1.1 mrg }; 370 1.20 dsl check_syscall_args(sunos32_sys_statfs) 371 1.1 mrg 372 1.1 mrg struct sunos32_sys_fstatfs_args { 373 1.1 mrg syscallarg(int) fd; 374 1.1 mrg syscallarg(sunos32_statfsp_t) buf; 375 1.1 mrg }; 376 1.20 dsl check_syscall_args(sunos32_sys_fstatfs) 377 1.1 mrg 378 1.1 mrg struct sunos32_sys_unmount_args { 379 1.1 mrg syscallarg(netbsd32_charp) path; 380 1.1 mrg }; 381 1.20 dsl check_syscall_args(sunos32_sys_unmount) 382 1.20 dsl 383 1.20 dsl struct compat_30_sys_getfh_args; 384 1.1 mrg 385 1.20 dsl struct compat_09_netbsd32_ogetdomainname_args; 386 1.20 dsl 387 1.20 dsl struct compat_09_netbsd32_osetdomainname_args; 388 1.20 dsl 389 1.1 mrg struct sunos32_sys_quotactl_args { 390 1.1 mrg syscallarg(int) cmd; 391 1.1 mrg syscallarg(netbsd32_charp) special; 392 1.1 mrg syscallarg(int) uid; 393 1.19 christos syscallarg(netbsd32_caddr_t) addr; 394 1.1 mrg }; 395 1.20 dsl check_syscall_args(sunos32_sys_quotactl) 396 1.1 mrg 397 1.1 mrg struct sunos32_sys_exportfs_args { 398 1.1 mrg syscallarg(netbsd32_charp) path; 399 1.1 mrg syscallarg(netbsd32_charp) ex; 400 1.1 mrg }; 401 1.20 dsl check_syscall_args(sunos32_sys_exportfs) 402 1.1 mrg 403 1.1 mrg struct sunos32_sys_mount_args { 404 1.1 mrg syscallarg(netbsd32_charp) type; 405 1.1 mrg syscallarg(netbsd32_charp) path; 406 1.1 mrg syscallarg(int) flags; 407 1.19 christos syscallarg(netbsd32_caddr_t) data; 408 1.1 mrg }; 409 1.20 dsl check_syscall_args(sunos32_sys_mount) 410 1.1 mrg 411 1.1 mrg struct sunos32_sys_ustat_args { 412 1.1 mrg syscallarg(int) dev; 413 1.1 mrg syscallarg(sunos32_ustatp_t) buf; 414 1.1 mrg }; 415 1.20 dsl check_syscall_args(sunos32_sys_ustat) 416 1.12 christos #ifdef SYSVSEM 417 1.20 dsl 418 1.22 nakayama struct compat_10_netbsd32_semsys_args; 419 1.12 christos #else 420 1.12 christos #endif 421 1.12 christos #ifdef SYSVMSG 422 1.20 dsl 423 1.22 nakayama struct compat_10_netbsd32_msgsys_args; 424 1.12 christos #else 425 1.12 christos #endif 426 1.12 christos #ifdef SYSVSHM 427 1.20 dsl 428 1.22 nakayama struct compat_10_netbsd32_shmsys_args; 429 1.12 christos #else 430 1.12 christos #endif 431 1.1 mrg 432 1.1 mrg struct sunos32_sys_auditsys_args { 433 1.1 mrg syscallarg(netbsd32_charp) record; 434 1.1 mrg }; 435 1.20 dsl check_syscall_args(sunos32_sys_auditsys) 436 1.1 mrg 437 1.1 mrg struct sunos32_sys_getdents_args { 438 1.1 mrg syscallarg(int) fd; 439 1.1 mrg syscallarg(netbsd32_charp) buf; 440 1.1 mrg syscallarg(int) nbytes; 441 1.1 mrg }; 442 1.20 dsl check_syscall_args(sunos32_sys_getdents) 443 1.20 dsl 444 1.20 dsl struct netbsd32_fchdir_args; 445 1.20 dsl 446 1.20 dsl struct netbsd32_fchroot_args; 447 1.1 mrg 448 1.1 mrg struct sunos32_sys_sigpending_args { 449 1.1 mrg syscallarg(netbsd32_intp) mask; 450 1.1 mrg }; 451 1.20 dsl check_syscall_args(sunos32_sys_sigpending) 452 1.20 dsl 453 1.20 dsl struct netbsd32_setpgid_args; 454 1.20 dsl 455 1.20 dsl struct netbsd32_pathconf_args; 456 1.20 dsl 457 1.20 dsl struct netbsd32_fpathconf_args; 458 1.1 mrg 459 1.1 mrg struct sunos32_sys_sysconf_args { 460 1.1 mrg syscallarg(int) name; 461 1.1 mrg }; 462 1.20 dsl check_syscall_args(sunos32_sys_sysconf) 463 1.1 mrg 464 1.1 mrg struct sunos32_sys_uname_args { 465 1.1 mrg syscallarg(sunos32_utsnamep_t) name; 466 1.1 mrg }; 467 1.20 dsl check_syscall_args(sunos32_sys_uname) 468 1.1 mrg 469 1.1 mrg /* 470 1.1 mrg * System call prototypes. 471 1.1 mrg */ 472 1.1 mrg 473 1.20 dsl int sys_nosys(struct lwp *, const void *, register_t *); 474 1.12 christos 475 1.20 dsl int netbsd32_exit(struct lwp *, const struct netbsd32_exit_args *, register_t *); 476 1.12 christos 477 1.20 dsl int sys_fork(struct lwp *, const void *, register_t *); 478 1.12 christos 479 1.20 dsl int netbsd32_read(struct lwp *, const struct netbsd32_read_args *, register_t *); 480 1.12 christos 481 1.20 dsl int netbsd32_write(struct lwp *, const struct netbsd32_write_args *, register_t *); 482 1.12 christos 483 1.20 dsl int sunos32_sys_open(struct lwp *, const struct sunos32_sys_open_args *, register_t *); 484 1.12 christos 485 1.20 dsl int netbsd32_close(struct lwp *, const struct netbsd32_close_args *, register_t *); 486 1.12 christos 487 1.20 dsl int sunos32_sys_wait4(struct lwp *, const struct sunos32_sys_wait4_args *, register_t *); 488 1.12 christos 489 1.20 dsl int sunos32_sys_creat(struct lwp *, const struct sunos32_sys_creat_args *, register_t *); 490 1.12 christos 491 1.20 dsl int netbsd32_link(struct lwp *, const struct netbsd32_link_args *, register_t *); 492 1.12 christos 493 1.20 dsl int netbsd32_unlink(struct lwp *, const struct netbsd32_unlink_args *, register_t *); 494 1.12 christos 495 1.20 dsl int sunos32_sys_execv(struct lwp *, const struct sunos32_sys_execv_args *, register_t *); 496 1.12 christos 497 1.20 dsl int netbsd32_chdir(struct lwp *, const struct netbsd32_chdir_args *, register_t *); 498 1.12 christos 499 1.20 dsl int sunos32_sys_mknod(struct lwp *, const struct sunos32_sys_mknod_args *, register_t *); 500 1.12 christos 501 1.20 dsl int netbsd32_chmod(struct lwp *, const struct netbsd32_chmod_args *, register_t *); 502 1.12 christos 503 1.20 dsl int netbsd32_chown(struct lwp *, const struct netbsd32_chown_args *, register_t *); 504 1.12 christos 505 1.20 dsl int netbsd32_break(struct lwp *, const struct netbsd32_break_args *, register_t *); 506 1.12 christos 507 1.20 dsl int compat_43_netbsd32_olseek(struct lwp *, const struct compat_43_netbsd32_olseek_args *, register_t *); 508 1.12 christos 509 1.20 dsl int sys_getpid_with_ppid(struct lwp *, const void *, register_t *); 510 1.12 christos 511 1.20 dsl int netbsd32_setuid(struct lwp *, const struct netbsd32_setuid_args *, register_t *); 512 1.12 christos 513 1.20 dsl int sys_getuid_with_euid(struct lwp *, const void *, register_t *); 514 1.12 christos 515 1.20 dsl int sunos32_sys_stime(struct lwp *, const struct sunos32_sys_stime_args *, register_t *); 516 1.12 christos 517 1.20 dsl int sunos32_sys_ptrace(struct lwp *, const struct sunos32_sys_ptrace_args *, register_t *); 518 1.12 christos 519 1.20 dsl int sunos32_sys_access(struct lwp *, const struct sunos32_sys_access_args *, register_t *); 520 1.12 christos 521 1.20 dsl int sys_sync(struct lwp *, const void *, register_t *); 522 1.12 christos 523 1.20 dsl int netbsd32_kill(struct lwp *, const struct netbsd32_kill_args *, register_t *); 524 1.12 christos 525 1.20 dsl int sunos32_sys_stat(struct lwp *, const struct sunos32_sys_stat_args *, register_t *); 526 1.12 christos 527 1.20 dsl int sunos32_sys_lstat(struct lwp *, const struct sunos32_sys_lstat_args *, register_t *); 528 1.12 christos 529 1.20 dsl int netbsd32_dup(struct lwp *, const struct netbsd32_dup_args *, register_t *); 530 1.12 christos 531 1.20 dsl int sys_pipe(struct lwp *, const void *, register_t *); 532 1.12 christos 533 1.20 dsl int netbsd32_profil(struct lwp *, const struct netbsd32_profil_args *, register_t *); 534 1.12 christos 535 1.20 dsl int netbsd32_setgid(struct lwp *, const struct netbsd32_setgid_args *, register_t *); 536 1.12 christos 537 1.20 dsl int sys_getgid_with_egid(struct lwp *, const void *, register_t *); 538 1.12 christos 539 1.20 dsl int netbsd32_acct(struct lwp *, const struct netbsd32_acct_args *, register_t *); 540 1.12 christos 541 1.20 dsl int sunos32_sys_mctl(struct lwp *, const struct sunos32_sys_mctl_args *, register_t *); 542 1.12 christos 543 1.20 dsl int sunos32_sys_ioctl(struct lwp *, const struct sunos32_sys_ioctl_args *, register_t *); 544 1.12 christos 545 1.20 dsl int sunos32_sys_reboot(struct lwp *, const struct sunos32_sys_reboot_args *, register_t *); 546 1.12 christos 547 1.20 dsl int netbsd32_symlink(struct lwp *, const struct netbsd32_symlink_args *, register_t *); 548 1.12 christos 549 1.20 dsl int netbsd32_readlink(struct lwp *, const struct netbsd32_readlink_args *, register_t *); 550 1.12 christos 551 1.20 dsl int sunos32_sys_execve(struct lwp *, const struct sunos32_sys_execve_args *, register_t *); 552 1.12 christos 553 1.20 dsl int netbsd32_umask(struct lwp *, const struct netbsd32_umask_args *, register_t *); 554 1.12 christos 555 1.20 dsl int netbsd32_chroot(struct lwp *, const struct netbsd32_chroot_args *, register_t *); 556 1.12 christos 557 1.20 dsl int compat_43_netbsd32_fstat43(struct lwp *, const struct compat_43_netbsd32_fstat43_args *, register_t *); 558 1.12 christos 559 1.20 dsl int compat_43_sys_getpagesize(struct lwp *, const void *, register_t *); 560 1.12 christos 561 1.20 dsl int sunos32_sys_omsync(struct lwp *, const struct sunos32_sys_omsync_args *, register_t *); 562 1.12 christos 563 1.20 dsl int sys_vfork(struct lwp *, const void *, register_t *); 564 1.12 christos 565 1.20 dsl int sunos32_sys_mmap(struct lwp *, const struct sunos32_sys_mmap_args *, register_t *); 566 1.12 christos 567 1.36 kamil int netbsd32_ovadvise(struct lwp *, const struct netbsd32_ovadvise_args *, register_t *); 568 1.36 kamil 569 1.20 dsl int netbsd32_munmap(struct lwp *, const struct netbsd32_munmap_args *, register_t *); 570 1.12 christos 571 1.20 dsl int netbsd32_mprotect(struct lwp *, const struct netbsd32_mprotect_args *, register_t *); 572 1.12 christos 573 1.20 dsl int netbsd32_madvise(struct lwp *, const struct netbsd32_madvise_args *, register_t *); 574 1.12 christos 575 1.20 dsl int sunos32_sys_vhangup(struct lwp *, const void *, register_t *); 576 1.12 christos 577 1.20 dsl int netbsd32_mincore(struct lwp *, const struct netbsd32_mincore_args *, register_t *); 578 1.12 christos 579 1.20 dsl int netbsd32_getgroups(struct lwp *, const struct netbsd32_getgroups_args *, register_t *); 580 1.12 christos 581 1.20 dsl int netbsd32_setgroups(struct lwp *, const struct netbsd32_setgroups_args *, register_t *); 582 1.12 christos 583 1.20 dsl int sys_getpgrp(struct lwp *, const void *, register_t *); 584 1.12 christos 585 1.20 dsl int sunos32_sys_setpgrp(struct lwp *, const struct sunos32_sys_setpgrp_args *, register_t *); 586 1.12 christos 587 1.22 nakayama int compat_50_netbsd32_setitimer(struct lwp *, const struct compat_50_netbsd32_setitimer_args *, register_t *); 588 1.12 christos 589 1.20 dsl int compat_12_netbsd32_oswapon(struct lwp *, const struct compat_12_netbsd32_oswapon_args *, register_t *); 590 1.12 christos 591 1.22 nakayama int compat_50_netbsd32_getitimer(struct lwp *, const struct compat_50_netbsd32_getitimer_args *, register_t *); 592 1.12 christos 593 1.20 dsl int compat_43_netbsd32_ogethostname(struct lwp *, const struct compat_43_netbsd32_ogethostname_args *, register_t *); 594 1.12 christos 595 1.20 dsl int compat_43_netbsd32_osethostname(struct lwp *, const struct compat_43_netbsd32_osethostname_args *, register_t *); 596 1.12 christos 597 1.20 dsl int compat_43_sys_getdtablesize(struct lwp *, const void *, register_t *); 598 1.12 christos 599 1.20 dsl int netbsd32_dup2(struct lwp *, const struct netbsd32_dup2_args *, register_t *); 600 1.12 christos 601 1.20 dsl int sunos32_sys_fcntl(struct lwp *, const struct sunos32_sys_fcntl_args *, register_t *); 602 1.12 christos 603 1.22 nakayama int compat_50_netbsd32_select(struct lwp *, const struct compat_50_netbsd32_select_args *, register_t *); 604 1.12 christos 605 1.20 dsl int netbsd32_fsync(struct lwp *, const struct netbsd32_fsync_args *, register_t *); 606 1.12 christos 607 1.20 dsl int netbsd32_setpriority(struct lwp *, const struct netbsd32_setpriority_args *, register_t *); 608 1.12 christos 609 1.20 dsl int sunos32_sys_socket(struct lwp *, const struct sunos32_sys_socket_args *, register_t *); 610 1.12 christos 611 1.20 dsl int netbsd32_connect(struct lwp *, const struct netbsd32_connect_args *, register_t *); 612 1.12 christos 613 1.20 dsl int compat_43_netbsd32_oaccept(struct lwp *, const struct compat_43_netbsd32_oaccept_args *, register_t *); 614 1.12 christos 615 1.20 dsl int netbsd32_getpriority(struct lwp *, const struct netbsd32_getpriority_args *, register_t *); 616 1.12 christos 617 1.20 dsl int compat_43_netbsd32_osend(struct lwp *, const struct compat_43_netbsd32_osend_args *, register_t *); 618 1.12 christos 619 1.20 dsl int compat_43_netbsd32_orecv(struct lwp *, const struct compat_43_netbsd32_orecv_args *, register_t *); 620 1.12 christos 621 1.20 dsl int netbsd32_bind(struct lwp *, const struct netbsd32_bind_args *, register_t *); 622 1.12 christos 623 1.20 dsl int sunos32_sys_setsockopt(struct lwp *, const struct sunos32_sys_setsockopt_args *, register_t *); 624 1.12 christos 625 1.20 dsl int netbsd32_listen(struct lwp *, const struct netbsd32_listen_args *, register_t *); 626 1.12 christos 627 1.20 dsl int sunos32_sys_sigvec(struct lwp *, const struct sunos32_sys_sigvec_args *, register_t *); 628 1.12 christos 629 1.20 dsl int compat_43_netbsd32_sigblock(struct lwp *, const struct compat_43_netbsd32_sigblock_args *, register_t *); 630 1.12 christos 631 1.20 dsl int compat_43_netbsd32_sigsetmask(struct lwp *, const struct compat_43_netbsd32_sigsetmask_args *, register_t *); 632 1.12 christos 633 1.20 dsl int sunos32_sys_sigsuspend(struct lwp *, const struct sunos32_sys_sigsuspend_args *, register_t *); 634 1.12 christos 635 1.20 dsl int compat_43_netbsd32_osigstack(struct lwp *, const struct compat_43_netbsd32_osigstack_args *, register_t *); 636 1.12 christos 637 1.20 dsl int compat_43_netbsd32_orecvmsg(struct lwp *, const struct compat_43_netbsd32_orecvmsg_args *, register_t *); 638 1.12 christos 639 1.20 dsl int compat_43_netbsd32_osendmsg(struct lwp *, const struct compat_43_netbsd32_osendmsg_args *, register_t *); 640 1.12 christos 641 1.22 nakayama int compat_50_netbsd32_gettimeofday(struct lwp *, const struct compat_50_netbsd32_gettimeofday_args *, register_t *); 642 1.12 christos 643 1.22 nakayama int compat_50_netbsd32_getrusage(struct lwp *, const struct compat_50_netbsd32_getrusage_args *, register_t *); 644 1.12 christos 645 1.20 dsl int netbsd32_getsockopt(struct lwp *, const struct netbsd32_getsockopt_args *, register_t *); 646 1.12 christos 647 1.20 dsl int netbsd32_readv(struct lwp *, const struct netbsd32_readv_args *, register_t *); 648 1.12 christos 649 1.20 dsl int netbsd32_writev(struct lwp *, const struct netbsd32_writev_args *, register_t *); 650 1.12 christos 651 1.22 nakayama int compat_50_netbsd32_settimeofday(struct lwp *, const struct compat_50_netbsd32_settimeofday_args *, register_t *); 652 1.12 christos 653 1.20 dsl int netbsd32_fchown(struct lwp *, const struct netbsd32_fchown_args *, register_t *); 654 1.12 christos 655 1.20 dsl int netbsd32_fchmod(struct lwp *, const struct netbsd32_fchmod_args *, register_t *); 656 1.12 christos 657 1.20 dsl int compat_43_netbsd32_orecvfrom(struct lwp *, const struct compat_43_netbsd32_orecvfrom_args *, register_t *); 658 1.12 christos 659 1.20 dsl int netbsd32_setreuid(struct lwp *, const struct netbsd32_setreuid_args *, register_t *); 660 1.12 christos 661 1.20 dsl int netbsd32_setregid(struct lwp *, const struct netbsd32_setregid_args *, register_t *); 662 1.12 christos 663 1.20 dsl int netbsd32_rename(struct lwp *, const struct netbsd32_rename_args *, register_t *); 664 1.12 christos 665 1.20 dsl int compat_43_netbsd32_otruncate(struct lwp *, const struct compat_43_netbsd32_otruncate_args *, register_t *); 666 1.12 christos 667 1.20 dsl int compat_43_netbsd32_oftruncate(struct lwp *, const struct compat_43_netbsd32_oftruncate_args *, register_t *); 668 1.12 christos 669 1.20 dsl int netbsd32_flock(struct lwp *, const struct netbsd32_flock_args *, register_t *); 670 1.12 christos 671 1.20 dsl int netbsd32_sendto(struct lwp *, const struct netbsd32_sendto_args *, register_t *); 672 1.12 christos 673 1.20 dsl int netbsd32_shutdown(struct lwp *, const struct netbsd32_shutdown_args *, register_t *); 674 1.12 christos 675 1.20 dsl int sunos32_sys_socketpair(struct lwp *, const struct sunos32_sys_socketpair_args *, register_t *); 676 1.12 christos 677 1.20 dsl int netbsd32_mkdir(struct lwp *, const struct netbsd32_mkdir_args *, register_t *); 678 1.12 christos 679 1.20 dsl int netbsd32_rmdir(struct lwp *, const struct netbsd32_rmdir_args *, register_t *); 680 1.12 christos 681 1.22 nakayama int compat_50_netbsd32_utimes(struct lwp *, const struct compat_50_netbsd32_utimes_args *, register_t *); 682 1.12 christos 683 1.20 dsl int sunos32_sys_sigreturn(struct lwp *, const struct sunos32_sys_sigreturn_args *, register_t *); 684 1.12 christos 685 1.22 nakayama int compat_50_netbsd32_adjtime(struct lwp *, const struct compat_50_netbsd32_adjtime_args *, register_t *); 686 1.12 christos 687 1.20 dsl int compat_43_netbsd32_ogetpeername(struct lwp *, const struct compat_43_netbsd32_ogetpeername_args *, register_t *); 688 1.12 christos 689 1.20 dsl int compat_43_sys_gethostid(struct lwp *, const void *, register_t *); 690 1.12 christos 691 1.20 dsl int sunos32_sys_getrlimit(struct lwp *, const struct sunos32_sys_getrlimit_args *, register_t *); 692 1.12 christos 693 1.20 dsl int sunos32_sys_setrlimit(struct lwp *, const struct sunos32_sys_setrlimit_args *, register_t *); 694 1.12 christos 695 1.20 dsl int compat_43_netbsd32_killpg(struct lwp *, const struct compat_43_netbsd32_killpg_args *, register_t *); 696 1.12 christos 697 1.20 dsl int compat_43_netbsd32_ogetsockname(struct lwp *, const struct compat_43_netbsd32_ogetsockname_args *, register_t *); 698 1.12 christos 699 1.20 dsl int netbsd32_poll(struct lwp *, const struct netbsd32_poll_args *, register_t *); 700 1.12 christos 701 1.20 dsl int compat_43_netbsd32_ogetdirentries(struct lwp *, const struct compat_43_netbsd32_ogetdirentries_args *, register_t *); 702 1.12 christos 703 1.20 dsl int sunos32_sys_statfs(struct lwp *, const struct sunos32_sys_statfs_args *, register_t *); 704 1.12 christos 705 1.20 dsl int sunos32_sys_fstatfs(struct lwp *, const struct sunos32_sys_fstatfs_args *, register_t *); 706 1.12 christos 707 1.20 dsl int sunos32_sys_unmount(struct lwp *, const struct sunos32_sys_unmount_args *, register_t *); 708 1.12 christos 709 1.20 dsl int compat_30_sys_getfh(struct lwp *, const struct compat_30_sys_getfh_args *, register_t *); 710 1.12 christos 711 1.20 dsl int compat_09_netbsd32_ogetdomainname(struct lwp *, const struct compat_09_netbsd32_ogetdomainname_args *, register_t *); 712 1.12 christos 713 1.20 dsl int compat_09_netbsd32_osetdomainname(struct lwp *, const struct compat_09_netbsd32_osetdomainname_args *, register_t *); 714 1.12 christos 715 1.20 dsl int sunos32_sys_quotactl(struct lwp *, const struct sunos32_sys_quotactl_args *, register_t *); 716 1.12 christos 717 1.20 dsl int sunos32_sys_exportfs(struct lwp *, const struct sunos32_sys_exportfs_args *, register_t *); 718 1.12 christos 719 1.20 dsl int sunos32_sys_mount(struct lwp *, const struct sunos32_sys_mount_args *, register_t *); 720 1.12 christos 721 1.20 dsl int sunos32_sys_ustat(struct lwp *, const struct sunos32_sys_ustat_args *, register_t *); 722 1.12 christos 723 1.1 mrg #ifdef SYSVSEM 724 1.22 nakayama int compat_10_netbsd32_semsys(struct lwp *, const struct compat_10_netbsd32_semsys_args *, register_t *); 725 1.12 christos 726 1.1 mrg #else 727 1.1 mrg #endif 728 1.1 mrg #ifdef SYSVMSG 729 1.22 nakayama int compat_10_netbsd32_msgsys(struct lwp *, const struct compat_10_netbsd32_msgsys_args *, register_t *); 730 1.12 christos 731 1.1 mrg #else 732 1.1 mrg #endif 733 1.1 mrg #ifdef SYSVSHM 734 1.22 nakayama int compat_10_netbsd32_shmsys(struct lwp *, const struct compat_10_netbsd32_shmsys_args *, register_t *); 735 1.12 christos 736 1.1 mrg #else 737 1.1 mrg #endif 738 1.20 dsl int sunos32_sys_auditsys(struct lwp *, const struct sunos32_sys_auditsys_args *, register_t *); 739 1.12 christos 740 1.20 dsl int sunos32_sys_getdents(struct lwp *, const struct sunos32_sys_getdents_args *, register_t *); 741 1.12 christos 742 1.20 dsl int sys_setsid(struct lwp *, const void *, register_t *); 743 1.12 christos 744 1.20 dsl int netbsd32_fchdir(struct lwp *, const struct netbsd32_fchdir_args *, register_t *); 745 1.12 christos 746 1.20 dsl int netbsd32_fchroot(struct lwp *, const struct netbsd32_fchroot_args *, register_t *); 747 1.12 christos 748 1.20 dsl int sunos32_sys_sigpending(struct lwp *, const struct sunos32_sys_sigpending_args *, register_t *); 749 1.12 christos 750 1.20 dsl int netbsd32_setpgid(struct lwp *, const struct netbsd32_setpgid_args *, register_t *); 751 1.12 christos 752 1.20 dsl int netbsd32_pathconf(struct lwp *, const struct netbsd32_pathconf_args *, register_t *); 753 1.12 christos 754 1.20 dsl int netbsd32_fpathconf(struct lwp *, const struct netbsd32_fpathconf_args *, register_t *); 755 1.12 christos 756 1.20 dsl int sunos32_sys_sysconf(struct lwp *, const struct sunos32_sys_sysconf_args *, register_t *); 757 1.12 christos 758 1.20 dsl int sunos32_sys_uname(struct lwp *, const struct sunos32_sys_uname_args *, register_t *); 759 1.12 christos 760 1.17 pavel #endif /* _SUNOS32_SYS_SYSCALLARGS_H_ */ 761