From 44e9d0b353ecbc9bb3239930c830108b019d276a Mon Sep 17 00:00:00 2001 From: sobomax Date: Mon, 7 Mar 2005 00:23:58 +0000 Subject: Regen after addition of linux_nosys handler. --- sys/alpha/linux/linux_proto.h | 6 +++++- sys/alpha/linux/linux_syscall.h | 2 +- sys/alpha/linux/linux_sysent.c | 4 +++- sys/amd64/linux32/linux32_proto.h | 6 +++++- sys/amd64/linux32/linux32_syscall.h | 2 +- sys/amd64/linux32/linux32_sysent.c | 4 +++- sys/i386/linux/linux_proto.h | 6 +++++- sys/i386/linux/linux_syscall.h | 2 +- sys/i386/linux/linux_sysent.c | 4 +++- 9 files changed, 27 insertions(+), 9 deletions(-) diff --git a/sys/alpha/linux/linux_proto.h b/sys/alpha/linux/linux_proto.h index 8f79dda..a932f81 100644 --- a/sys/alpha/linux/linux_proto.h +++ b/sys/alpha/linux/linux_proto.h @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/alpha/linux/syscalls.master,v 1.59 2004/08/24 20:21:21 jhb Exp + * created from FreeBSD: src/sys/alpha/linux/syscalls.master,v 1.60 2005/03/07 00:18:06 sobomax Exp */ #ifndef _LINUX_SYSPROTO_H_ @@ -32,6 +32,7 @@ struct thread; #define PADR_(t) 0 #endif +#define nosys linux_nosys struct linux_fork_args { register_t dummy; }; @@ -581,6 +582,7 @@ struct linux_getdents64_args { char dirent_l_[PADL_(void *)]; void * dirent; char dirent_r_[PADR_(void *)]; char count_l_[PADL_(l_uint)]; l_uint count; char count_r_[PADR_(l_uint)]; }; +#define nosys linux_nosys int linux_fork(struct thread *, struct linux_fork_args *); int osf1_wait4(struct thread *, struct osf1_wait4_args *); int linux_link(struct thread *, struct linux_link_args *); @@ -716,12 +718,14 @@ int linux_getdents64(struct thread *, struct linux_getdents64_args *); #ifdef COMPAT_43 +#define nosys linux_nosys #endif /* COMPAT_43 */ #ifdef COMPAT_FREEBSD4 +#define nosys linux_nosys #endif /* COMPAT_FREEBSD4 */ diff --git a/sys/alpha/linux/linux_syscall.h b/sys/alpha/linux/linux_syscall.h index 27f69db..c75c037 100644 --- a/sys/alpha/linux/linux_syscall.h +++ b/sys/alpha/linux/linux_syscall.h @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/alpha/linux/syscalls.master,v 1.59 2004/08/24 20:21:21 jhb Exp + * created from FreeBSD: src/sys/alpha/linux/syscalls.master,v 1.60 2005/03/07 00:18:06 sobomax Exp */ #define LINUX_SYS_exit 1 diff --git a/sys/alpha/linux/linux_sysent.c b/sys/alpha/linux/linux_sysent.c index 54e4507..1b4351e 100644 --- a/sys/alpha/linux/linux_sysent.c +++ b/sys/alpha/linux/linux_sysent.c @@ -3,13 +3,14 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/alpha/linux/syscalls.master,v 1.59 2004/08/24 20:21:21 jhb Exp + * created from FreeBSD: src/sys/alpha/linux/syscalls.master,v 1.60 2005/03/07 00:18:06 sobomax Exp */ #include "opt_compat.h" #include #include #include +#include #include #include @@ -17,6 +18,7 @@ /* The casts are bogus but will do for now. */ struct sysent linux_sysent[] = { +#define nosys linux_nosys { 0, (sy_call_t *)nosys }, /* 0 = */ { SYF_MPSAFE | AS(sys_exit_args), (sy_call_t *)sys_exit }, /* 1 = exit */ { SYF_MPSAFE | 0, (sy_call_t *)linux_fork }, /* 2 = linux_fork */ diff --git a/sys/amd64/linux32/linux32_proto.h b/sys/amd64/linux32/linux32_proto.h index 029b131..63827ab 100644 --- a/sys/amd64/linux32/linux32_proto.h +++ b/sys/amd64/linux32/linux32_proto.h @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/amd64/linux32/syscalls.master,v 1.1 2004/08/16 07:55:06 tjr Exp + * created from FreeBSD: src/sys/amd64/linux32/syscalls.master,v 1.2 2005/03/07 00:18:06 sobomax Exp */ #ifndef _LINUX_SYSPROTO_H_ @@ -32,6 +32,7 @@ struct thread; #define PADR_(t) 0 #endif +#define nosys linux_nosys struct linux_fork_args { register_t dummy; }; @@ -685,6 +686,7 @@ struct linux_fremovexattr_args { struct linux_fadvise64_args { register_t dummy; }; +#define nosys linux_nosys int linux_fork(struct thread *, struct linux_fork_args *); int linux_open(struct thread *, struct linux_open_args *); int linux_waitpid(struct thread *, struct linux_waitpid_args *); @@ -853,12 +855,14 @@ int linux_fadvise64(struct thread *, struct linux_fadvise64_args *); #ifdef COMPAT_43 +#define nosys linux_nosys #endif /* COMPAT_43 */ #ifdef COMPAT_FREEBSD4 +#define nosys linux_nosys #endif /* COMPAT_FREEBSD4 */ diff --git a/sys/amd64/linux32/linux32_syscall.h b/sys/amd64/linux32/linux32_syscall.h index ecbbbf3..b2c3e72 100644 --- a/sys/amd64/linux32/linux32_syscall.h +++ b/sys/amd64/linux32/linux32_syscall.h @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/amd64/linux32/syscalls.master,v 1.1 2004/08/16 07:55:06 tjr Exp + * created from FreeBSD: src/sys/amd64/linux32/syscalls.master,v 1.2 2005/03/07 00:18:06 sobomax Exp */ #define LINUX_SYS_exit 1 diff --git a/sys/amd64/linux32/linux32_sysent.c b/sys/amd64/linux32/linux32_sysent.c index 561b62a..940a221 100644 --- a/sys/amd64/linux32/linux32_sysent.c +++ b/sys/amd64/linux32/linux32_sysent.c @@ -3,13 +3,14 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/amd64/linux32/syscalls.master,v 1.1 2004/08/16 07:55:06 tjr Exp + * created from FreeBSD: src/sys/amd64/linux32/syscalls.master,v 1.2 2005/03/07 00:18:06 sobomax Exp */ #include "opt_compat.h" #include #include #include +#include #include #include @@ -17,6 +18,7 @@ /* The casts are bogus but will do for now. */ struct sysent linux_sysent[] = { +#define nosys linux_nosys { 0, (sy_call_t *)nosys }, /* 0 = setup */ { SYF_MPSAFE | AS(sys_exit_args), (sy_call_t *)sys_exit }, /* 1 = exit */ { SYF_MPSAFE | 0, (sy_call_t *)linux_fork }, /* 2 = linux_fork */ diff --git a/sys/i386/linux/linux_proto.h b/sys/i386/linux/linux_proto.h index eec888c..9663b25 100644 --- a/sys/i386/linux/linux_proto.h +++ b/sys/i386/linux/linux_proto.h @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.58 2004/09/06 09:32:59 dfr Exp + * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.59 2005/03/07 00:18:06 sobomax Exp */ #ifndef _LINUX_SYSPROTO_H_ @@ -32,6 +32,7 @@ struct thread; #define PADR_(t) 0 #endif +#define nosys linux_nosys struct linux_fork_args { register_t dummy; }; @@ -690,6 +691,7 @@ struct linux_set_thread_area_args { struct linux_fadvise64_args { register_t dummy; }; +#define nosys linux_nosys int linux_fork(struct thread *, struct linux_fork_args *); int linux_open(struct thread *, struct linux_open_args *); int linux_waitpid(struct thread *, struct linux_waitpid_args *); @@ -861,12 +863,14 @@ int linux_fadvise64(struct thread *, struct linux_fadvise64_args *); #ifdef COMPAT_43 +#define nosys linux_nosys #endif /* COMPAT_43 */ #ifdef COMPAT_FREEBSD4 +#define nosys linux_nosys #endif /* COMPAT_FREEBSD4 */ diff --git a/sys/i386/linux/linux_syscall.h b/sys/i386/linux/linux_syscall.h index 585be09..40cd23c 100644 --- a/sys/i386/linux/linux_syscall.h +++ b/sys/i386/linux/linux_syscall.h @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.58 2004/09/06 09:32:59 dfr Exp + * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.59 2005/03/07 00:18:06 sobomax Exp */ #define LINUX_SYS_exit 1 diff --git a/sys/i386/linux/linux_sysent.c b/sys/i386/linux/linux_sysent.c index 0606e0f..92343cf 100644 --- a/sys/i386/linux/linux_sysent.c +++ b/sys/i386/linux/linux_sysent.c @@ -3,13 +3,14 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.58 2004/09/06 09:32:59 dfr Exp + * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.59 2005/03/07 00:18:06 sobomax Exp */ #include "opt_compat.h" #include #include #include +#include #include #include @@ -17,6 +18,7 @@ /* The casts are bogus but will do for now. */ struct sysent linux_sysent[] = { +#define nosys linux_nosys { 0, (sy_call_t *)nosys }, /* 0 = setup */ { SYF_MPSAFE | AS(sys_exit_args), (sy_call_t *)sys_exit }, /* 1 = exit */ { SYF_MPSAFE | 0, (sy_call_t *)linux_fork }, /* 2 = linux_fork */ -- cgit v1.1