1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00
freebsd/sys/dev
Poul-Henning Kamp f711d546d2 Suser() simplification:
1:
  s/suser/suser_xxx/

2:
  Add new function: suser(struct proc *), prototyped in <sys/proc.h>.

3:
  s/suser_xxx(\([a-zA-Z0-9_]*\)->p_ucred, \&\1->p_acflag)/suser(\1)/

The remaining suser_xxx() calls will be scrutinized and dealt with
later.

There may be some unneeded #include <sys/cred.h>, but they are left
as an exercise for Bruce.

More changes to the suser() API will come along with the "jail" code.
1999-04-27 11:18:52 +00:00
..
advansys Use COMPAT_PCI_DRIVER() for registration if it exists. This shouldn't 1999-04-24 20:17:05 +00:00
aha Bring the 'new-bus' to the i386. This extensively changes the way the 1999-04-16 21:22:55 +00:00
ahb ahb.c: 1999-04-23 23:29:00 +00:00
aic7xxx Fix from Justin for transfer negotiations for targets up to target ID 7. 1999-04-26 22:03:44 +00:00
ar Organize the various modes (CISCO/AUTO/DEMAND/LEASED) a little bit better, 1999-03-30 13:28:23 +00:00
ata Suser() simplification: 1999-04-27 11:18:52 +00:00
atkbdc Merge revs 1.57 and 1.60 of i386/isa/psm.c 1999-04-18 15:12:11 +00:00
bktr Use COMPAT_PCI_DRIVER() for registration if it exists. This shouldn't 1999-04-24 20:17:05 +00:00
buslogic Revert part of 1.9; we don't need to reset the port after release now that 1999-04-24 06:48:27 +00:00
ccd Fixed variable overflow problem. 1999-03-11 18:50:39 +00:00
cs Bring the 'new-bus' to the i386. This extensively changes the way the 1999-04-16 21:22:55 +00:00
cy Suser() simplification: 1999-04-27 11:18:52 +00:00
de Use COMPAT_PCI_DRIVER() for registration if it exists. This shouldn't 1999-04-24 20:17:05 +00:00
dec Add semicolon to INTERFACE declarations 1998-11-08 18:35:53 +00:00
dgb Suser() simplification: 1999-04-27 11:18:52 +00:00
dpt Use COMPAT_PCI_DRIVER() for registration if it exists. This shouldn't 1999-04-24 20:17:05 +00:00
ed Use COMPAT_PCI_DRIVER() for registration if it exists. This shouldn't 1999-04-24 20:17:05 +00:00
eisa GC some now unused (and #if 0) code. 1999-04-19 13:34:25 +00:00
en Suser() simplification: 1999-04-27 11:18:52 +00:00
ep Implement an EISA new-bus framework. The old driver probe mechanism 1999-04-18 15:50:35 +00:00
ex Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-28 01:59:53 +00:00
fb PCX loader for pseudo-device splash. 1999-04-12 13:39:11 +00:00
fdc Suser() simplification: 1999-04-27 11:18:52 +00:00
fe Added FE_8BIT_SUPPORT into the list. The fe driver includes opt_fe.h. 1999-03-03 10:40:27 +00:00
fxp Bring the 'new-bus' to the i386. This extensively changes the way the 1999-04-16 21:22:55 +00:00
hea Use COMPAT_PCI_DRIVER() for registration if it exists. This shouldn't 1999-04-24 20:17:05 +00:00
hfa Use COMPAT_PCI_DRIVER() for registration if it exists. This shouldn't 1999-04-24 20:17:05 +00:00
ic Implemented sending of BREAKs. This is quite complicated because the 1998-12-17 17:40:13 +00:00
ie Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-28 01:59:53 +00:00
iicbus Staticize. 1999-04-11 02:55:52 +00:00
isp Use COMPAT_PCI_DRIVER() for registration if it exists. This shouldn't 1999-04-24 20:17:05 +00:00
joy This commit fixes various 64bit portability problems required for 1998-06-07 17:13:14 +00:00
kbd Bring the 'new-bus' to the i386. This extensively changes the way the 1999-04-16 21:22:55 +00:00
lnc Use COMPAT_PCI_DRIVER() for registration if it exists. This shouldn't 1999-04-24 20:17:05 +00:00
mc146818 Major changes to the generic device framework for FreeBSD/alpha: 1998-06-14 13:46:10 +00:00
mcd Initialize isa_devtab entries for interrupt handlers in individual 1998-10-22 05:58:45 +00:00
mse Initialize isa_devtab entries for interrupt handlers in individual 1998-10-22 05:58:45 +00:00
pcf The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static 1998-12-07 21:58:50 +00:00
pci Replace the pcidevice_set linker set based configuration mechanism for old 1999-04-24 19:59:20 +00:00
pcm/isa Fix YMF719 detection (report by jose@we.lc.ehu.es). 1999-01-04 20:06:38 +00:00
pdq Use COMPAT_PCI_DRIVER() for registration if it exists. This shouldn't 1999-04-24 20:17:05 +00:00
ppbus Allow multiple opens. 1999-04-25 08:58:10 +00:00
ppc Return the port size from the probe. 1999-04-22 13:10:43 +00:00
rc Suser() simplification: 1999-04-27 11:18:52 +00:00
rp Suser() simplification: 1999-04-27 11:18:52 +00:00
scd Move a couple of functions to make __inline work. While I'm here, 1999-01-12 01:29:45 +00:00
si Suser() simplification: 1999-04-27 11:18:52 +00:00
sio Suser() simplification: 1999-04-27 11:18:52 +00:00
smbus Return approriate errors to userland. 1999-02-14 14:36:45 +00:00
snp Suser() simplification: 1999-04-27 11:18:52 +00:00
sound/isa Fix YMF719 detection (report by jose@we.lc.ehu.es). 1999-01-04 20:06:38 +00:00
speaker Fixed printf format errors. Only one left in LINT on i386's. 1998-08-24 02:28:16 +00:00
sr Use COMPAT_PCI_DRIVER() for registration if it exists. This shouldn't 1999-04-24 20:17:05 +00:00
streams Converted "streams" pseudo-device into a KLD 1999-02-22 11:44:46 +00:00
syscons Suser() simplification: 1999-04-27 11:18:52 +00:00
ti Use COMPAT_PCI_DRIVER() for registration if it exists. This shouldn't 1999-04-24 20:17:05 +00:00
tx Use COMPAT_PCI_DRIVER() for registration if it exists. This shouldn't 1999-04-24 20:17:05 +00:00
usb Forgot one. 1999-04-21 12:08:07 +00:00
vinum Suser() simplification: 1999-04-27 11:18:52 +00:00
vn Suser() simplification: 1999-04-27 11:18:52 +00:00
vr Use COMPAT_PCI_DRIVER() for registration if it exists. This shouldn't 1999-04-24 20:17:05 +00:00
vx Use COMPAT_PCI_DRIVER() for registration if it exists. This shouldn't 1999-04-24 20:17:05 +00:00
wl Suser() simplification: 1999-04-27 11:18:52 +00:00