NetBSD/sys/compat/svr4
jonathan 230fb9b8ab Eliminate several uses of `curproc' from the socket-layer code and from NFS.
Add a new explicit `struct proc *p' argument to socreate(), sosend().
Use that argument instead of curproc. Follow-on changes to pass that
argument to socreate(), sosend(), and (*so->so_send)() calls.
These changes reviewed and independently recoded  by Matt Thomas.

Changes to soreceive() and (*dom->dom_exernalize() from Matt Thomas:
pass soreceive()'s struct uio* uio->uio_procp to unp_externalize().
Eliminate curproc from unp_externalize.   Also, now soreceive() uses
its uio->uio_procp value, pass that same value downward to
((pr->pru_usrreq)() calls for consistency, instead of (struct proc * )0.

Similar changes in sys/nfs to eliminate (most) uses of curproc,
either via the req-> r_procp field of a struct nfsreq *req argument,
or by passing down new explicit struct proc * arguments.

Reviewed by: Matt Thomas, posted to tech-kern.
NB: The (*pr->pru_usrreq)() change should be tested on more (all!) protocols.
2004-05-22 22:52:13 +00:00
..
Makefile We have CVS; there is no reason to make .bak files when generating the 2003-11-15 20:30:59 +00:00
files.svr4 make signal array handling uniform, and put signal arrays in a separate 2002-03-31 22:22:43 +00:00
svr4_acl.h
svr4_dirent.h
svr4_errno.c
svr4_errno.h
svr4_exec.c Put back Emmanuel's sigfilter hooks, as decided by Core. 2003-12-20 19:01:29 +00:00
svr4_exec.h adapt for changes to kern/exec_elf32.c 2003-10-31 14:04:35 +00:00
svr4_exec_elf32.c adapt for changes to kern/exec_elf32.c 2003-10-31 14:04:35 +00:00
svr4_exec_elf64.c adapt for changes to kern/exec_elf32.c 2003-10-31 14:04:35 +00:00
svr4_fcntl.c Add the gating of system calls that cause modifications to the underlying 2003-10-15 11:28:59 +00:00
svr4_fcntl.h
svr4_filio.c Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
svr4_filio.h
svr4_fuser.h
svr4_hrt.h
svr4_ioctl.c Make updating a file's reference and use count MP-safe. 2003-02-23 14:37:32 +00:00
svr4_ioctl.h Merge the nathanw_sa branch. 2003-01-18 08:44:26 +00:00
svr4_ipc.c Merge the nathanw_sa branch. 2003-01-18 08:44:26 +00:00
svr4_ipc.h
svr4_lwp.c Merge the nathanw_sa branch. 2003-01-18 08:44:26 +00:00
svr4_lwp.h
svr4_misc.c more statvfs1 fallout. 2004-04-21 02:40:05 +00:00
svr4_mman.h Handle MAP_ANON (0x100 in Solaris8, not 0x1000) properly, by factoring out 2002-02-07 23:22:24 +00:00
svr4_net.c Eliminate several uses of `curproc' from the socket-layer code and from NFS. 2004-05-22 22:52:13 +00:00
svr4_resource.c Merge the nathanw_sa branch. 2003-01-18 08:44:26 +00:00
svr4_resource.h
svr4_siginfo.h Match the Solaris siginfo layout for _LP64. 2002-06-19 17:33:01 +00:00
svr4_signal.c Merge the nathanw_sa branch. 2003-01-18 17:31:06 +00:00
svr4_signal.h all ports define __HAVE_SIGINFO now, so remove the CPP conditionals 2004-03-26 15:01:16 +00:00
svr4_signo.c make signal array handling uniform, and put signal arrays in a separate 2002-03-31 22:22:43 +00:00
svr4_socket.c Merge the nathanw_sa branch. 2003-01-18 08:44:26 +00:00
svr4_socket.h
svr4_sockio.c Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
svr4_sockio.h
svr4_sockmod.h
svr4_stat.c Fix the sysinfo(SI_HW_SERIAL, emulation so that we actually get the 2004-04-19 02:55:40 +00:00
svr4_stat.h __LP64__ -> _LP64 2002-05-03 01:34:48 +00:00
svr4_statvfs.h
svr4_stream.c Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
svr4_stropts.h
svr4_syscall.h Regen for correct RCS ID. 2003-01-18 23:36:48 +00:00
svr4_syscallargs.h Regen for correct RCS ID. 2003-01-18 23:36:48 +00:00
svr4_syscalls.c Regen for correct RCS ID. 2003-01-18 23:36:48 +00:00
svr4_sysconfig.h
svr4_sysent.c Regen for correct RCS ID. 2003-01-18 23:36:48 +00:00
svr4_systeminfo.h
svr4_termios.c Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
svr4_termios.h
svr4_time.h
svr4_timod.h
svr4_ttold.c Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
svr4_ttold.h
svr4_types.h __LP64__ -> _LP64 2002-05-03 01:34:48 +00:00
svr4_ucontext.h Merge the nathanw_sa branch. 2003-01-18 08:44:26 +00:00
svr4_ulimit.h
svr4_ustat.h
svr4_util.h
svr4_utsname.h
svr4_wait.h
syscalls.conf
syscalls.master Merge the nathanw_sa branch. 2003-01-18 08:44:26 +00:00