1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-29 12:03:03 +00:00
freebsd/sys/dev/mly
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
..
mly_tables.h Fix warnings (comment out unused tables that are taking space in the 2002-02-27 23:57:18 +00:00
mly.c Rework the kernel environment subsystem. We now convert the static 2002-04-17 13:06:36 +00:00
mlyio.h Merge with latest version of the Mylex 6+ driver. 2001-07-14 00:12:23 +00:00
mlyreg.h
mlyvar.h Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00