This commit is contained in:
ad 2008-01-16 12:35:37 +00:00
parent bbc79e58a6
commit 3cc206f1df
4 changed files with 24 additions and 13 deletions

View File

@ -1,14 +1,14 @@
/* $NetBSD: init_sysent.c,v 1.206 2008/01/15 03:44:57 rmind Exp $ */
/* $NetBSD: init_sysent.c,v 1.207 2008/01/16 12:35:38 ad Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.184 2008/01/15 03:37:11 rmind Exp
* created from NetBSD: syscalls.master,v 1.185 2008/01/16 12:34:51 ad Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.206 2008/01/15 03:44:57 rmind Exp $");
__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.207 2008/01/16 12:35:38 ad Exp $");
#include "opt_nfsserver.h"
#include "opt_ntp.h"
@ -700,8 +700,8 @@ struct sysent sysent[] = {
(sy_call_t *)sys___sigtimedwait }, /* 244 = __sigtimedwait */
{ 0, 0, 0,
sys_nosys }, /* 245 = unimplemented sys_sigqueue */
{ 0, 0, 0,
sys_nosys }, /* 246 = unimplemented */
{ ns(struct sys_modctl_args), SYCALL_MPSAFE | 0,
(sy_call_t *)sys_modctl }, /* 246 = modctl */
#if defined(P1003_1B_SEMAPHORE) || (!defined(_KERNEL) && defined(_LIBC))
{ ns(struct sys__ksem_init_args), SYCALL_MPSAFE | 0,
(sy_call_t *)sys__ksem_init }, /* 247 = _ksem_init */

View File

@ -1,14 +1,14 @@
/* $NetBSD: syscalls.c,v 1.200 2008/01/15 03:44:57 rmind Exp $ */
/* $NetBSD: syscalls.c,v 1.201 2008/01/16 12:35:38 ad Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.184 2008/01/15 03:37:11 rmind Exp
* created from NetBSD: syscalls.master,v 1.185 2008/01/16 12:34:51 ad Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.200 2008/01/15 03:44:57 rmind Exp $");
__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.201 2008/01/16 12:35:38 ad Exp $");
#if defined(_KERNEL_OPT)
#include "opt_nfsserver.h"
@ -346,7 +346,7 @@ const char *const syscallnames[] = {
/* 243 */ "munlockall",
/* 244 */ "__sigtimedwait",
/* 245 */ "#245 (unimplemented sys_sigqueue)",
/* 246 */ "#246 (unimplemented)",
/* 246 */ "modctl",
#if defined(P1003_1B_SEMAPHORE) || (!defined(_KERNEL) && defined(_LIBC))
/* 247 */ "_ksem_init",
/* 248 */ "_ksem_open",

View File

@ -1,10 +1,10 @@
/* $NetBSD: syscall.h,v 1.197 2008/01/15 03:44:57 rmind Exp $ */
/* $NetBSD: syscall.h,v 1.198 2008/01/16 12:35:37 ad Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.184 2008/01/15 03:37:11 rmind Exp
* created from NetBSD: syscalls.master,v 1.185 2008/01/16 12:34:51 ad Exp
*/
#ifndef _SYS_SYSCALL_H_
@ -727,6 +727,9 @@
/* syscall: "__sigtimedwait" ret: "int" args: "const sigset_t *" "siginfo_t *" "struct timespec *" */
#define SYS___sigtimedwait 244
/* syscall: "modctl" ret: "int" args: "int" "void *" */
#define SYS_modctl 246
#if defined(P1003_1B_SEMAPHORE) || (!defined(_KERNEL) && defined(_LIBC))
/* syscall: "_ksem_init" ret: "int" args: "unsigned int" "semid_t *" */
#define SYS__ksem_init 247

View File

@ -1,10 +1,10 @@
/* $NetBSD: syscallargs.h,v 1.179 2008/01/15 03:44:57 rmind Exp $ */
/* $NetBSD: syscallargs.h,v 1.180 2008/01/16 12:35:37 ad Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.184 2008/01/15 03:37:11 rmind Exp
* created from NetBSD: syscalls.master,v 1.185 2008/01/16 12:34:51 ad Exp
*/
#ifndef _SYS_SYSCALLARGS_H_
@ -1299,6 +1299,12 @@ struct sys___sigtimedwait_args {
syscallarg(struct timespec *) timeout;
};
check_syscall_args(sys___sigtimedwait)
struct sys_modctl_args {
syscallarg(int) cmd;
syscallarg(void *) arg;
};
check_syscall_args(sys_modctl)
#if defined(P1003_1B_SEMAPHORE) || (!defined(_KERNEL) && defined(_LIBC))
struct sys__ksem_init_args {
@ -2724,6 +2730,8 @@ int sys_munlockall(struct lwp *, const void *, register_t *);
int sys___sigtimedwait(struct lwp *, const struct sys___sigtimedwait_args *, register_t *);
int sys_modctl(struct lwp *, const struct sys_modctl_args *, register_t *);
#if defined(P1003_1B_SEMAPHORE) || (!defined(_KERNEL) && defined(_LIBC))
int sys__ksem_init(struct lwp *, const struct sys__ksem_init_args *, register_t *);