Regen: use COMPAT_50 quotactl, not the native one

This commit is contained in:
bouyer 2011-03-07 19:27:27 +00:00
parent f5e8243c9d
commit 6e3787a787
4 changed files with 219 additions and 15 deletions

View File

@ -1,10 +1,10 @@
/* $NetBSD: aoutm68k_syscall.h,v 1.41 2010/03/02 21:14:43 pooka Exp $ */
/* $NetBSD: aoutm68k_syscall.h,v 1.42 2011/03/07 19:27:27 bouyer Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.36 2010/03/02 21:07:21 pooka Exp
* created from NetBSD: syscalls.master,v 1.37 2011/03/07 19:26:35 bouyer Exp
*/
#ifndef _AOUTM68K_SYS_SYSCALL_H_

View File

@ -1,10 +1,10 @@
/* $NetBSD: aoutm68k_syscallargs.h,v 1.39 2010/03/02 21:14:43 pooka Exp $ */
/* $NetBSD: aoutm68k_syscallargs.h,v 1.40 2011/03/07 19:27:27 bouyer Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.36 2010/03/02 21:07:21 pooka Exp
* created from NetBSD: syscalls.master,v 1.37 2011/03/07 19:26:35 bouyer Exp
*/
#ifndef _AOUTM68K_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) \
<= AOUTM68K_SYS_MAXSYSARGS * sizeof (register_t) ? 1 : -1];
@ -358,7 +358,7 @@ struct compat_43_sys_killpg_args;
#else
#endif
struct sys_quotactl_args;
struct compat_50_sys_quotactl_args;
#if defined(COMPAT_43) || !defined(_KERNEL)
struct compat_43_sys_getsockname_args;
@ -1000,7 +1000,7 @@ int compat_43_sys_killpg(struct lwp *, const struct compat_43_sys_killpg_args *,
#endif
int sys_setsid(struct lwp *, const void *, register_t *);
int sys_quotactl(struct lwp *, const struct sys_quotactl_args *, register_t *);
int compat_50_sys_quotactl(struct lwp *, const struct compat_50_sys_quotactl_args *, register_t *);
#if defined(COMPAT_43) || !defined(_KERNEL)
int compat_43_sys_quota(struct lwp *, const void *, register_t *);

View File

@ -1,14 +1,14 @@
/* $NetBSD: aoutm68k_syscalls.c,v 1.38 2010/03/02 21:14:43 pooka Exp $ */
/* $NetBSD: aoutm68k_syscalls.c,v 1.39 2011/03/07 19:27:27 bouyer Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.36 2010/03/02 21:07:21 pooka Exp
* created from NetBSD: syscalls.master,v 1.37 2011/03/07 19:26:35 bouyer Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: aoutm68k_syscalls.c,v 1.38 2010/03/02 21:14:43 pooka Exp $");
__KERNEL_RCSID(0, "$NetBSD: aoutm68k_syscalls.c,v 1.39 2011/03/07 19:27:27 bouyer Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@ -567,4 +567,208 @@ const char *const aoutm68k_syscallnames[] = {
/* 305 */ "issetugid",
/* 306 */ "getcontext",
/* 307 */ "setcontext",
/* 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",
};

View File

@ -1,14 +1,14 @@
/* $NetBSD: aoutm68k_sysent.c,v 1.43 2010/03/02 21:14:43 pooka Exp $ */
/* $NetBSD: aoutm68k_sysent.c,v 1.44 2011/03/07 19:27:27 bouyer Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.36 2010/03/02 21:07:21 pooka Exp
* created from NetBSD: syscalls.master,v 1.37 2011/03/07 19:26:35 bouyer Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: aoutm68k_sysent.c,v 1.43 2010/03/02 21:14:43 pooka Exp $");
__KERNEL_RCSID(0, "$NetBSD: aoutm68k_sysent.c,v 1.44 2011/03/07 19:27:27 bouyer Exp $");
#if defined(_KERNEL_OPT)
#include "opt_ktrace.h"
@ -484,8 +484,8 @@ struct sysent aoutm68k_sysent[] = {
#endif
{ 0, 0, 0,
(sy_call_t *)sys_setsid }, /* 147 = setsid */
{ ns(struct sys_quotactl_args), 0,
(sy_call_t *)sys_quotactl }, /* 148 = quotactl */
{ ns(struct compat_50_sys_quotactl_args), 0,
(sy_call_t *)compat_50_sys_quotactl },/* 148 = quotactl */
#if defined(COMPAT_43) || !defined(_KERNEL)
{ 0, 0, 0,
(sy_call_t *)compat_43_sys_quota }, /* 149 = oquota */