HardenedBSD/include
Garrett Wollman 9ae159169a Make it easier for programs to figure out what revision of FreeBSD they
are running under.  Here's how to bootstrap (order is important):

1) Re-compile gcc (just the driver is all you need).
2) Re-compile libc.
3) Re-compile your kernel.  Reboot.
4) cd /usr/src/include; make install

You can now detect the compilation environment with the following code:

#if !defined(__FreeBSD__)
#define __FreeBSD_version 199401
#elif __FreeBSD__ == 1
#define __FreeBSD_version 199405
#else
#include <osreldate.h>
#endif

You can determine the run-time environment by calling the new C library
function getosreldate(), or by examining the MIB variable kern.osreldate.

For the time being, the release date is defined as 199409, which we have
already established as our target.
1994-08-10 06:25:07 +00:00
..
arpa BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
protocols BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
rpc Use the header files that are compatible with the code just moved over 1994-08-07 18:41:02 +00:00
rpcsvc Moved 1.1.5 RPC service files from 1.1.5. Tese are the correct ones; 1994-08-04 19:01:57 +00:00
_ctype.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
a.out.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
ar.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
assert.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
bitstring.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
ctype.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
db.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
dirent.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
disktab.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
err.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
fnmatch.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
fstab.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
fts.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
glob.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
grp.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
histedit.h histedit.h is now installed from here, not from libedit. 1994-08-04 20:49:28 +00:00
kvm.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
limits.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
link.h This is the new link.h from Paul K. Keeping history is even probably a bad 1994-02-13 20:47:18 +00:00
locale.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
Makefile Make it easier for programs to figure out what revision of FreeBSD they 1994-08-10 06:25:07 +00:00
math.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
memory.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
mpool.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
ndbm.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
netdb.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
nlist.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
paths.h Update the Makefile to work correctly when copying and/or symlinking 1994-05-26 13:48:52 +00:00
pwd.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
ranlib.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
regex.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
regexp.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
resolv.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
rune.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
runetype.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
setjmp.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
sgtty.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
signal.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
stab.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
stddef.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
stdio.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
stdlib.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
string.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
strings.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
struct.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
sysexits.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
tar.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
time.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
ttyent.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
tzfile.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
unistd.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
utime.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
utmp.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
vis.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00