freebsd-skq/sys/dev/vinum
jhb dc2e474f79 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
..
COPYRIGHT
makestatetext
request.h Change #if VINUMDEBUG to #ifdef VINUMDEBUG. This is a flag, not a variable. 2001-05-23 23:24:05 +00:00
statetexts.h
vinum.c Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
vinumconfig.c Grr. The last commit contained update conflicts. It just goes to 2002-01-29 02:49:15 +00:00
vinumdaemon.c Introduce the new 64-bit size disk block, daddr64_t. Change 2002-03-15 18:49:47 +00:00
vinumext.h Remove bogus vinumdump(), if you can't dump, say so with nodump(). 2002-03-29 21:14:34 +00:00
vinumhdr.h Fix warnings: 2001-06-15 00:23:11 +00:00
vinuminterrupt.c Introduce the new 64-bit size disk block, daddr64_t. Change 2002-03-15 18:49:47 +00:00
vinumio.c Remove unused include. 2002-03-20 09:55:07 +00:00
vinumio.h Change #if VINUMDEBUG to #ifdef VINUMDEBUG. This is a flag, not a variable. 2001-05-23 23:24:05 +00:00
vinumioctl.c vinumioctl: Fix a double fault caused by calling setjmp() without holding the config lock. The call was in fact superfluous. 2002-01-27 04:20:52 +00:00
vinumkw.h Change ioctls to use the expurgated userland version of the Vinum 2001-05-22 02:33:32 +00:00
vinumlock.c Add a new debug flag, DEBUG_LOCKREQS, which logs only lock requests. 2001-05-22 02:34:30 +00:00
vinummemory.c KSE Milestone 2 2001-09-12 08:38:13 +00:00
vinumobj.h Change #if VINUMDEBUG to #ifdef VINUMDEBUG. This is a flag, not a variable. 2001-05-23 23:24:05 +00:00
vinumparser.c tokenize: Take third parameter specifying the maximum number of 2001-05-22 02:35:57 +00:00
vinumraid5.c bre5: don't bufdone the user bp on error, let vinumstart() do it. 2001-01-10 05:07:14 +00:00
vinumrequest.c Introduce the new 64-bit size disk block, daddr64_t. Change 2002-03-15 18:49:47 +00:00
vinumrevive.c Introduce the new 64-bit size disk block, daddr64_t. Change 2002-03-15 18:49:47 +00:00
vinumstate.c start_object: Set the revive length correctly. 2000-06-07 03:34:18 +00:00
vinumstate.h
vinumutil.c
vinumutil.h New header file. 2001-05-22 22:29:35 +00:00
vinumvar.h Add missing includes of sys/lock.h. 2001-10-11 17:52:20 +00:00