1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00
freebsd/include
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
..
arpa Be more strict about exposing BSD-specific functions when a standard 2002-04-10 10:51:53 +00:00
protocols WARNS-n and lint(1) silencer. Declare (const) strings properly as 2002-02-03 12:00:05 +00:00
rpc Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
rpcsvc Missed a __P in a .x file, remove it anyway 2002-03-24 01:11:49 +00:00
_ctype.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
a.out.h
ar.h
assert.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
bitstring.h
complex.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
ctype.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
db.h Fixed some style bugs in the removal of __P(()). Some function parameter 2002-03-26 01:35:05 +00:00
dirent.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
dlfcn.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
elf-hints.h * include/elf.h has been repo copied to include/elf-hints.h, and it no 2001-05-02 23:56:21 +00:00
elf.h Update copyright. 2001-06-09 05:22:31 +00:00
err.h Join continuation lines that fit in 80 columns after removal of __P(()). 2002-03-26 01:37:03 +00:00
fnmatch.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
fstab.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
fts.h Fixed some style bugs in the removal of __P(()). Some function parameter 2002-03-26 01:35:05 +00:00
glob.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
grp.h Include <sys/_types.h>. This should have been part of the previous 2002-04-15 03:33:27 +00:00
hesiod.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
histedit.h Merge style with NetBSD -- ANSI-C prototypes, style(9) tabing, etc. 2001-10-01 21:07:33 +00:00
ieeefp.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
ifaddrs.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
inttypes.h Add support for C++. 2002-01-06 19:04:12 +00:00
iso646.h
kenv.h Rework the kernel environment subsystem. We now convert the static 2002-04-17 13:06:36 +00:00
langinfo.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
libgen.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
limits.h After one too many PRs on the subject, bite the bullet and define IOV_MAX 2001-06-18 20:24:54 +00:00
link.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
locale.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
Makefile Rework the kernel environment subsystem. We now convert the static 2002-04-17 13:06:36 +00:00
malloc.h Traditionally work in the -traditional case. 2001-11-07 23:14:31 +00:00
math.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
memory.h
monetary.h * style(9)'ify 2001-12-12 15:41:08 +00:00
mpool.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
ndbm.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
netconfig.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
netdb.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
nl_types.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
nlist.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
nsswitch.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
objformat.h
paths.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
pthread_np.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
pthread.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
pwd.h (ab)use unused bits in the pw_fields member of struct passwd to record 2002-04-14 22:24:55 +00:00
ranlib.h
readpassphrase.h Synch with OpenBSD (style). 2002-03-08 20:52:52 +00:00
regex.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
regexp.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
resolv.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
rune.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
runetype.h Fixed some style bugs in the removal of __P(()). Some function parameter 2002-03-26 01:35:05 +00:00
search.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
setjmp.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
sgtty.h
signal.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
stab.h
stdbool.h Remove comment, which didn't even help anyway. 2001-08-13 13:29:29 +00:00
stddef.h Back out rev 1.4 (wint_t and mbstate_t) as I am tired of the complaints. 2001-05-24 19:29:15 +00:00
stdio.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
stdlib.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
strhash.h
string.h Add support for X/Open. 2002-04-15 03:21:21 +00:00
stringlist.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
strings.h o Move some function prototypes from <string.h> to the newly rewritten 2002-04-04 05:41:57 +00:00
sysexits.h
tar.h
time.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
timers.h
ttyent.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
unistd.h o Implement <sys/_types.h>, a new header for storing types that are 2002-04-01 08:12:25 +00:00
utime.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
utmp.h ll_time and ut_time are int32_t on disk and have to remain that way 2001-10-27 20:40:54 +00:00
vis.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
wchar.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00
wctype.h Breath deep and take __P out of the system include files. 2002-03-23 17:24:55 +00:00