freebsd-skq/sys/dev
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
..
aac The AAC, TWE and IDA diskdrivers cannot dump until I and msmith 2002-03-31 22:29:52 +00:00
acpica Hide the ACPI counter probing printf behind bootverbose. 2002-03-24 11:33:52 +00:00
advansys Restore I/O port resources to the condition before adv_isa_probe() is 2001-05-06 09:28:18 +00:00
agp Correctly identify the Intel 82830 AGP bridge. 2002-02-05 23:13:25 +00:00
aha Turn on interrupt-entropy harvesting for all/any mass storage devices 2001-03-01 17:09:09 +00:00
ahb Turn on interrupt-entropy harvesting for all/any mass storage devices 2001-03-01 17:09:09 +00:00
aic Remove __P. 2002-03-20 02:08:01 +00:00
aic7xxx Remove __P. 2002-03-20 08:56:31 +00:00
amd Move unused functions into #if 0 ... #endif. 2001-05-06 08:07:10 +00:00
amr Fixed printf format errors in previous commit. %llu is no more suitable 2002-03-18 23:24:00 +00:00
an Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
ar Move the isa parts to a separate file. 2001-04-16 13:20:39 +00:00
asr Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
ata Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
atkbdc Fix spelling and grammar bogons in a comment. 2002-03-27 13:16:11 +00:00
awi Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
bge Teach the bge driver about the BCM5701 (specifically, the 3Com 2002-03-22 06:45:40 +00:00
bktr Fix bktr and pcf compilation with LINT 2002-03-25 21:22:35 +00:00
buslogic Use ANSI C string contatenation instead of a multi-line string literal. 2001-12-13 11:14:28 +00:00
cardbus Revert most of the recent PCI merge. This has proven to be too 2002-03-15 06:41:01 +00:00
ccd Remove bogus ccddump() function in favour of the standard nodump. 2002-03-29 21:12:11 +00:00
ciss Fix warning; line 1640: ciss_abort_request defined but not used. 2001-12-18 08:01:48 +00:00
cm Remove __P. 2002-03-20 02:08:01 +00:00
cnw Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
cs Migrate to PCMCIA_CARD() macros 2001-11-15 07:52:49 +00:00
ct Remove __P. 2002-03-20 02:08:01 +00:00
cy Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
dc Remove __P. 2002-03-20 02:08:01 +00:00
de No FreeBSD/vax here either. 2001-11-03 08:32:28 +00:00
dec Introduce a boot environment variable (clock_compat_osf1) which can 2001-11-03 17:22:50 +00:00
dgb Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
digi Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
dpt Fix a couple of bogus enums. 2002-01-08 06:47:55 +00:00
ed Remove __P. 2002-03-20 02:08:01 +00:00
eisa Remove __P. 2002-03-20 02:08:01 +00:00
em Remove __P. 2002-03-20 02:08:01 +00:00
en Remove __P. 2002-03-20 02:08:01 +00:00
ep Remove __P. 2002-03-20 02:08:01 +00:00
ex Remove __P. 2002-03-20 02:08:01 +00:00
exca Default debugging to OFF now. 2002-02-04 15:55:21 +00:00
fb Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
fdc Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
fe Supported C-NET(98)P2 PnP mode. 2002-02-04 14:01:27 +00:00
fxp Remove mbuf exhaustion warning messages; these are handled by the 2002-02-04 03:15:27 +00:00
gem In some cases, RX descriptors that are signalled to have been completed 2002-03-23 19:43:15 +00:00
gfb We need to operate on struct thread now, not struct proc. 2001-11-08 01:49:06 +00:00
gx Don't pass an interface pointer to VLAN_INPUT{,_TAG}. Get it from the 2001-12-03 17:28:27 +00:00
hea Remove __P. 2002-03-20 02:08:01 +00:00
hfa Remove __P. 2002-03-20 02:08:01 +00:00
hme Assorted fixes: 2002-03-23 19:37:11 +00:00
ic Oops, forgot to commit one file in the fd driver mega update. Here it 2001-12-16 07:52:13 +00:00
ichsmb Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
ida Here follows the new kernel dumping infrastructure. 2002-03-31 22:37:00 +00:00
ie Repo copy i82586.h to dev/ic/i82586.h. 2001-07-02 05:29:58 +00:00
iicbus Major rework of the iicbus/smbus framework: 2002-03-23 15:49:15 +00:00
iir Remove __P. 2002-03-20 02:08:01 +00:00
isp Limit fabric search to a default 256 entries. This will all go away 2002-03-21 21:10:16 +00:00
ispfw Remove __P. 2002-03-20 02:08:01 +00:00
joy Revert change that breaks the joy module. joydevclass must not be static. 2002-01-08 18:27:49 +00:00
kbd Fix spelling and grammar bogons in a comment. 2002-03-27 13:16:11 +00:00
lge Remove __P. 2002-03-20 02:08:01 +00:00
lmc Fix typo: seperate -> separate. 2001-02-06 11:21:58 +00:00
lnc Remove __P. 2002-03-20 02:08:01 +00:00
mc146818
mca - Remove an unused write_ivars function that didn't do anything anyway. 2001-01-19 09:29:34 +00:00
mcd Don't call cdevsw_add(). 2001-11-04 08:58:22 +00:00
md Remove unused include. 2002-03-20 09:55:07 +00:00
mii regenerate 2002-03-22 06:39:13 +00:00
mlx Fixed printf format errors in previous commit. %llu is no more suitable 2002-03-18 23:38:16 +00:00
mly Fix warnings (comment out unused tables that are taking space in the 2002-02-27 23:57:18 +00:00
mse Fixed some style bugs in the removal of __P(()). The main ones were 2002-03-23 16:01:49 +00:00
musycc Fix warnings: 2001-06-15 00:19:43 +00:00
ncv Remove __P. 2002-03-20 02:08:01 +00:00
nge Remove __P. 2002-03-20 02:08:01 +00:00
nmdm Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
nsp Remove __P. 2002-03-20 02:08:01 +00:00
null Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
ofw Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
pccard Improve support of MFC cards (Multi-function cards). This commit 2002-03-29 08:05:39 +00:00
pccbb Check the status of the card bridge first thing, rather than last in 2002-02-20 16:20:27 +00:00
pcf Fix bktr and pcf compilation with LINT 2002-03-25 21:22:35 +00:00
pci Add 5th parameter to pci_read_device specifying the size of the object 2002-03-13 16:32:11 +00:00
pcic Fix missing comma in previous commit. 2001-12-28 23:51:48 +00:00
pdq - Merge the pdq driver (if_fpa and if_fea) from NetBSD. 2002-03-29 11:22:22 +00:00
ppbus Major rework of the iicbus/smbus framework: 2002-03-23 15:49:15 +00:00
ppc Restore the original copyright 2002-03-23 15:36:13 +00:00
puc Add an entry for "PCCOM dual port RS232/422/485". 2002-04-01 13:33:43 +00:00
random Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
ray Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
rc Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
rp Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
sbni Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
scd Don't call cdevsw_add() 2001-11-04 08:54:15 +00:00
sf Remove __P. 2002-03-20 02:08:01 +00:00
si Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
sio Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
sk Remove __P. 2002-03-20 02:08:01 +00:00
smbus Major rework of the iicbus/smbus framework: 2002-03-23 15:49:15 +00:00
sn Migrate to PCMCIA_CARD() macros 2001-11-15 07:52:49 +00:00
snc Remove __P. 2002-03-20 02:08:01 +00:00
snp Remove __P. 2002-03-20 02:08:01 +00:00
sound Include <machine/limits.h> for definition of ULONG_MAX. Remove a 2002-03-25 09:23:41 +00:00
speaker Remove __P. 2002-03-20 07:51:46 +00:00
sr Fix clock selection for X.21 interfaces. 2001-02-26 16:30:02 +00:00
stg Remove __P. 2002-03-20 02:08:01 +00:00
streams Remove __P. 2002-03-20 02:08:01 +00:00
sym Fix some gcc-3.1+ warnings: 2002-03-19 23:20:21 +00:00
syscons Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
tdfx Replace ffind_* with fget calls. 2002-01-14 00:13:45 +00:00
tga Add the TGA video driver. This is a great accomplishtment and will help 2001-11-01 08:26:30 +00:00
ti Remove __P. 2002-03-20 02:08:01 +00:00
twe Here follows the new kernel dumping infrastructure. 2002-03-31 22:37:00 +00:00
tx Remove __P. 2002-03-20 02:08:01 +00:00
txp Remove __P. 2002-03-20 02:08:01 +00:00
usb Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
vinum Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
vr Remove __P. 2002-03-20 02:08:01 +00:00
vx Remove __P. 2002-03-20 02:08:01 +00:00
wds Turn on interrupt-entropy harvesting for all/any mass storage devices 2001-03-01 17:09:09 +00:00
wi Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
wl Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
xe Remove an unused variable. 2002-02-26 03:37:35 +00:00