diff options
| author | ad <ad@NetBSD.org> | 2007-02-09 21:55:00 +0000 |
|---|---|---|
| committer | ad <ad@NetBSD.org> | 2007-02-09 21:55:00 +0000 |
| commit | b07ec3fc388a5aeae51e8871aa89eefea3ce1e53 (patch) | |
| tree | c93d3b23a29f98ac0e26c9d43afb509219d0ea42 /sys/compat/linux32 | |
| parent | 5c1aad3ad0b9d2403784bd52128e8e8399e22254 (diff) | |
Merge newlock2 to head.
Diffstat (limited to 'sys/compat/linux32')
19 files changed, 50 insertions, 60 deletions
diff --git a/sys/compat/linux32/arch/amd64/linux32_machdep.c b/sys/compat/linux32/arch/amd64/linux32_machdep.c index 85e5e2e052a..dd6606b1f59 100644 --- a/sys/compat/linux32/arch/amd64/linux32_machdep.c +++ b/sys/compat/linux32/arch/amd64/linux32_machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux32_machdep.c,v 1.3 2006/11/22 13:56:09 christos Exp $ */ +/* $NetBSD: linux32_machdep.c,v 1.4 2007/02/09 21:55:21 ad Exp $ */ /*- * Copyright (c) 2006 Emmanuel Dreyfus, all rights reserved. @@ -31,7 +31,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux32_machdep.c,v 1.3 2006/11/22 13:56:09 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux32_machdep.c,v 1.4 2007/02/09 21:55:21 ad Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -51,7 +51,6 @@ __KERNEL_RCSID(0, "$NetBSD: linux32_machdep.c,v 1.3 2006/11/22 13:56:09 christos #include <sys/mount.h> #include <sys/vnode.h> #include <sys/device.h> -#include <sys/sa.h> #include <sys/syscallargs.h> #include <sys/filedesc.h> #include <sys/exec_elf.h> @@ -116,7 +115,7 @@ linux32_old_sendsig(const ksiginfo_t *ksi, const sigset_t *mask) struct proc *p = l->l_proc; struct trapframe *tf; struct linux32_sigframe *fp, frame; - int onstack; + int onstack, error; int sig = ksi->ksi_signo; sig_t catcher = SIGACTION(p, sig).sa_handler; struct sigaltstack *sas = &p->p_sigctx.ps_sigstk; @@ -141,7 +140,12 @@ linux32_old_sendsig(const ksiginfo_t *ksi, const sigset_t *mask) linux32_save_sigcontext(l, tf, mask, &frame.sf_sc); - if (copyout(&frame, fp, sizeof(frame)) != 0) { + sendsig_reset(l, sig); + mutex_exit(&p->p_smutex); + error = copyout(&frame, fp, sizeof(frame)); + mutex_enter(&p->p_smutex); + + if (error != 0) { /* * Process has trashed its stack; give it an illegal * instruction to halt it in its tracks. @@ -177,9 +181,9 @@ linux32_rt_sendsig(const ksiginfo_t *ksi, const sigset_t *mask) struct proc *p = l->l_proc; struct trapframe *tf; struct linux32_rt_sigframe *fp, frame; - int onstack; + int onstack, error; linux32_siginfo_t *lsi; - int sig = ksi->ksi_signo; + int sig = ksi->ksi_signo, error; sig_t catcher = SIGACTION(p, sig).sa_handler; struct sigaltstack *sas = &p->p_sigctx.ps_sigstk; @@ -242,9 +246,13 @@ linux32_rt_sendsig(const ksiginfo_t *ksi, const sigset_t *mask) } /* Save register context. */ + sendsig_reset(l, sig); + mutex_exit(&p->p_smutex); linux32_save_ucontext(l, tf, mask, sas, &frame.sf_uc); + error = copyout(&frame, fp, sizeof(frame)); + mutex_enter(&p->p-smutex); - if (copyout(&frame, fp, sizeof(frame)) != 0) { + if (error != 0) { /* * Process has trashed its stack; give it an illegal * instruction to halt it in its tracks. diff --git a/sys/compat/linux32/arch/amd64/linux32_missing.c b/sys/compat/linux32/arch/amd64/linux32_missing.c index bfa9667a74f..26f1029a1aa 100644 --- a/sys/compat/linux32/arch/amd64/linux32_missing.c +++ b/sys/compat/linux32/arch/amd64/linux32_missing.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux32_missing.c,v 1.1 2006/02/09 19:18:57 manu Exp $ */ +/* $NetBSD: linux32_missing.c,v 1.2 2007/02/09 21:55:21 ad Exp $ */ #include "opt_compat_linux32.h" @@ -6,7 +6,6 @@ #include <sys/time.h> #include <sys/param.h> #include <sys/lwp.h> -#include <sys/sa.h> #include <sys/ucred.h> #include <sys/mount.h> #include <sys/systm.h> diff --git a/sys/compat/linux32/arch/amd64/linux32_syscalls.c b/sys/compat/linux32/arch/amd64/linux32_syscalls.c index 0bbc7d0673a..e136434fb0e 100644 --- a/sys/compat/linux32/arch/amd64/linux32_syscalls.c +++ b/sys/compat/linux32/arch/amd64/linux32_syscalls.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux32_syscalls.c,v 1.12 2007/02/08 12:32:17 njoly Exp $ */ +/* $NetBSD: linux32_syscalls.c,v 1.13 2007/02/09 21:55:21 ad Exp $ */ /* * System call names. @@ -8,7 +8,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux32_syscalls.c,v 1.12 2007/02/08 12:32:17 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux32_syscalls.c,v 1.13 2007/02/09 21:55:21 ad Exp $"); #if defined(_KERNEL_OPT) #if defined(_KERNEL_OPT) @@ -19,7 +19,6 @@ __KERNEL_RCSID(0, "$NetBSD: linux32_syscalls.c,v 1.12 2007/02/08 12:32:17 njoly #include <sys/systm.h> #include <sys/signal.h> #include <sys/mount.h> -#include <sys/sa.h> #include <sys/syscallargs.h> #include <machine/netbsd32_machdep.h> #include <compat/netbsd32/netbsd32.h> diff --git a/sys/compat/linux32/arch/amd64/linux32_sysent.c b/sys/compat/linux32/arch/amd64/linux32_sysent.c index 817774c774e..1e7e72e9372 100644 --- a/sys/compat/linux32/arch/amd64/linux32_sysent.c +++ b/sys/compat/linux32/arch/amd64/linux32_sysent.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux32_sysent.c,v 1.12 2007/02/08 12:32:17 njoly Exp $ */ +/* $NetBSD: linux32_sysent.c,v 1.13 2007/02/09 21:55:21 ad Exp $ */ /* * System call switch table. @@ -8,7 +8,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux32_sysent.c,v 1.12 2007/02/08 12:32:17 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux32_sysent.c,v 1.13 2007/02/09 21:55:21 ad Exp $"); #if defined(_KERNEL_OPT) #include "opt_compat_43.h" @@ -18,7 +18,6 @@ __KERNEL_RCSID(0, "$NetBSD: linux32_sysent.c,v 1.12 2007/02/08 12:32:17 njoly Ex #include <sys/systm.h> #include <sys/signal.h> #include <sys/mount.h> -#include <sys/sa.h> #include <sys/syscallargs.h> #include <machine/netbsd32_machdep.h> #include <compat/netbsd32/netbsd32.h> diff --git a/sys/compat/linux32/arch/amd64/syscalls.master b/sys/compat/linux32/arch/amd64/syscalls.master index 8f21932c16a..4d2d8e67d5c 100644 --- a/sys/compat/linux32/arch/amd64/syscalls.master +++ b/sys/compat/linux32/arch/amd64/syscalls.master @@ -1,4 +1,4 @@ - $NetBSD: syscalls.master,v 1.9 2007/02/08 12:29:39 njoly Exp $ + $NetBSD: syscalls.master,v 1.10 2007/02/09 21:55:21 ad Exp $ ; NetBSD i386 COMPAT_LINUX32 system call name/number "master" file. ; (See syscalls.conf to see what it is processed into.) @@ -40,7 +40,6 @@ #include <sys/systm.h> #include <sys/signal.h> #include <sys/mount.h> -#include <sys/sa.h> #include <sys/syscallargs.h> #include <machine/netbsd32_machdep.h> diff --git a/sys/compat/linux32/common/linux32_dirent.c b/sys/compat/linux32/common/linux32_dirent.c index d5fdcd5084c..c37617eba92 100644 --- a/sys/compat/linux32/common/linux32_dirent.c +++ b/sys/compat/linux32/common/linux32_dirent.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux32_dirent.c,v 1.1 2006/02/09 19:18:57 manu Exp $ */ +/* $NetBSD: linux32_dirent.c,v 1.2 2007/02/09 21:55:21 ad Exp $ */ /*- * Copyright (c) 2006 Emmanuel Dreyfus, all rights reserved. @@ -33,7 +33,7 @@ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux32_dirent.c,v 1.1 2006/02/09 19:18:57 manu Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux32_dirent.c,v 1.2 2007/02/09 21:55:21 ad Exp $"); #include <sys/types.h> #include <sys/param.h> @@ -43,7 +43,6 @@ __KERNEL_RCSID(0, "$NetBSD: linux32_dirent.c,v 1.1 2006/02/09 19:18:57 manu Exp #include <sys/kernel.h> #include <sys/fcntl.h> #include <sys/select.h> -#include <sys/sa.h> #include <sys/proc.h> #include <sys/ucred.h> #include <sys/swap.h> diff --git a/sys/compat/linux32/common/linux32_exec.c b/sys/compat/linux32/common/linux32_exec.c index e5a82118e0c..0ecce5f2274 100644 --- a/sys/compat/linux32/common/linux32_exec.c +++ b/sys/compat/linux32/common/linux32_exec.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux32_exec.c,v 1.3 2006/08/23 19:49:09 manu Exp $ */ +/* $NetBSD: linux32_exec.c,v 1.4 2007/02/09 21:55:21 ad Exp $ */ /*- * Copyright (c) 1994-2006 The NetBSD Foundation, Inc. @@ -38,7 +38,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux32_exec.c,v 1.3 2006/08/23 19:49:09 manu Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux32_exec.c,v 1.4 2007/02/09 21:55:21 ad Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -52,7 +52,6 @@ __KERNEL_RCSID(0, "$NetBSD: linux32_exec.c,v 1.3 2006/08/23 19:49:09 manu Exp $" #include <sys/exec_elf.h> #include <sys/mman.h> -#include <sys/sa.h> #include <sys/syscallargs.h> #include <sys/ptrace.h> /* For proc_reparent() */ diff --git a/sys/compat/linux32/common/linux32_fcntl.c b/sys/compat/linux32/common/linux32_fcntl.c index 11dddaf5ea3..7f17c36c2f4 100644 --- a/sys/compat/linux32/common/linux32_fcntl.c +++ b/sys/compat/linux32/common/linux32_fcntl.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux32_fcntl.c,v 1.1 2006/02/09 19:18:57 manu Exp $ */ +/* $NetBSD: linux32_fcntl.c,v 1.2 2007/02/09 21:55:21 ad Exp $ */ /*- * Copyright (c) 2006 Emmanuel Dreyfus, all rights reserved. @@ -33,7 +33,7 @@ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux32_fcntl.c,v 1.1 2006/02/09 19:18:57 manu Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux32_fcntl.c,v 1.2 2007/02/09 21:55:21 ad Exp $"); #include <sys/types.h> #include <sys/param.h> @@ -43,7 +43,6 @@ __KERNEL_RCSID(0, "$NetBSD: linux32_fcntl.c,v 1.1 2006/02/09 19:18:57 manu Exp $ #include <sys/kernel.h> #include <sys/fcntl.h> #include <sys/select.h> -#include <sys/sa.h> #include <sys/proc.h> #include <sys/ucred.h> #include <sys/swap.h> diff --git a/sys/compat/linux32/common/linux32_mman.c b/sys/compat/linux32/common/linux32_mman.c index 3c76e816066..6d33f1c0a58 100644 --- a/sys/compat/linux32/common/linux32_mman.c +++ b/sys/compat/linux32/common/linux32_mman.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux32_mman.c,v 1.2 2006/09/13 19:55:49 manu Exp $ */ +/* $NetBSD: linux32_mman.c,v 1.3 2007/02/09 21:55:21 ad Exp $ */ /*- * Copyright (c) 2006 Emmanuel Dreyfus, all rights reserved. @@ -33,7 +33,7 @@ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux32_mman.c,v 1.2 2006/09/13 19:55:49 manu Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux32_mman.c,v 1.3 2007/02/09 21:55:21 ad Exp $"); #include <sys/types.h> #include <sys/param.h> @@ -43,7 +43,6 @@ __KERNEL_RCSID(0, "$NetBSD: linux32_mman.c,v 1.2 2006/09/13 19:55:49 manu Exp $" #include <sys/kernel.h> #include <sys/fcntl.h> #include <sys/select.h> -#include <sys/sa.h> #include <sys/proc.h> #include <sys/ucred.h> #include <sys/swap.h> diff --git a/sys/compat/linux32/common/linux32_resource.c b/sys/compat/linux32/common/linux32_resource.c index 7fef8f675fa..88940e55f94 100644 --- a/sys/compat/linux32/common/linux32_resource.c +++ b/sys/compat/linux32/common/linux32_resource.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux32_resource.c,v 1.2 2006/06/25 16:15:40 manu Exp $ */ +/* $NetBSD: linux32_resource.c,v 1.3 2007/02/09 21:55:21 ad Exp $ */ /*- * Copyright (c) 2006 Emmanuel Dreyfus, all rights reserved. @@ -33,7 +33,7 @@ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux32_resource.c,v 1.2 2006/06/25 16:15:40 manu Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux32_resource.c,v 1.3 2007/02/09 21:55:21 ad Exp $"); #include <sys/types.h> #include <sys/param.h> @@ -43,7 +43,6 @@ __KERNEL_RCSID(0, "$NetBSD: linux32_resource.c,v 1.2 2006/06/25 16:15:40 manu Ex #include <sys/kernel.h> #include <sys/fcntl.h> #include <sys/select.h> -#include <sys/sa.h> #include <sys/proc.h> #include <sys/ucred.h> #include <sys/swap.h> diff --git a/sys/compat/linux32/common/linux32_sched.c b/sys/compat/linux32/common/linux32_sched.c index 41f1b6d9078..ebab7f0c3f1 100644 --- a/sys/compat/linux32/common/linux32_sched.c +++ b/sys/compat/linux32/common/linux32_sched.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux32_sched.c,v 1.2 2006/09/13 19:55:49 manu Exp $ */ +/* $NetBSD: linux32_sched.c,v 1.3 2007/02/09 21:55:21 ad Exp $ */ /*- * Copyright (c) 2006 Emmanuel Dreyfus, all rights reserved. @@ -33,7 +33,7 @@ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux32_sched.c,v 1.2 2006/09/13 19:55:49 manu Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux32_sched.c,v 1.3 2007/02/09 21:55:21 ad Exp $"); #include <sys/types.h> #include <sys/param.h> @@ -43,7 +43,6 @@ __KERNEL_RCSID(0, "$NetBSD: linux32_sched.c,v 1.2 2006/09/13 19:55:49 manu Exp $ #include <sys/kernel.h> #include <sys/fcntl.h> #include <sys/select.h> -#include <sys/sa.h> #include <sys/proc.h> #include <sys/ucred.h> #include <sys/swap.h> diff --git a/sys/compat/linux32/common/linux32_socket.c b/sys/compat/linux32/common/linux32_socket.c index 3f1ac1a19e4..fafd18761d3 100644 --- a/sys/compat/linux32/common/linux32_socket.c +++ b/sys/compat/linux32/common/linux32_socket.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux32_socket.c,v 1.2 2006/09/13 19:55:49 manu Exp $ */ +/* $NetBSD: linux32_socket.c,v 1.3 2007/02/09 21:55:21 ad Exp $ */ /*- * Copyright (c) 2006 Emmanuel Dreyfus, all rights reserved. @@ -33,7 +33,7 @@ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux32_socket.c,v 1.2 2006/09/13 19:55:49 manu Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux32_socket.c,v 1.3 2007/02/09 21:55:21 ad Exp $"); #include <sys/types.h> #include <sys/param.h> @@ -43,7 +43,6 @@ __KERNEL_RCSID(0, "$NetBSD: linux32_socket.c,v 1.2 2006/09/13 19:55:49 manu Exp #include <sys/kernel.h> #include <sys/fcntl.h> #include <sys/select.h> -#include <sys/sa.h> #include <sys/proc.h> #include <sys/ucred.h> #include <sys/swap.h> diff --git a/sys/compat/linux32/common/linux32_stat.c b/sys/compat/linux32/common/linux32_stat.c index 3435f3b9819..c87b3f09435 100644 --- a/sys/compat/linux32/common/linux32_stat.c +++ b/sys/compat/linux32/common/linux32_stat.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux32_stat.c,v 1.1 2006/02/09 19:18:57 manu Exp $ */ +/* $NetBSD: linux32_stat.c,v 1.2 2007/02/09 21:55:21 ad Exp $ */ /*- * Copyright (c) 2006 Emmanuel Dreyfus, all rights reserved. @@ -33,7 +33,7 @@ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux32_stat.c,v 1.1 2006/02/09 19:18:57 manu Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux32_stat.c,v 1.2 2007/02/09 21:55:21 ad Exp $"); #include <sys/types.h> #include <sys/param.h> @@ -43,7 +43,6 @@ __KERNEL_RCSID(0, "$NetBSD: linux32_stat.c,v 1.1 2006/02/09 19:18:57 manu Exp $" #include <sys/kernel.h> #include <sys/fcntl.h> #include <sys/select.h> -#include <sys/sa.h> #include <sys/proc.h> #include <sys/ucred.h> #include <sys/swap.h> diff --git a/sys/compat/linux32/common/linux32_sysctl.c b/sys/compat/linux32/common/linux32_sysctl.c index d93f69841d7..70648915c14 100644 --- a/sys/compat/linux32/common/linux32_sysctl.c +++ b/sys/compat/linux32/common/linux32_sysctl.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux32_sysctl.c,v 1.3 2006/09/23 22:12:00 manu Exp $ */ +/* $NetBSD: linux32_sysctl.c,v 1.4 2007/02/09 21:55:21 ad Exp $ */ /*- * Copyright (c) 2006 Emmanuel Dreyfus, all rights reserved. @@ -31,7 +31,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux32_sysctl.c,v 1.3 2006/09/23 22:12:00 manu Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux32_sysctl.c,v 1.4 2007/02/09 21:55:21 ad Exp $"); #include "opt_ktrace.h" @@ -41,7 +41,6 @@ __KERNEL_RCSID(0, "$NetBSD: linux32_sysctl.c,v 1.3 2006/09/23 22:12:00 manu Exp #include <sys/proc.h> #include <sys/mount.h> #include <sys/sysctl.h> -#include <sys/sa.h> #include <sys/syscallargs.h> #ifdef KTRACE #include <sys/ktrace.h> diff --git a/sys/compat/linux32/common/linux32_sysinfo.c b/sys/compat/linux32/common/linux32_sysinfo.c index 5cf0608f1bb..932a892a225 100644 --- a/sys/compat/linux32/common/linux32_sysinfo.c +++ b/sys/compat/linux32/common/linux32_sysinfo.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux32_sysinfo.c,v 1.1 2006/09/13 19:55:49 manu Exp $ */ +/* $NetBSD: linux32_sysinfo.c,v 1.2 2007/02/09 21:55:21 ad Exp $ */ /*- * Copyright (c) 2006 Emmanuel Dreyfus, all rights reserved. @@ -33,12 +33,11 @@ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux32_sysinfo.c,v 1.1 2006/09/13 19:55:49 manu Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux32_sysinfo.c,v 1.2 2007/02/09 21:55:21 ad Exp $"); #include <sys/types.h> #include <sys/param.h> #include <sys/kernel.h> -#include <sys/sa.h> #include <sys/dirent.h> #include <sys/syscallargs.h> diff --git a/sys/compat/linux32/common/linux32_time.c b/sys/compat/linux32/common/linux32_time.c index a2b85bc18f0..f1c800337df 100644 --- a/sys/compat/linux32/common/linux32_time.c +++ b/sys/compat/linux32/common/linux32_time.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux32_time.c,v 1.6 2006/11/14 13:34:29 elad Exp $ */ +/* $NetBSD: linux32_time.c,v 1.7 2007/02/09 21:55:21 ad Exp $ */ /*- * Copyright (c) 2006 Emmanuel Dreyfus, all rights reserved. @@ -33,7 +33,7 @@ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux32_time.c,v 1.6 2006/11/14 13:34:29 elad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux32_time.c,v 1.7 2007/02/09 21:55:21 ad Exp $"); #include <sys/types.h> #include <sys/param.h> @@ -44,7 +44,6 @@ __KERNEL_RCSID(0, "$NetBSD: linux32_time.c,v 1.6 2006/11/14 13:34:29 elad Exp $" #include <sys/kernel.h> #include <sys/fcntl.h> #include <sys/select.h> -#include <sys/sa.h> #include <sys/proc.h> #include <sys/ucred.h> #include <sys/swap.h> diff --git a/sys/compat/linux32/common/linux32_unistd.c b/sys/compat/linux32/common/linux32_unistd.c index 2f02389ded5..fa2d39877a1 100644 --- a/sys/compat/linux32/common/linux32_unistd.c +++ b/sys/compat/linux32/common/linux32_unistd.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux32_unistd.c,v 1.4 2006/09/13 19:55:49 manu Exp $ */ +/* $NetBSD: linux32_unistd.c,v 1.5 2007/02/09 21:55:21 ad Exp $ */ /*- * Copyright (c) 2006 Emmanuel Dreyfus, all rights reserved. @@ -33,7 +33,7 @@ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux32_unistd.c,v 1.4 2006/09/13 19:55:49 manu Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux32_unistd.c,v 1.5 2007/02/09 21:55:21 ad Exp $"); #include <sys/types.h> #include <sys/param.h> @@ -43,7 +43,6 @@ __KERNEL_RCSID(0, "$NetBSD: linux32_unistd.c,v 1.4 2006/09/13 19:55:49 manu Exp #include <sys/kernel.h> #include <sys/fcntl.h> #include <sys/select.h> -#include <sys/sa.h> #include <sys/proc.h> #include <sys/ucred.h> #include <sys/swap.h> diff --git a/sys/compat/linux32/common/linux32_utsname.c b/sys/compat/linux32/common/linux32_utsname.c index 2e063f5287d..c0e0356af0c 100644 --- a/sys/compat/linux32/common/linux32_utsname.c +++ b/sys/compat/linux32/common/linux32_utsname.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux32_utsname.c,v 1.1 2006/02/09 19:18:57 manu Exp $ */ +/* $NetBSD: linux32_utsname.c,v 1.2 2007/02/09 21:55:21 ad Exp $ */ /*- * Copyright (c) 2006 Emmanuel Dreyfus, all rights reserved. @@ -33,7 +33,7 @@ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux32_utsname.c,v 1.1 2006/02/09 19:18:57 manu Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux32_utsname.c,v 1.2 2007/02/09 21:55:21 ad Exp $"); #include <sys/types.h> #include <sys/param.h> @@ -43,7 +43,6 @@ __KERNEL_RCSID(0, "$NetBSD: linux32_utsname.c,v 1.1 2006/02/09 19:18:57 manu Exp #include <sys/kernel.h> #include <sys/fcntl.h> #include <sys/select.h> -#include <sys/sa.h> #include <sys/proc.h> #include <sys/ucred.h> #include <sys/swap.h> diff --git a/sys/compat/linux32/common/linux32_wait.c b/sys/compat/linux32/common/linux32_wait.c index 906dabd7784..9cfbbd92d3b 100644 --- a/sys/compat/linux32/common/linux32_wait.c +++ b/sys/compat/linux32/common/linux32_wait.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux32_wait.c,v 1.1 2006/02/09 19:18:57 manu Exp $ */ +/* $NetBSD: linux32_wait.c,v 1.2 2007/02/09 21:55:21 ad Exp $ */ /*- * Copyright (c) 2006 Emmanuel Dreyfus, all rights reserved. @@ -33,7 +33,7 @@ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux32_wait.c,v 1.1 2006/02/09 19:18:57 manu Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux32_wait.c,v 1.2 2007/02/09 21:55:21 ad Exp $"); #include <sys/types.h> #include <sys/param.h> @@ -43,7 +43,6 @@ __KERNEL_RCSID(0, "$NetBSD: linux32_wait.c,v 1.1 2006/02/09 19:18:57 manu Exp $" #include <sys/kernel.h> #include <sys/fcntl.h> #include <sys/select.h> -#include <sys/sa.h> #include <sys/proc.h> #include <sys/ucred.h> #include <sys/swap.h> |
