<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test/include/kenv.h, branch stable/6</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test/atom?h=stable%2F6</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test/atom?h=stable%2F6'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/'/>
<updated>2007-01-04T19:59:41Z</updated>
<entry>
<title>MFC: Fix kenv() function prototype.</title>
<updated>2007-01-04T19:59:41Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2007-01-04T19:59:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=759a63a87c9181b51753346bac1bab87be410c7f'/>
<id>urn:sha1:759a63a87c9181b51753346bac1bab87be410c7f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rework the kernel environment subsystem.  We now convert the static</title>
<updated>2002-04-17T13:06:36Z</updated>
<author>
<name>Maxime Henrion</name>
<email>mux@FreeBSD.org</email>
</author>
<published>2002-04-17T13:06:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=d786139c76ad8d7cd25f962f7e67d4af98685418'/>
<id>urn:sha1:d786139c76ad8d7cd25f962f7e67d4af98685418</id>
<content type='text'>
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
</content>
</entry>
</feed>
