This commit is contained in:
christos 2003-09-10 16:44:12 +00:00
parent 883b4b0369
commit cbd4e9f601
4 changed files with 40 additions and 12 deletions

View File

@ -1,14 +1,14 @@
/* $NetBSD: init_sysent.c,v 1.144 2003/03/18 18:09:48 christos Exp $ */
/* $NetBSD: init_sysent.c,v 1.145 2003/09/10 16:44:12 christos Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.128 2003/03/18 18:08:49 christos Exp
* created from NetBSD: syscalls.master,v 1.129 2003/09/10 16:43:35 christos Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.144 2003/03/18 18:09:48 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.145 2003/09/10 16:44:12 christos Exp $");
#include "opt_ktrace.h"
#include "opt_nfsserver.h"
@ -68,6 +68,18 @@ __KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.144 2003/03/18 18:09:48 christos E
#define compat_14(func) sys_nosys
#endif
#ifdef COMPAT_15
#define compat_15(func) __CONCAT(compat_15_,func)
#else
#define compat_15(func) sys_nosys
#endif
#ifdef COMPAT_16
#define compat_16(func) __CONCAT(compat_16_,func)
#else
#define compat_16(func) sys_nosys
#endif
#define s(type) sizeof(type)
struct sysent sysent[] = {
@ -801,8 +813,13 @@ struct sysent sysent[] = {
sys___sigprocmask14 }, /* 293 = __sigprocmask14 */
{ 1, s(struct sys___sigsuspend14_args), 0,
sys___sigsuspend14 }, /* 294 = __sigsuspend14 */
#if defined(__HAVE_SIGINFO)
{ 1, s(struct compat_16_sys___sigreturn14_args), 0,
compat_16(sys___sigreturn14) }, /* 295 = compat_16 __sigreturn14 */
#else
{ 1, s(struct sys___sigreturn14_args), 0,
sys___sigreturn14 }, /* 295 = __sigreturn14 */
#endif
{ 2, s(struct sys___getcwd_args), 0,
sys___getcwd }, /* 296 = __getcwd */
{ 1, s(struct sys_fchroot_args), 0,

View File

@ -1,14 +1,14 @@
/* $NetBSD: syscalls.c,v 1.139 2003/03/18 18:09:49 christos Exp $ */
/* $NetBSD: syscalls.c,v 1.140 2003/09/10 16:44:13 christos Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.128 2003/03/18 18:08:49 christos Exp
* created from NetBSD: syscalls.master,v 1.129 2003/09/10 16:43:35 christos Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.139 2003/03/18 18:09:49 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.140 2003/09/10 16:44:13 christos Exp $");
#if defined(_KERNEL_OPT)
#include "opt_ktrace.h"
@ -418,7 +418,11 @@ const char *const syscallnames[] = {
"__sigpending14", /* 292 = __sigpending14 */
"__sigprocmask14", /* 293 = __sigprocmask14 */
"__sigsuspend14", /* 294 = __sigsuspend14 */
#if defined(__HAVE_SIGINFO)
"compat_16___sigreturn14", /* 295 = compat_16 __sigreturn14 */
#else
"__sigreturn14", /* 295 = __sigreturn14 */
#endif
"__getcwd", /* 296 = __getcwd */
"fchroot", /* 297 = fchroot */
"fhopen", /* 298 = fhopen */

View File

@ -1,10 +1,10 @@
/* $NetBSD: syscall.h,v 1.137 2003/03/18 18:09:49 christos Exp $ */
/* $NetBSD: syscall.h,v 1.138 2003/09/10 16:44:13 christos Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.128 2003/03/18 18:08:49 christos Exp
* created from NetBSD: syscalls.master,v 1.129 2003/09/10 16:43:35 christos Exp
*/
/* syscall: "syscall" ret: "int" args: "int" "..." */
@ -732,8 +732,7 @@
/* syscall: "__sigsuspend14" ret: "int" args: "const sigset_t *" */
#define SYS___sigsuspend14 294
/* syscall: "__sigreturn14" ret: "int" args: "struct sigcontext *" */
#define SYS___sigreturn14 295
#define SYS_compat_16___sigreturn14 295
/* syscall: "__getcwd" ret: "int" args: "char *" "size_t" */
#define SYS___getcwd 296

View File

@ -1,10 +1,10 @@
/* $NetBSD: syscallargs.h,v 1.119 2003/03/18 18:09:49 christos Exp $ */
/* $NetBSD: syscallargs.h,v 1.120 2003/09/10 16:44:13 christos Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.128 2003/03/18 18:08:49 christos Exp
* created from NetBSD: syscalls.master,v 1.129 2003/09/10 16:43:35 christos Exp
*/
#ifndef _SYS__SYSCALLARGS_H_
@ -1236,6 +1236,10 @@ struct sys___sigsuspend14_args {
syscallarg(const sigset_t *) set;
};
struct compat_16_sys___sigreturn14_args {
syscallarg(struct sigcontext *) sigcntxp;
};
struct sys___sigreturn14_args {
syscallarg(struct sigcontext *) sigcntxp;
};
@ -1689,7 +1693,11 @@ int sys___sigaction14(struct lwp *, void *, register_t *);
int sys___sigpending14(struct lwp *, void *, register_t *);
int sys___sigprocmask14(struct lwp *, void *, register_t *);
int sys___sigsuspend14(struct lwp *, void *, register_t *);
#if defined(__HAVE_SIGINFO)
int compat_16_sys___sigreturn14(struct lwp *, void *, register_t *);
#else
int sys___sigreturn14(struct lwp *, void *, register_t *);
#endif
int sys___getcwd(struct lwp *, void *, register_t *);
int sys_fchroot(struct lwp *, void *, register_t *);
int sys_fhopen(struct lwp *, void *, register_t *);