NetBSD/sys/compat/hpux
sommerfeld 40339b39f9 Reduce use of curproc in several places:
- Change ktrace interface to pass in the current process, rather than
p->p_tracep, since the various ktr* function need curproc anyway.

 - Add curproc as a parameter to mi_switch() since all callers had it
handy anyway.

 - Add a second proc argument for inferior() since callers all had
curproc handy.

Also, miscellaneous cleanups in ktrace:

 - ktrace now always uses file-based, rather than vnode-based I/O
(simplifies, increases type safety); eliminate KTRFLAG_FD & KTRFAC_FD.
Do non-blocking I/O, and yield a finite number of times when receiving
EWOULDBLOCK before giving up.

 - move code duplicated between sys_fktrace and sys_ktrace into ktrace_common.

 - simplify interface to ktrwrite()
2000-05-27 00:40:29 +00:00
..
Makefile
files.hpux
hpux.h
hpux_compat.c Reduce use of curproc in several places: 2000-05-27 00:40:29 +00:00
hpux_errno.c
hpux_exec.c add a new function vn_marktext() for exec code to let others know 2000-04-11 04:37:47 +00:00
hpux_exec.h
hpux_file.c
hpux_ipc.c
hpux_ipc.h
hpux_net.c Reduce use of curproc in several places: 2000-05-27 00:40:29 +00:00
hpux_sig.c
hpux_sig.h
hpux_syscall.h
hpux_syscallargs.h
hpux_syscalls.c
hpux_sysent.c
hpux_termio.h
hpux_tty.c
hpux_types.h
hpux_util.h
syscalls.conf
syscalls.master