diff options
author | sobomax <sobomax@FreeBSD.org> | 2005-03-07 00:23:58 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2005-03-07 00:23:58 +0000 |
commit | 44e9d0b353ecbc9bb3239930c830108b019d276a (patch) | |
tree | a4332caca553ae91b607fa4844059db8ae0420b3 /sys/i386/linux | |
parent | f706f4bce8c8194eb57aa53603187eb626cd5131 (diff) | |
download | FreeBSD-src-44e9d0b353ecbc9bb3239930c830108b019d276a.zip FreeBSD-src-44e9d0b353ecbc9bb3239930c830108b019d276a.tar.gz |
Regen after addition of linux_nosys handler.
Diffstat (limited to 'sys/i386/linux')
-rw-r--r-- | sys/i386/linux/linux_proto.h | 6 | ||||
-rw-r--r-- | sys/i386/linux/linux_syscall.h | 2 | ||||
-rw-r--r-- | sys/i386/linux/linux_sysent.c | 4 |
3 files changed, 9 insertions, 3 deletions
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 <sys/param.h> #include <sys/sysent.h> #include <sys/sysproto.h> +#include <compat/linux/linux_sysproto.h> #include <i386/linux/linux.h> #include <i386/linux/linux_proto.h> @@ -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 */ |