freebsd-nq/sys/netsmb
John Baldwin 44731cab3b Change the suser() API to take advantage of td_ucred as well as do a
general cleanup of the API.  The entire API now consists of two functions
similar to the pre-KSE API.  The suser() function takes a thread pointer
as its only argument.  The td_ucred member of this thread must be valid
so the only valid thread pointers are curthread and a few kernel threads
such as thread0.  The suser_cred() function takes a pointer to a struct
ucred as its first argument and an integer flag as its second argument.
The flag is currently only used for the PRISON_ROOT flag.

Discussed on:	smp@
2002-04-01 21:31:13 +00:00
..
netbios.h Spelling fixes. 2001-12-31 19:29:43 +00:00
smb_conn.c Simple p_ucred -> td_ucred changes to start using the per-thread ucred 2002-02-27 18:32:23 +00:00
smb_conn.h Add unicode related definition for future use. Descibe Samba bug. 2002-02-21 16:13:19 +00:00
smb_crypt.c Fix an old off-by-one error causing well known 'wrong bucket' panic. 2001-08-21 08:07:18 +00:00
smb_dev.c Simple p_ucred -> td_ucred changes to start using the per-thread ucred 2002-02-27 18:32:23 +00:00
smb_dev.h This file also depends on sys/types.h and sys/ioccom.h. 2001-04-13 10:50:48 +00:00
smb_iod.c - Replace M_WAIT with M_TRYWAIT since the M_WAIT flag is deprecated. 2001-12-09 17:48:08 +00:00
smb_rq.c Spelling fixes. 2001-12-31 19:29:43 +00:00
smb_rq.h Spelling fixes. 2001-12-31 19:29:43 +00:00
smb_smb.c Remove redundant checks for iovcnt > 1. This should be handled properly 2002-02-21 16:18:39 +00:00
smb_subr.c Simple p_ucred -> td_ucred changes to start using the per-thread ucred 2002-02-27 18:32:23 +00:00
smb_subr.h Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
smb_tran.h Pull netsmb requester from the pre-KSE world. This update mostly based 2001-12-02 08:47:29 +00:00
smb_trantcp.c Missed this file for select SMP fixes associated with rev 1.93 of 2002-03-14 05:16:18 +00:00
smb_trantcp.h Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
smb_usr.c
smb.h Add subfunction definition for future use. 2002-02-21 16:10:42 +00:00