NetBSD/sys/netsmb
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
files.netsmb
iconv.c kill some strcpy 2004-04-21 18:16:14 +00:00
iconv.h kill some strcpy 2004-04-21 18:16:14 +00:00
mchain.h
netbios.h occured -> occurred. From Peter Postma. 2004-02-24 15:12:51 +00:00
smb.h align Extended file attributes defines 2004-03-22 16:42:06 +00:00
smb_conn.c follow FreeBSD and replace code using the try/catch paradigm 2004-03-21 10:09:52 +00:00
smb_conn.h
smb_crypt.c
smb_dev.c Initialise (most) pools from a link set instead of explicit calls 2004-04-25 16:42:40 +00:00
smb_dev.h
smb_iod.c follow FreeBSD and replace code using the try/catch paradigm 2004-03-21 10:09:52 +00:00
smb_rq.c Initialise (most) pools from a link set instead of explicit calls 2004-04-25 16:42:40 +00:00
smb_rq.h Initialise (most) pools from a link set instead of explicit calls 2004-04-25 16:42:40 +00:00
smb_smb.c kill some strcpy 2004-04-21 18:16:14 +00:00
smb_subr.c
smb_subr.h follow FreeBSD and replace code using the try/catch paradigm 2004-03-21 10:09:52 +00:00
smb_tran.h
smb_trantcp.c Eliminate several uses of `curproc' from the socket-layer code and from NFS. 2004-05-22 22:52:13 +00:00
smb_trantcp.h
smb_usr.c occured -> occurred. From Peter Postma. 2004-02-24 15:12:51 +00:00
subr_mchain.c occured -> occurred. From Peter Postma. 2004-02-24 15:12:51 +00:00