freebsd-dev/sys/dev
Maxime Henrion d786139c76 Rework the kernel environment subsystem. We now convert the static
environment needed at boot time to a dynamic subsystem when VM is
up.  The dynamic kernel environment is protected by an sx lock.

This adds some new functions to manipulate the kernel environment :
freeenv(), setenv(), unsetenv() and testenv().  freeenv() has to be
called after every getenv() when you have finished using the string.
testenv() only tests if an environment variable is present, and
doesn't require a freeenv() call. setenv() and unsetenv() are self
explanatory.

The kenv(2) syscall exports these new functionalities to userland,
mainly for kenv(1).

Reviewed by:	peter
2002-04-17 13:06:36 +00:00
..
aac Add support for the Dell 2650 2002-04-05 20:00:29 +00:00
acpica Rework the kernel environment subsystem. We now convert the static 2002-04-17 13:06:36 +00:00
advansys
agp Fix some nits in AMD AGP driver. Remove excess malloc and move a bzero 2002-04-15 18:57:26 +00:00
aha
ahb
aic Remove __P. 2002-03-20 02:08:01 +00:00
aic7xxx Remove __P. 2002-03-20 08:56:31 +00:00
amd
amr Fixed printf format errors in previous commit. %llu is no more suitable 2002-03-18 23:24:00 +00:00
an Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
ar Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +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 Add support for the nVIDIA nForce ATA controller. 2002-04-16 08:30:51 +00:00
atkbdc GC various bits and pieces of USERCONFIG from all over the place. 2002-04-09 11:18:46 +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 Try to sort out the correct way to generate async link state change 2002-04-04 06:01:31 +00:00
bktr Fix bktr and pcf compilation with LINT 2002-03-25 21:22:35 +00:00
buslogic
cardbus Revert most of the recent PCI merge. This has proven to be too 2002-03-15 06:41:01 +00:00
ccd Move generic disk ioctls from <sys/disklabel.h> to <sys/disk.h>. 2002-04-08 09:20:07 +00:00
ciss Fix the I/O performance issues with the ciss driver where CAM was limiting 2002-04-11 09:28:09 +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
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 Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
de
dec
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 Yet another adjustment of digi_delay(). The delay is now consistent 2002-04-10 14:32:55 +00:00
dpt
ed More newcard devices: 2002-04-02 05:52:52 +00:00
eisa GC various bits and pieces of USERCONFIG from all over the place. 2002-04-09 11:18:46 +00:00
em Added support for 82540EM based cards. 2002-04-06 00:36:53 +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
fb Turn on TGA support. 2002-04-13 22:34:16 +00:00
fdc When reading a UFS-style label from a floppy, don't attempt to use a 2002-04-02 18:29:43 +00:00
fe
fxp Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
gem In some cases, RX descriptors that are signalled to have been completed 2002-03-23 19:43:15 +00:00
gfb Turn on TGA support. 2002-04-13 22:34:16 +00:00
gx Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
hea Remove __P. 2002-03-20 02:08:01 +00:00
hfa - Convert the 'hfa' ATM interface driver to newbus. 2002-04-17 00:26:09 +00:00
hme Assorted fixes: 2002-03-23 19:37:11 +00:00
ic
ichsmb Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
ida Here follows the new kernel dumping infrastructure. 2002-03-31 22:37:00 +00:00
ie
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 Scale back # of luns supported for SCC to 16384- oops- top 3 bits are a 2002-04-16 19:55:35 +00:00
ispfw Remove __P. 2002-03-20 02:08:01 +00:00
joy
kbd GC various bits and pieces of USERCONFIG from all over the place. 2002-04-09 11:18:46 +00:00
lge Remove __P. 2002-03-20 02:08:01 +00:00
lmc Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
lnc Remove __P. 2002-03-20 02:08:01 +00:00
mc146818
mca
mcd Retire the bogus ioctl DIOCGPART in toto. 2002-04-02 11:52:13 +00:00
md Remove unused include. 2002-03-20 09:55:07 +00:00
mii Regenerate. 2002-04-07 20:56:19 +00:00
mk48txx Add a driver back end for the Mostek MK48T02, MK48T08 and MK48T59 2002-04-04 23:44:42 +00:00
mlx Fixed printf format errors in previous commit. %llu is no more suitable 2002-03-18 23:38:16 +00:00
mly Rework the kernel environment subsystem. We now convert the static 2002-04-17 13:06:36 +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
my diff reduction 2002-04-17 01:50:03 +00:00
ncv Remove __P. 2002-03-20 02:08:01 +00:00
nge If the receiver runs out of space for an received frame in the internal 2002-04-13 21:33:33 +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 Rename DIOCGKERNELDUMP to DIOCSKERNELDUMP as it strictly speaking 2002-04-09 10:04:09 +00:00
ofw Basic OpenFirmware disk driver. It will attach to anything in OpenFirmware 2002-04-15 10:54:22 +00:00
pccard Catchup to 1.32 2002-04-11 21:19:04 +00:00
pccbb Restore NetBSD copyrights that shouldn't have been removed in the first place. 2002-04-13 04:07:07 +00:00
pcf Fix bktr and pcf compilation with LINT 2002-03-25 21:22:35 +00:00
pci Add MODULE_VERSION. 2002-04-17 00:31:32 +00:00
pcic
pdq Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
ppbus This makes ppbus childs like lpt and ppi succesfully connect to more 2002-04-07 22:06:20 +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 callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
ray
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 Retire the bogus ioctl DIOCGPART in toto. 2002-04-02 11:52:13 +00:00
se Use the right major number. 2002-04-09 00:35:26 +00:00
sf Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +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 callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
sk Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
smbus Major rework of the iicbus/smbus framework: 2002-03-23 15:49:15 +00:00
sn
snc Remove __P. 2002-03-20 02:08:01 +00:00
snp Treat input on the snp device as an `unsigned char'. According to the 2002-04-10 03:51:49 +00:00
sound Cast another bus_addr_t to long long for a printf to quiet a warning on 2002-04-16 01:58:13 +00:00
speaker Remove __P. 2002-03-20 07:51:46 +00:00
sr Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +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 Turn on TGA support. 2002-04-13 22:34:16 +00:00
tdfx
tga
ti Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +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 Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
usb Revert part of revision 1.49 which was supposed to be white space 2002-04-17 12:03:20 +00:00
vinum Move generic disk ioctls from <sys/disklabel.h> to <sys/disk.h>. 2002-04-08 09:20:07 +00:00
vr Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
vx Remove __P. 2002-03-20 02:08:01 +00:00
wds
wi Merge from OpenBSD's fixes: 2002-04-16 07:45:30 +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