freebsd-skq/sys/alpha
mux a207e41bef 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
..
alpha Rework the kernel environment subsystem. We now convert the static 2002-04-17 13:06:36 +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 Turn on TGA support. 2002-04-13 22:34:16 +00:00
include Include <sys/cdefs.h> for definition of __BSD_VISIBLE. 2002-04-12 15:56:45 +00:00
isa Don't grab the ICU lock while reading the current pending interrupts and 2002-02-08 18:30:36 +00:00
linux Remove __P(). This was tested on the GENERIC kernel. 2002-03-20 18:58:47 +00:00
mcbus Initialise the AS4100 console at the same time as most of the other 2002-03-26 19:46:40 +00:00
osf1 Rework logic of syscalls that modify process credentials as described in 2002-04-13 23:11:23 +00:00
pci I am not sure why ## was used in this macro, as w/o the string concatenation 2002-04-17 04:31:43 +00:00
tc Remove __P(). This was tested on the GENERIC kernel. 2002-03-20 18:58:47 +00:00
tlsb Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
Makefile Add a dopey makefile to do the tags dance, which is probably not perfect 2000-12-31 23:26:34 +00:00