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_ioctl.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_ioctl.h')
| -rw-r--r-- | sys/compat/linux/common/linux_ioctl.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/compat/linux/common/linux_ioctl.h b/sys/compat/linux/common/linux_ioctl.h index 6dab328c3ac..1fedab9f64f 100644 --- a/sys/compat/linux/common/linux_ioctl.h +++ b/sys/compat/linux/common/linux_ioctl.h @@ -1,4 +1,4 @@ -/* $NetBSD: linux_ioctl.h,v 1.16 2002/01/14 23:14:42 bjh21 Exp $ */ +/* $NetBSD: linux_ioctl.h,v 1.17 2003/06/28 14:21:22 darrenr Exp $ */ /*- * Copyright (c) 1995, 1998 The NetBSD Foundation, Inc. @@ -43,18 +43,18 @@ struct linux_sys_ioctl_args; #ifdef _KERNEL __BEGIN_DECLS -int linux_machdepioctl __P((struct proc *, void *, register_t *)); -int linux_ioctl_cdrom __P((struct proc *, struct linux_sys_ioctl_args *, +int linux_machdepioctl __P((struct lwp *, void *, register_t *)); +int linux_ioctl_cdrom __P((struct lwp *, struct linux_sys_ioctl_args *, register_t *)); -int linux_ioctl_termios __P((struct proc *, struct linux_sys_ioctl_args *, +int linux_ioctl_termios __P((struct lwp *, struct linux_sys_ioctl_args *, register_t *)); -int linux_ioctl_socket __P((struct proc *, struct linux_sys_ioctl_args *, +int linux_ioctl_socket __P((struct lwp *, struct linux_sys_ioctl_args *, register_t *)); -int linux_ioctl_hdio __P((struct proc *, struct linux_sys_ioctl_args *, +int linux_ioctl_hdio __P((struct lwp *, struct linux_sys_ioctl_args *, register_t *)); -int linux_ioctl_fdio __P((struct proc *p, struct linux_sys_ioctl_args *uap, +int linux_ioctl_fdio __P((struct lwp *p, struct linux_sys_ioctl_args *uap, register_t *retval)); -int linux_ioctl_blkio __P((struct proc *p, struct linux_sys_ioctl_args *uap, +int linux_ioctl_blkio __P((struct lwp *p, struct linux_sys_ioctl_args *uap, register_t *retval)); __END_DECLS #endif /* !_KERNEL */ |
