diff options
| author | darrenr <darrenr@NetBSD.org> | 2003-06-28 14:20:43 +0000 |
|---|---|---|
| committer | darrenr <darrenr@NetBSD.org> | 2003-06-28 14:20:43 +0000 |
| commit | 960df3c8d11a934b85f6f7d3ac388ec5ee57c12f (patch) | |
| tree | 04eacdb0da6eefa4c57bf27833661e791d6a5853 /sys/compat/linux/common/linux_exec.h | |
| parent | da6b84e29093b9bfc2c3f38bfa199d379d8984d5 (diff) | |
Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records. The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.
Bump the kernel rev up to 1.6V
Diffstat (limited to 'sys/compat/linux/common/linux_exec.h')
| -rw-r--r-- | sys/compat/linux/common/linux_exec.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/compat/linux/common/linux_exec.h b/sys/compat/linux/common/linux_exec.h index ede613e3903..a3a575b0374 100644 --- a/sys/compat/linux/common/linux_exec.h +++ b/sys/compat/linux/common/linux_exec.h @@ -1,4 +1,4 @@ -/* $NetBSD: linux_exec.h,v 1.27 2003/04/09 00:39:38 thorpej Exp $ */ +/* $NetBSD: linux_exec.h,v 1.28 2003/06/28 14:21:20 darrenr Exp $ */ /*- * Copyright (c) 1995, 1998 The NetBSD Foundation, Inc. @@ -121,23 +121,23 @@ __BEGIN_DECLS extern const struct emul emul_linux; int linux_sysctl __P((int *, u_int, void *, size_t *, void *, size_t, - struct proc *)); + struct lwp *)); void linux_setregs __P((struct lwp *, struct exec_package *, u_long)); -int exec_linux_aout_makecmds __P((struct proc *, struct exec_package *)); -int linux_aout_copyargs __P((struct proc *, struct exec_package *, +int exec_linux_aout_makecmds __P((struct lwp *, struct exec_package *)); +int linux_aout_copyargs __P((struct lwp *, struct exec_package *, struct ps_strings *, char **, void *)); void linux_trapsignal __P((struct lwp *, int, u_long)); #ifdef EXEC_ELF32 -int linux_elf32_probe __P((struct proc *, struct exec_package *, void *, +int linux_elf32_probe __P((struct lwp *, struct exec_package *, void *, char *, vaddr_t *)); -int linux_elf32_copyargs __P((struct proc *, struct exec_package *, +int linux_elf32_copyargs __P((struct lwp *, struct exec_package *, struct ps_strings *, char **, void *)); #endif #ifdef EXEC_ELF64 -int linux_elf64_probe __P((struct proc *, struct exec_package *, void *, +int linux_elf64_probe __P((struct lwp *, struct exec_package *, void *, char *, vaddr_t *)); -int linux_elf64_copyargs __P((struct proc *, struct exec_package *, +int linux_elf64_copyargs __P((struct lwp *, struct exec_package *, struct ps_strings *, char **, void *)); #endif __END_DECLS |
