freebsd-skq/sys/pc98
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
..
apm Remove __P. 2002-03-20 11:52:56 +00:00
cbus Merged from sys/isa/fd.c revision 1.228. 2002-04-06 06:43:55 +00:00
compile Don't need the .keep_me files. Obrien and I committed past each other. 2001-07-01 23:35:44 +00:00
conf GC various bits and pieces of USERCONFIG from all over the place. 2002-04-09 11:18:46 +00:00
i386 Rework the kernel environment subsystem. We now convert the static 2002-04-17 13:06:36 +00:00
pc98 Rework the kernel environment subsystem. We now convert the static 2002-04-17 13:06:36 +00:00