diff --git a/sys/compat/ibcs2/ibcs2_syscall.h b/sys/compat/ibcs2/ibcs2_syscall.h index 2111920330a8..76808e299d38 100644 --- a/sys/compat/ibcs2/ibcs2_syscall.h +++ b/sys/compat/ibcs2/ibcs2_syscall.h @@ -1,10 +1,10 @@ -/* $NetBSD: ibcs2_syscall.h,v 1.48 2009/12/14 00:58:36 matt Exp $ */ +/* $NetBSD: ibcs2_syscall.h,v 1.49 2013/06/26 16:29:50 christos Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.37 2009/01/13 22:27:43 pooka Exp + * created from NetBSD: syscalls.master,v 1.40 2013/06/26 16:29:41 christos Exp */ #ifndef _IBCS2_SYS_SYSCALL_H_ diff --git a/sys/compat/ibcs2/ibcs2_syscallargs.h b/sys/compat/ibcs2/ibcs2_syscallargs.h index d203a51544e3..2e347d928037 100644 --- a/sys/compat/ibcs2/ibcs2_syscallargs.h +++ b/sys/compat/ibcs2/ibcs2_syscallargs.h @@ -1,10 +1,10 @@ -/* $NetBSD: ibcs2_syscallargs.h,v 1.49 2009/12/14 00:58:36 matt Exp $ */ +/* $NetBSD: ibcs2_syscallargs.h,v 1.50 2013/06/26 16:29:50 christos Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.37 2009/01/13 22:27:43 pooka Exp + * created from NetBSD: syscalls.master,v 1.40 2013/06/26 16:29:41 christos Exp */ #ifndef _IBCS2_SYS_SYSCALLARGS_H_ @@ -27,7 +27,7 @@ } #undef check_syscall_args -#define check_syscall_args(call) \ +#define check_syscall_args(call) /*LINTED*/ \ typedef char call##_check_args[sizeof (struct call##_args) \ <= IBCS2_SYS_MAXSYSARGS * sizeof (register_t) ? 1 : -1]; diff --git a/sys/compat/ibcs2/ibcs2_syscalls.c b/sys/compat/ibcs2/ibcs2_syscalls.c index aa9010644fc2..142a4a88c666 100644 --- a/sys/compat/ibcs2/ibcs2_syscalls.c +++ b/sys/compat/ibcs2/ibcs2_syscalls.c @@ -1,14 +1,14 @@ -/* $NetBSD: ibcs2_syscalls.c,v 1.49 2009/12/14 00:58:36 matt Exp $ */ +/* $NetBSD: ibcs2_syscalls.c,v 1.50 2013/06/26 16:29:50 christos Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.37 2009/01/13 22:27:43 pooka Exp + * created from NetBSD: syscalls.master,v 1.40 2013/06/26 16:29:41 christos Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: ibcs2_syscalls.c,v 1.49 2009/12/14 00:58:36 matt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ibcs2_syscalls.c,v 1.50 2013/06/26 16:29:50 christos Exp $"); #if defined(_KERNEL_OPT) #if defined(_KERNEL_OPT) @@ -122,43 +122,43 @@ const char *const ibcs2_syscallnames[] = { /* 79 */ "rmdir", /* 80 */ "mkdir", /* 81 */ "getdents", - /* 82 */ "#82 (unimplemented)", - /* 83 */ "#83 (unimplemented)", + /* 82 */ "#82 (unimplemented libattach)", + /* 83 */ "#83 (unimplemented libdetach)", /* 84 */ "sysfs", /* 85 */ "getmsg", /* 86 */ "putmsg", /* 87 */ "poll", - /* 88 */ "#88 (unimplemented)", - /* 89 */ "#89 (unimplemented)", + /* 88 */ "#88 (unimplemented unknown)", + /* 89 */ "#89 (unimplemented secure)", /* 90 */ "symlink", /* 91 */ "lstat", /* 92 */ "readlink", /* 93 */ "fchmod", /* 94 */ "fchown", - /* 95 */ "#95 (unimplemented)", + /* 95 */ "#95 (unimplemented sigprocmask)", /* 96 */ "sigreturn", /* 97 */ "sigaltstack", - /* 98 */ "#98 (unimplemented)", - /* 99 */ "#99 (unimplemented)", + /* 98 */ "#98 (unimplemented sigaction)", + /* 99 */ "#99 (unimplemented sigpending)", /* 100 */ "#100 (unimplemented getcontext/setcontext/sigsetjmp)", - /* 101 */ "#101 (unimplemented)", - /* 102 */ "#102 (unimplemented)", + /* 101 */ "#101 (unimplemented envsys)", + /* 102 */ "#102 (unimplemented evtrapret)", /* 103 */ "statvfs", /* 104 */ "fstatvfs", - /* 105 */ "#105 (unimplemented)", - /* 106 */ "#106 (unimplemented)", - /* 107 */ "#107 (unimplemented waitid)", - /* 108 */ "#108 (unimplemented sigsendset)", - /* 109 */ "#109 (unimplemented)", - /* 110 */ "#110 (unimplemented)", - /* 111 */ "#111 (unimplemented)", - /* 112 */ "#112 (unimplemented priocntl)", - /* 113 */ "#113 (unimplemented)", - /* 114 */ "#114 (unimplemented)", + /* 105 */ "#105 (unimplemented isc)", + /* 106 */ "#106 (unimplemented nfssys)", + /* 107 */ "#107 (unimplemented waitsys)", + /* 108 */ "#108 (unimplemented sigsendsys)", + /* 109 */ "#109 (unimplemented hrtsys)", + /* 110 */ "#110 (unimplemented acancel)", + /* 111 */ "#111 (unimplemented async)", + /* 112 */ "#112 (unimplemented priocntlsys)", + /* 113 */ "#113 (unimplemented pathconf)", + /* 114 */ "#114 (unimplemented mincore)", /* 115 */ "mmap", /* 116 */ "mprotect", /* 117 */ "munmap", - /* 118 */ "#118 (unimplemented)", + /* 118 */ "#118 (unimplemented fpathconf)", /* 119 */ "#119 (unimplemented vfork)", /* 120 */ "fchdir", /* 121 */ "readv", @@ -166,20 +166,20 @@ const char *const ibcs2_syscallnames[] = { /* 123 */ "#123 (unimplemented xstat)", /* 124 */ "#124 (unimplemented lxstat)", /* 125 */ "#125 (unimplemented fxstat)", - /* 126 */ "#126 (unimplemented)", - /* 127 */ "#127 (unimplemented)", + /* 126 */ "#126 (unimplemented xmknod)", + /* 127 */ "#127 (unimplemented clocal)", /* 128 */ "#128 (unimplemented setrlimit)", /* 129 */ "#129 (unimplemented getrlimit)", /* 130 */ "#130 (unimplemented lchown)", /* 131 */ "memcntl", /* 132 */ "#132 (unimplemented getpmsg)", /* 133 */ "#133 (unimplemented putpmsg)", - /* 134 */ "#134 (unimplemented)", - /* 135 */ "#135 (unimplemented)", + /* 134 */ "#134 (unimplemented rename)", + /* 135 */ "#135 (unimplemented uname)", /* 136 */ "#136 (unimplemented setegid)", - /* 137 */ "#137 (unimplemented)", + /* 137 */ "#137 (unimplemented sysconfig)", /* 138 */ "#138 (unimplemented adjtime)", - /* 139 */ "#139 (unimplemented)", + /* 139 */ "#139 (unimplemented systeminfo)", /* 140 */ "#140 (unimplemented)", /* 141 */ "#141 (unimplemented seteuid)", /* 142 */ "#142 (unimplemented)", @@ -300,4 +300,256 @@ const char *const ibcs2_syscallnames[] = { /* 257 */ "#257 (unimplemented)", /* 258 */ "#258 (unimplemented setreuid)", /* 259 */ "#259 (unimplemented setregid)", + /* 260 */ "# filler", + /* 261 */ "# filler", + /* 262 */ "# filler", + /* 263 */ "# filler", + /* 264 */ "# filler", + /* 265 */ "# filler", + /* 266 */ "# filler", + /* 267 */ "# filler", + /* 268 */ "# filler", + /* 269 */ "# filler", + /* 270 */ "# filler", + /* 271 */ "# filler", + /* 272 */ "# filler", + /* 273 */ "# filler", + /* 274 */ "# filler", + /* 275 */ "# filler", + /* 276 */ "# filler", + /* 277 */ "# filler", + /* 278 */ "# filler", + /* 279 */ "# filler", + /* 280 */ "# filler", + /* 281 */ "# filler", + /* 282 */ "# filler", + /* 283 */ "# filler", + /* 284 */ "# filler", + /* 285 */ "# filler", + /* 286 */ "# filler", + /* 287 */ "# filler", + /* 288 */ "# filler", + /* 289 */ "# filler", + /* 290 */ "# filler", + /* 291 */ "# filler", + /* 292 */ "# filler", + /* 293 */ "# filler", + /* 294 */ "# filler", + /* 295 */ "# filler", + /* 296 */ "# filler", + /* 297 */ "# filler", + /* 298 */ "# filler", + /* 299 */ "# filler", + /* 300 */ "# filler", + /* 301 */ "# filler", + /* 302 */ "# filler", + /* 303 */ "# filler", + /* 304 */ "# filler", + /* 305 */ "# filler", + /* 306 */ "# filler", + /* 307 */ "# filler", + /* 308 */ "# filler", + /* 309 */ "# filler", + /* 310 */ "# filler", + /* 311 */ "# filler", + /* 312 */ "# filler", + /* 313 */ "# filler", + /* 314 */ "# filler", + /* 315 */ "# filler", + /* 316 */ "# filler", + /* 317 */ "# filler", + /* 318 */ "# filler", + /* 319 */ "# filler", + /* 320 */ "# filler", + /* 321 */ "# filler", + /* 322 */ "# filler", + /* 323 */ "# filler", + /* 324 */ "# filler", + /* 325 */ "# filler", + /* 326 */ "# filler", + /* 327 */ "# filler", + /* 328 */ "# filler", + /* 329 */ "# filler", + /* 330 */ "# filler", + /* 331 */ "# filler", + /* 332 */ "# filler", + /* 333 */ "# filler", + /* 334 */ "# filler", + /* 335 */ "# filler", + /* 336 */ "# filler", + /* 337 */ "# filler", + /* 338 */ "# filler", + /* 339 */ "# filler", + /* 340 */ "# filler", + /* 341 */ "# filler", + /* 342 */ "# filler", + /* 343 */ "# filler", + /* 344 */ "# filler", + /* 345 */ "# filler", + /* 346 */ "# filler", + /* 347 */ "# filler", + /* 348 */ "# filler", + /* 349 */ "# filler", + /* 350 */ "# filler", + /* 351 */ "# filler", + /* 352 */ "# filler", + /* 353 */ "# filler", + /* 354 */ "# filler", + /* 355 */ "# filler", + /* 356 */ "# filler", + /* 357 */ "# filler", + /* 358 */ "# filler", + /* 359 */ "# filler", + /* 360 */ "# filler", + /* 361 */ "# filler", + /* 362 */ "# filler", + /* 363 */ "# filler", + /* 364 */ "# filler", + /* 365 */ "# filler", + /* 366 */ "# filler", + /* 367 */ "# filler", + /* 368 */ "# filler", + /* 369 */ "# filler", + /* 370 */ "# filler", + /* 371 */ "# filler", + /* 372 */ "# filler", + /* 373 */ "# filler", + /* 374 */ "# filler", + /* 375 */ "# filler", + /* 376 */ "# filler", + /* 377 */ "# filler", + /* 378 */ "# filler", + /* 379 */ "# filler", + /* 380 */ "# filler", + /* 381 */ "# filler", + /* 382 */ "# filler", + /* 383 */ "# filler", + /* 384 */ "# filler", + /* 385 */ "# filler", + /* 386 */ "# filler", + /* 387 */ "# filler", + /* 388 */ "# filler", + /* 389 */ "# filler", + /* 390 */ "# filler", + /* 391 */ "# filler", + /* 392 */ "# filler", + /* 393 */ "# filler", + /* 394 */ "# filler", + /* 395 */ "# filler", + /* 396 */ "# filler", + /* 397 */ "# filler", + /* 398 */ "# filler", + /* 399 */ "# filler", + /* 400 */ "# filler", + /* 401 */ "# filler", + /* 402 */ "# filler", + /* 403 */ "# filler", + /* 404 */ "# filler", + /* 405 */ "# filler", + /* 406 */ "# filler", + /* 407 */ "# filler", + /* 408 */ "# filler", + /* 409 */ "# filler", + /* 410 */ "# filler", + /* 411 */ "# filler", + /* 412 */ "# filler", + /* 413 */ "# filler", + /* 414 */ "# filler", + /* 415 */ "# filler", + /* 416 */ "# filler", + /* 417 */ "# filler", + /* 418 */ "# filler", + /* 419 */ "# filler", + /* 420 */ "# filler", + /* 421 */ "# filler", + /* 422 */ "# filler", + /* 423 */ "# filler", + /* 424 */ "# filler", + /* 425 */ "# filler", + /* 426 */ "# filler", + /* 427 */ "# filler", + /* 428 */ "# filler", + /* 429 */ "# filler", + /* 430 */ "# filler", + /* 431 */ "# filler", + /* 432 */ "# filler", + /* 433 */ "# filler", + /* 434 */ "# filler", + /* 435 */ "# filler", + /* 436 */ "# filler", + /* 437 */ "# filler", + /* 438 */ "# filler", + /* 439 */ "# filler", + /* 440 */ "# filler", + /* 441 */ "# filler", + /* 442 */ "# filler", + /* 443 */ "# filler", + /* 444 */ "# filler", + /* 445 */ "# filler", + /* 446 */ "# filler", + /* 447 */ "# filler", + /* 448 */ "# filler", + /* 449 */ "# filler", + /* 450 */ "# filler", + /* 451 */ "# filler", + /* 452 */ "# filler", + /* 453 */ "# filler", + /* 454 */ "# filler", + /* 455 */ "# filler", + /* 456 */ "# filler", + /* 457 */ "# filler", + /* 458 */ "# filler", + /* 459 */ "# filler", + /* 460 */ "# filler", + /* 461 */ "# filler", + /* 462 */ "# filler", + /* 463 */ "# filler", + /* 464 */ "# filler", + /* 465 */ "# filler", + /* 466 */ "# filler", + /* 467 */ "# filler", + /* 468 */ "# filler", + /* 469 */ "# filler", + /* 470 */ "# filler", + /* 471 */ "# filler", + /* 472 */ "# filler", + /* 473 */ "# filler", + /* 474 */ "# filler", + /* 475 */ "# filler", + /* 476 */ "# filler", + /* 477 */ "# filler", + /* 478 */ "# filler", + /* 479 */ "# filler", + /* 480 */ "# filler", + /* 481 */ "# filler", + /* 482 */ "# filler", + /* 483 */ "# filler", + /* 484 */ "# filler", + /* 485 */ "# filler", + /* 486 */ "# filler", + /* 487 */ "# filler", + /* 488 */ "# filler", + /* 489 */ "# filler", + /* 490 */ "# filler", + /* 491 */ "# filler", + /* 492 */ "# filler", + /* 493 */ "# filler", + /* 494 */ "# filler", + /* 495 */ "# filler", + /* 496 */ "# filler", + /* 497 */ "# filler", + /* 498 */ "# filler", + /* 499 */ "# filler", + /* 500 */ "# filler", + /* 501 */ "# filler", + /* 502 */ "# filler", + /* 503 */ "# filler", + /* 504 */ "# filler", + /* 505 */ "# filler", + /* 506 */ "# filler", + /* 507 */ "# filler", + /* 508 */ "# filler", + /* 509 */ "# filler", + /* 510 */ "# filler", + /* 511 */ "# filler", }; diff --git a/sys/compat/ibcs2/ibcs2_sysent.c b/sys/compat/ibcs2/ibcs2_sysent.c index 4dd308fc8cb8..d04d31d53b75 100644 --- a/sys/compat/ibcs2/ibcs2_sysent.c +++ b/sys/compat/ibcs2/ibcs2_sysent.c @@ -1,14 +1,14 @@ -/* $NetBSD: ibcs2_sysent.c,v 1.50 2009/12/14 00:58:36 matt Exp $ */ +/* $NetBSD: ibcs2_sysent.c,v 1.51 2013/06/26 16:29:50 christos Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.37 2009/01/13 22:27:43 pooka Exp + * created from NetBSD: syscalls.master,v 1.40 2013/06/26 16:29:41 christos Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: ibcs2_sysent.c,v 1.50 2009/12/14 00:58:36 matt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ibcs2_sysent.c,v 1.51 2013/06/26 16:29:50 christos Exp $"); #if defined(_KERNEL_OPT) #include "opt_sysv.h" @@ -36,79 +36,79 @@ struct sysent ibcs2_sysent[] = { (sy_call_t *)sys_exit }, /* 1 = exit */ { 0, 0, 0, (sy_call_t *)sys_fork }, /* 2 = fork */ - { ns(struct ibcs2_sys_read_args), 0, + { ns(struct ibcs2_sys_read_args), SYCALL_ARG_PTR, (sy_call_t *)ibcs2_sys_read }, /* 3 = read */ - { ns(struct sys_write_args), 0, + { ns(struct sys_write_args), SYCALL_ARG_PTR, (sy_call_t *)sys_write }, /* 4 = write */ - { ns(struct ibcs2_sys_open_args), 0, + { ns(struct ibcs2_sys_open_args), SYCALL_ARG_PTR, (sy_call_t *)ibcs2_sys_open }, /* 5 = open */ { ns(struct sys_close_args), 0, (sy_call_t *)sys_close }, /* 6 = close */ { ns(struct ibcs2_sys_waitsys_args), 0, (sy_call_t *)ibcs2_sys_waitsys }, /* 7 = waitsys */ - { ns(struct ibcs2_sys_creat_args), 0, + { ns(struct ibcs2_sys_creat_args), SYCALL_ARG_PTR, (sy_call_t *)ibcs2_sys_creat }, /* 8 = creat */ - { ns(struct sys_link_args), 0, + { ns(struct sys_link_args), SYCALL_ARG_PTR, (sy_call_t *)sys_link }, /* 9 = link */ - { ns(struct sys_unlink_args), 0, + { ns(struct sys_unlink_args), SYCALL_ARG_PTR, (sy_call_t *)sys_unlink }, /* 10 = unlink */ - { ns(struct ibcs2_sys_execv_args), 0, + { ns(struct ibcs2_sys_execv_args), SYCALL_ARG_PTR, (sy_call_t *)ibcs2_sys_execv }, /* 11 = execv */ - { ns(struct sys_chdir_args), 0, + { ns(struct sys_chdir_args), SYCALL_ARG_PTR, (sy_call_t *)sys_chdir }, /* 12 = chdir */ - { ns(struct ibcs2_sys_time_args), 0, + { ns(struct ibcs2_sys_time_args), SYCALL_ARG_PTR, (sy_call_t *)ibcs2_sys_time }, /* 13 = time */ - { ns(struct ibcs2_sys_mknod_args), 0, + { ns(struct ibcs2_sys_mknod_args), SYCALL_ARG_PTR, (sy_call_t *)ibcs2_sys_mknod }, /* 14 = mknod */ - { ns(struct sys_chmod_args), 0, + { ns(struct sys_chmod_args), SYCALL_ARG_PTR, (sy_call_t *)sys_chmod }, /* 15 = chmod */ - { ns(struct sys___posix_chown_args), 0, + { ns(struct sys___posix_chown_args), SYCALL_ARG_PTR, (sy_call_t *)sys___posix_chown }, /* 16 = __posix_chown */ - { ns(struct sys_obreak_args), 0, + { ns(struct sys_obreak_args), SYCALL_ARG_PTR, (sy_call_t *)sys_obreak }, /* 17 = obreak */ - { ns(struct ibcs2_sys_stat_args), 0, + { ns(struct ibcs2_sys_stat_args), SYCALL_ARG_PTR, (sy_call_t *)ibcs2_sys_stat }, /* 18 = stat */ { ns(struct compat_43_sys_lseek_args), 0, (sy_call_t *)compat_43_sys_lseek }, /* 19 = lseek */ { 0, 0, 0, (sy_call_t *)sys_getpid_with_ppid },/* 20 = getpid_with_ppid */ - { ns(struct ibcs2_sys_mount_args), 0, + { ns(struct ibcs2_sys_mount_args), SYCALL_ARG_PTR, (sy_call_t *)ibcs2_sys_mount }, /* 21 = mount */ - { ns(struct ibcs2_sys_umount_args), 0, + { ns(struct ibcs2_sys_umount_args), SYCALL_ARG_PTR, (sy_call_t *)ibcs2_sys_umount }, /* 22 = umount */ { ns(struct ibcs2_sys_setuid_args), 0, (sy_call_t *)ibcs2_sys_setuid }, /* 23 = setuid */ { 0, 0, 0, (sy_call_t *)sys_getuid_with_euid },/* 24 = getuid_with_euid */ - { ns(struct ibcs2_sys_stime_args), 0, + { ns(struct ibcs2_sys_stime_args), SYCALL_ARG_PTR, (sy_call_t *)ibcs2_sys_stime }, /* 25 = stime */ { 0, 0, 0, sys_nosys }, /* 26 = unimplemented ibcs2_ptrace */ { ns(struct ibcs2_sys_alarm_args), 0, (sy_call_t *)ibcs2_sys_alarm }, /* 27 = alarm */ - { ns(struct ibcs2_sys_fstat_args), 0, + { ns(struct ibcs2_sys_fstat_args), SYCALL_ARG_PTR, (sy_call_t *)ibcs2_sys_fstat }, /* 28 = fstat */ { 0, 0, 0, (sy_call_t *)ibcs2_sys_pause }, /* 29 = pause */ - { ns(struct ibcs2_sys_utime_args), 0, + { ns(struct ibcs2_sys_utime_args), SYCALL_ARG_PTR, (sy_call_t *)ibcs2_sys_utime }, /* 30 = utime */ { 0, 0, 0, sys_nosys }, /* 31 = unimplemented was stty */ - { ns(struct ibcs2_sys_gtty_args), 0, + { ns(struct ibcs2_sys_gtty_args), SYCALL_ARG_PTR, (sy_call_t *)ibcs2_sys_gtty }, /* 32 = gtty */ - { ns(struct ibcs2_sys_access_args), 0, + { ns(struct ibcs2_sys_access_args), SYCALL_ARG_PTR, (sy_call_t *)ibcs2_sys_access }, /* 33 = access */ { ns(struct ibcs2_sys_nice_args), 0, (sy_call_t *)ibcs2_sys_nice }, /* 34 = nice */ - { ns(struct ibcs2_sys_statfs_args), 0, + { ns(struct ibcs2_sys_statfs_args), SYCALL_ARG_PTR, (sy_call_t *)ibcs2_sys_statfs }, /* 35 = statfs */ { 0, 0, 0, (sy_call_t *)sys_sync }, /* 36 = sync */ { ns(struct ibcs2_sys_kill_args), 0, (sy_call_t *)ibcs2_sys_kill }, /* 37 = kill */ - { ns(struct ibcs2_sys_fstatfs_args), 0, + { ns(struct ibcs2_sys_fstatfs_args), SYCALL_ARG_PTR, (sy_call_t *)ibcs2_sys_fstatfs }, /* 38 = fstatfs */ - { ns(struct ibcs2_sys_pgrpsys_args), 0, + { ns(struct ibcs2_sys_pgrpsys_args), SYCALL_ARG_PTR, (sy_call_t *)ibcs2_sys_pgrpsys }, /* 39 = pgrpsys */ { 0, 0, 0, sys_nosys }, /* 40 = unimplemented ibcs2_xenix */ @@ -116,7 +116,7 @@ struct sysent ibcs2_sysent[] = { (sy_call_t *)sys_dup }, /* 41 = dup */ { 0, 0, 0, (sy_call_t *)sys_pipe }, /* 42 = pipe */ - { ns(struct ibcs2_sys_times_args), 0, + { ns(struct ibcs2_sys_times_args), SYCALL_ARG_PTR, (sy_call_t *)ibcs2_sys_times }, /* 43 = times */ { 0, 0, 0, sys_nosys }, /* 44 = unimplemented profil */ @@ -153,9 +153,9 @@ struct sysent ibcs2_sysent[] = { { 0, 0, 0, sys_nosys }, /* 53 = unimplemented semsys */ #endif - { ns(struct ibcs2_sys_ioctl_args), 0, + { ns(struct ibcs2_sys_ioctl_args), SYCALL_ARG_PTR, (sy_call_t *)ibcs2_sys_ioctl }, /* 54 = ioctl */ - { ns(struct ibcs2_sys_uadmin_args), 0, + { ns(struct ibcs2_sys_uadmin_args), SYCALL_ARG_PTR, (sy_call_t *)ibcs2_sys_uadmin }, /* 55 = uadmin */ { 0, 0, 0, sys_nosys }, /* 56 = unimplemented */ @@ -163,13 +163,13 @@ struct sysent ibcs2_sysent[] = { (sy_call_t *)ibcs2_sys_utssys }, /* 57 = utssys */ { ns(struct sys_fsync_args), 0, (sy_call_t *)sys_fsync }, /* 58 = fsync */ - { ns(struct ibcs2_sys_execve_args), 0, + { ns(struct ibcs2_sys_execve_args), SYCALL_ARG_PTR, (sy_call_t *)ibcs2_sys_execve }, /* 59 = execve */ { ns(struct sys_umask_args), 0, (sy_call_t *)sys_umask }, /* 60 = umask */ - { ns(struct sys_chroot_args), 0, + { ns(struct sys_chroot_args), SYCALL_ARG_PTR, (sy_call_t *)sys_chroot }, /* 61 = chroot */ - { ns(struct ibcs2_sys_fcntl_args), 0, + { ns(struct ibcs2_sys_fcntl_args), SYCALL_ARG_PTR, (sy_call_t *)ibcs2_sys_fcntl }, /* 62 = fcntl */ { ns(struct ibcs2_sys_ulimit_args), 0, (sy_call_t *)ibcs2_sys_ulimit }, /* 63 = ulimit */ @@ -203,93 +203,93 @@ struct sysent ibcs2_sysent[] = { sys_nosys }, /* 77 = obsolete rfs_rfstop */ { 0, 0, 0, sys_nosys }, /* 78 = unimplemented rfs_rfsys */ - { ns(struct sys_rmdir_args), 0, + { ns(struct sys_rmdir_args), SYCALL_ARG_PTR, (sy_call_t *)sys_rmdir }, /* 79 = rmdir */ - { ns(struct sys_mkdir_args), 0, + { ns(struct sys_mkdir_args), SYCALL_ARG_PTR, (sy_call_t *)sys_mkdir }, /* 80 = mkdir */ - { ns(struct ibcs2_sys_getdents_args), 0, + { ns(struct ibcs2_sys_getdents_args), SYCALL_ARG_PTR, (sy_call_t *)ibcs2_sys_getdents }, /* 81 = getdents */ { 0, 0, 0, - sys_nosys }, /* 82 = unimplemented */ + sys_nosys }, /* 82 = unimplemented libattach */ { 0, 0, 0, - sys_nosys }, /* 83 = unimplemented */ - { ns(struct ibcs2_sys_sysfs_args), 0, + sys_nosys }, /* 83 = unimplemented libdetach */ + { ns(struct ibcs2_sys_sysfs_args), SYCALL_ARG_PTR, (sy_call_t *)ibcs2_sys_sysfs }, /* 84 = sysfs */ - { ns(struct ibcs2_sys_getmsg_args), 0, + { ns(struct ibcs2_sys_getmsg_args), SYCALL_ARG_PTR, (sy_call_t *)ibcs2_sys_getmsg }, /* 85 = getmsg */ - { ns(struct ibcs2_sys_putmsg_args), 0, + { ns(struct ibcs2_sys_putmsg_args), SYCALL_ARG_PTR, (sy_call_t *)ibcs2_sys_putmsg }, /* 86 = putmsg */ - { ns(struct sys_poll_args), 0, + { ns(struct sys_poll_args), SYCALL_ARG_PTR, (sy_call_t *)sys_poll }, /* 87 = poll */ { 0, 0, 0, - sys_nosys }, /* 88 = unimplemented */ + sys_nosys }, /* 88 = unimplemented unknown */ { 0, 0, 0, - sys_nosys }, /* 89 = unimplemented */ - { ns(struct sys_symlink_args), 0, + sys_nosys }, /* 89 = unimplemented secure */ + { ns(struct sys_symlink_args), SYCALL_ARG_PTR, (sy_call_t *)sys_symlink }, /* 90 = symlink */ - { ns(struct ibcs2_sys_lstat_args), 0, + { ns(struct ibcs2_sys_lstat_args), SYCALL_ARG_PTR, (sy_call_t *)ibcs2_sys_lstat }, /* 91 = lstat */ - { ns(struct sys_readlink_args), 0, + { ns(struct sys_readlink_args), SYCALL_ARG_PTR, (sy_call_t *)sys_readlink }, /* 92 = readlink */ { ns(struct sys_fchmod_args), 0, (sy_call_t *)sys_fchmod }, /* 93 = fchmod */ { ns(struct sys___posix_fchown_args), 0, (sy_call_t *)sys___posix_fchown }, /* 94 = fchown */ { 0, 0, 0, - sys_nosys }, /* 95 = unimplemented */ - { ns(struct compat_16_sys___sigreturn14_args), 0, + sys_nosys }, /* 95 = unimplemented sigprocmask */ + { ns(struct compat_16_sys___sigreturn14_args), SYCALL_ARG_PTR, (sy_call_t *)compat_16_sys___sigreturn14 },/* 96 = sigreturn */ - { ns(struct ibcs2_sys_sigaltstack_args), 0, + { ns(struct ibcs2_sys_sigaltstack_args), SYCALL_ARG_PTR, (sy_call_t *)ibcs2_sys_sigaltstack },/* 97 = sigaltstack */ { 0, 0, 0, - sys_nosys }, /* 98 = unimplemented */ + sys_nosys }, /* 98 = unimplemented sigaction */ { 0, 0, 0, - sys_nosys }, /* 99 = unimplemented */ + sys_nosys }, /* 99 = unimplemented sigpending */ { 0, 0, 0, sys_nosys }, /* 100 = unimplemented getcontext/setcontext/sigsetjmp */ { 0, 0, 0, - sys_nosys }, /* 101 = unimplemented */ + sys_nosys }, /* 101 = unimplemented envsys */ { 0, 0, 0, - sys_nosys }, /* 102 = unimplemented */ - { ns(struct ibcs2_sys_statvfs_args), 0, + sys_nosys }, /* 102 = unimplemented evtrapret */ + { ns(struct ibcs2_sys_statvfs_args), SYCALL_ARG_PTR, (sy_call_t *)ibcs2_sys_statvfs }, /* 103 = statvfs */ - { ns(struct ibcs2_sys_fstatvfs_args), 0, + { ns(struct ibcs2_sys_fstatvfs_args), SYCALL_ARG_PTR, (sy_call_t *)ibcs2_sys_fstatvfs }, /* 104 = fstatvfs */ { 0, 0, 0, - sys_nosys }, /* 105 = unimplemented */ + sys_nosys }, /* 105 = unimplemented isc */ { 0, 0, 0, - sys_nosys }, /* 106 = unimplemented */ + sys_nosys }, /* 106 = unimplemented nfssys */ { 0, 0, 0, - sys_nosys }, /* 107 = unimplemented waitid */ + sys_nosys }, /* 107 = unimplemented waitsys */ { 0, 0, 0, - sys_nosys }, /* 108 = unimplemented sigsendset */ + sys_nosys }, /* 108 = unimplemented sigsendsys */ { 0, 0, 0, - sys_nosys }, /* 109 = unimplemented */ + sys_nosys }, /* 109 = unimplemented hrtsys */ { 0, 0, 0, - sys_nosys }, /* 110 = unimplemented */ + sys_nosys }, /* 110 = unimplemented acancel */ { 0, 0, 0, - sys_nosys }, /* 111 = unimplemented */ + sys_nosys }, /* 111 = unimplemented async */ { 0, 0, 0, - sys_nosys }, /* 112 = unimplemented priocntl */ + sys_nosys }, /* 112 = unimplemented priocntlsys */ { 0, 0, 0, - sys_nosys }, /* 113 = unimplemented */ + sys_nosys }, /* 113 = unimplemented pathconf */ { 0, 0, 0, - sys_nosys }, /* 114 = unimplemented */ + sys_nosys }, /* 114 = unimplemented mincore */ { ns(struct ibcs2_sys_mmap_args), 0, (sy_call_t *)ibcs2_sys_mmap }, /* 115 = mmap */ - { ns(struct sys_mprotect_args), 0, + { ns(struct sys_mprotect_args), SYCALL_ARG_PTR, (sy_call_t *)sys_mprotect }, /* 116 = mprotect */ - { ns(struct sys_munmap_args), 0, + { ns(struct sys_munmap_args), SYCALL_ARG_PTR, (sy_call_t *)sys_munmap }, /* 117 = munmap */ { 0, 0, 0, - sys_nosys }, /* 118 = unimplemented */ + sys_nosys }, /* 118 = unimplemented fpathconf */ { 0, 0, 0, sys_nosys }, /* 119 = unimplemented vfork */ { ns(struct sys_fchdir_args), 0, (sy_call_t *)sys_fchdir }, /* 120 = fchdir */ - { ns(struct sys_readv_args), 0, + { ns(struct sys_readv_args), SYCALL_ARG_PTR, (sy_call_t *)sys_readv }, /* 121 = readv */ - { ns(struct sys_writev_args), 0, + { ns(struct sys_writev_args), SYCALL_ARG_PTR, (sy_call_t *)sys_writev }, /* 122 = writev */ { 0, 0, 0, sys_nosys }, /* 123 = unimplemented xstat */ @@ -298,9 +298,9 @@ struct sysent ibcs2_sysent[] = { { 0, 0, 0, sys_nosys }, /* 125 = unimplemented fxstat */ { 0, 0, 0, - sys_nosys }, /* 126 = unimplemented */ + sys_nosys }, /* 126 = unimplemented xmknod */ { 0, 0, 0, - sys_nosys }, /* 127 = unimplemented */ + sys_nosys }, /* 127 = unimplemented clocal */ { 0, 0, 0, sys_nosys }, /* 128 = unimplemented setrlimit */ { 0, 0, 0, @@ -314,17 +314,17 @@ struct sysent ibcs2_sysent[] = { { 0, 0, 0, sys_nosys }, /* 133 = unimplemented putpmsg */ { 0, 0, 0, - sys_nosys }, /* 134 = unimplemented */ + sys_nosys }, /* 134 = unimplemented rename */ { 0, 0, 0, - sys_nosys }, /* 135 = unimplemented */ + sys_nosys }, /* 135 = unimplemented uname */ { 0, 0, 0, sys_nosys }, /* 136 = unimplemented setegid */ { 0, 0, 0, - sys_nosys }, /* 137 = unimplemented */ + sys_nosys }, /* 137 = unimplemented sysconfig */ { 0, 0, 0, sys_nosys }, /* 138 = unimplemented adjtime */ { 0, 0, 0, - sys_nosys }, /* 139 = unimplemented */ + sys_nosys }, /* 139 = unimplemented systeminfo */ { 0, 0, 0, sys_nosys }, /* 140 = unimplemented */ { 0, 0, 0, @@ -387,9 +387,9 @@ struct sysent ibcs2_sysent[] = { sys_nosys }, /* 169 = unimplemented */ { 0, 0, 0, sys_nosys }, /* 170 = unimplemented */ - { ns(struct ibcs2_sys_gettimeofday_args), 0, + { ns(struct ibcs2_sys_gettimeofday_args), SYCALL_ARG_PTR, (sy_call_t *)ibcs2_sys_gettimeofday },/* 171 = gettimeofday */ - { ns(struct ibcs2_sys_settimeofday_args), 0, + { ns(struct ibcs2_sys_settimeofday_args), SYCALL_ARG_PTR, (sy_call_t *)ibcs2_sys_settimeofday },/* 172 = settimeofday */ { 0, 0, 0, sys_nosys }, /* 173 = unimplemented */ @@ -427,7 +427,7 @@ struct sysent ibcs2_sysent[] = { sys_nosys }, /* 189 = unimplemented */ { 0, 0, 0, sys_nosys }, /* 190 = unimplemented */ - { ns(struct compat_43_sys_truncate_args), 0, + { ns(struct compat_43_sys_truncate_args), SYCALL_ARG_PTR, (sy_call_t *)compat_43_sys_truncate },/* 191 = truncate */ { ns(struct compat_43_sys_ftruncate_args), 0, (sy_call_t *)compat_43_sys_ftruncate },/* 192 = ftruncate */ @@ -467,7 +467,7 @@ struct sysent ibcs2_sysent[] = { sys_nosys }, /* 209 = unimplemented */ { ns(struct xenix_sys_chsize_args), 0, (sy_call_t *)xenix_sys_chsize }, /* 210 = chsize */ - { ns(struct xenix_sys_ftime_args), 0, + { ns(struct xenix_sys_ftime_args), SYCALL_ARG_PTR, (sy_call_t *)xenix_sys_ftime }, /* 211 = ftime */ { ns(struct xenix_sys_nap_args), 0, (sy_call_t *)xenix_sys_nap }, /* 212 = nap */ @@ -517,35 +517,35 @@ struct sysent ibcs2_sysent[] = { sys_nosys }, /* 234 = unimplemented xenix_unexecseg */ { 0, 0, 0, sys_nosys }, /* 235 = unimplemented */ - { ns(struct compat_50_sys_select_args), 0, + { ns(struct compat_50_sys_select_args), SYCALL_ARG_PTR, (sy_call_t *)compat_50_sys_select },/* 236 = select */ - { ns(struct ibcs2_sys_eaccess_args), 0, + { ns(struct ibcs2_sys_eaccess_args), SYCALL_ARG_PTR, (sy_call_t *)ibcs2_sys_eaccess }, /* 237 = eaccess */ { 0, 0, 0, sys_nosys }, /* 238 = unimplemented xenix_paccess */ - { ns(struct ibcs2_sys_sigaction_args), 0, + { ns(struct ibcs2_sys_sigaction_args), SYCALL_ARG_PTR, (sy_call_t *)ibcs2_sys_sigaction }, /* 239 = sigaction */ - { ns(struct ibcs2_sys_sigprocmask_args), 0, + { ns(struct ibcs2_sys_sigprocmask_args), SYCALL_ARG_PTR, (sy_call_t *)ibcs2_sys_sigprocmask },/* 240 = sigprocmask */ - { ns(struct ibcs2_sys_sigpending_args), 0, + { ns(struct ibcs2_sys_sigpending_args), SYCALL_ARG_PTR, (sy_call_t *)ibcs2_sys_sigpending },/* 241 = sigpending */ - { ns(struct ibcs2_sys_sigsuspend_args), 0, + { ns(struct ibcs2_sys_sigsuspend_args), SYCALL_ARG_PTR, (sy_call_t *)ibcs2_sys_sigsuspend },/* 242 = sigsuspend */ - { ns(struct ibcs2_sys_getgroups_args), 0, + { ns(struct ibcs2_sys_getgroups_args), SYCALL_ARG_PTR, (sy_call_t *)ibcs2_sys_getgroups }, /* 243 = getgroups */ - { ns(struct ibcs2_sys_setgroups_args), 0, + { ns(struct ibcs2_sys_setgroups_args), SYCALL_ARG_PTR, (sy_call_t *)ibcs2_sys_setgroups }, /* 244 = setgroups */ { ns(struct ibcs2_sys_sysconf_args), 0, (sy_call_t *)ibcs2_sys_sysconf }, /* 245 = sysconf */ - { ns(struct ibcs2_sys_pathconf_args), 0, + { ns(struct ibcs2_sys_pathconf_args), SYCALL_ARG_PTR, (sy_call_t *)ibcs2_sys_pathconf }, /* 246 = pathconf */ { ns(struct ibcs2_sys_fpathconf_args), 0, (sy_call_t *)ibcs2_sys_fpathconf }, /* 247 = fpathconf */ - { ns(struct sys___posix_rename_args), 0, + { ns(struct sys___posix_rename_args), SYCALL_ARG_PTR, (sy_call_t *)sys___posix_rename }, /* 248 = __posix_rename */ { 0, 0, 0, sys_nosys }, /* 249 = unimplemented */ - { ns(struct ibcs2_sys_scoinfo_args), 0, + { ns(struct ibcs2_sys_scoinfo_args), SYCALL_ARG_PTR, (sy_call_t *)ibcs2_sys_scoinfo }, /* 250 = scoinfo */ { 0, 0, 0, sys_nosys }, /* 251 = unimplemented */