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
..
2002-04-05 20:00:29 +00:00
2002-03-20 02:08:01 +00:00
2002-03-20 08:56:31 +00:00
2002-03-20 02:08:01 +00:00
2001-11-15 07:52:49 +00:00
2002-03-20 02:08:01 +00:00
2001-11-03 08:32:28 +00:00
2002-01-08 06:47:55 +00:00
2002-04-02 05:52:52 +00:00
2002-04-06 00:36:53 +00:00
2002-03-20 02:08:01 +00:00
2002-03-20 02:08:01 +00:00
2002-03-20 02:08:01 +00:00
2002-02-04 15:55:21 +00:00
2002-04-13 22:34:16 +00:00
2002-02-04 14:01:27 +00:00
2002-04-13 22:34:16 +00:00
2002-03-20 02:08:01 +00:00
2002-03-23 19:37:11 +00:00
2001-07-02 05:29:58 +00:00
2002-03-20 02:08:01 +00:00
2002-03-20 02:08:01 +00:00
2002-03-20 02:08:01 +00:00
2002-03-20 02:08:01 +00:00
2002-03-20 09:55:07 +00:00
2002-04-07 20:56:19 +00:00
2002-04-17 01:50:03 +00:00
2002-03-20 02:08:01 +00:00
2002-03-20 02:08:01 +00:00
2002-04-11 21:19:04 +00:00
2002-04-17 00:31:32 +00:00
2002-03-23 15:36:13 +00:00
2002-04-09 00:35:26 +00:00
2001-11-15 07:52:49 +00:00
2002-03-20 02:08:01 +00:00
2002-03-20 07:51:46 +00:00
2002-03-20 02:08:01 +00:00
2002-03-20 02:08:01 +00:00
2002-03-19 23:20:21 +00:00
2002-04-13 22:34:16 +00:00
2002-01-14 00:13:45 +00:00
2002-03-20 02:08:01 +00:00
2002-03-20 02:08:01 +00:00
2002-04-16 07:45:30 +00:00
2002-02-26 03:37:35 +00:00