FreeBSD src
Go to file
dillon cdfce93ee2 Add routines to convert time_t to/from fixed-bit fields. These routines
serve two purposes: (1) so we can maintain backwards compatibility with
protocols (rwhod, dump, etc...) that either assume time_t is 32 bits or
assume sizeof(time_t) == sizeof(int), or make other similar assumptions.
(2) To tag such routines (by the presence of these calls) for future
cleanup/extension work.

The 32->64 routine, time32_to_time() (when time_t is 64 bits, that is),
is defined specifically to implement temporal locality to properly set the
msb bits of a 64 bit time_t quantity, using the 50 year rule.  The locality
code has not been implemented yet (and doesn't need to be for a while),
but that is the intent.   This will allow us to maintain backwards protocol
compatibility past 2038.

These routines are intended to be platform and time_t agnostic.

MFC after:	1 week
2001-10-28 19:54:49 +00:00
bin Use a quad int conversion routine for time_t instead of ulong, capable of 2001-10-28 02:51:43 +00:00
contrib Diff-reduce these two. 2001-10-27 12:49:19 +00:00
crypto Diff-reduce these two. 2001-10-27 12:49:19 +00:00
etc Explain that /var/log/all.log needs to be touched and chmod'd 'ere it 2001-10-28 13:41:30 +00:00
games Correct attribution. 2001-10-28 13:23:39 +00:00
gnu There are users of FreeBSD 4.5 already. 2001-10-26 17:01:15 +00:00
include Add routines to convert time_t to/from fixed-bit fields. These routines 2001-10-28 19:54:49 +00:00
kerberos5 also install roken-common.h 2001-10-05 04:56:37 +00:00
kerberosIV Diff reduce all the crypto telnet Makefiles. 2001-08-20 12:32:45 +00:00
lib Add routines to convert time_t to/from fixed-bit fields. These routines 2001-10-28 19:54:49 +00:00
libexec When we set our UID to `nobody', set an appropriate group also. 2001-10-22 01:55:40 +00:00
release Turn on table-of-contents generation for the release notes and 2001-10-27 02:41:29 +00:00
sbin Typo. 2001-10-28 16:47:06 +00:00
secure __FBSDID() (second half of src/lib/libcrypt changes) 2001-10-23 10:23:32 +00:00
share Only provide function information in compile environments that support 2001-10-27 20:11:10 +00:00
sys Revert the reindentation of struct task's definition from rev 1.4. 2001-10-28 16:19:34 +00:00
tools Make a start at a regression test for the unaligned trap handler. 2001-10-19 22:10:13 +00:00
usr.bin Make this compile cleanly when warnings are enabled: 2001-10-28 18:35:32 +00:00
usr.sbin Explicitly use int32_t for on-disk records for pw_change and pw_expire, 2001-10-27 02:13:41 +00:00
COPYRIGHT Update to add the July 22, 1999 addendum. 1999-09-05 21:33:47 +00:00
Makefile Make it possible to build manpages for the entire source tree. 2001-03-27 08:43:28 +00:00
Makefile.inc1 Fix cross-building further. 2001-10-25 07:28:55 +00:00
Makefile.upgrade $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
README Slightly improve the description of "crypto". "DES" is a subset of 2000-08-31 17:59:01 +00:00
UPDATING Add Soren's burncd warning. 2001-10-02 07:01:27 +00:00

This is the top level of the FreeBSD source directory.  This file
was last revised on:
$FreeBSD$

For copyright information, please see the file COPYRIGHT in this
directory (additional copyright information also exists for some
sources in this tree - please see the specific source directories for
more information).

The Makefile in this directory supports a number of targets for
building components (or all) of the FreeBSD source tree, the most
commonly used one being ``world'', which rebuilds and installs
everything in the FreeBSD system from the source tree except the
kernel, the kernel-modules and the contents of /etc.  The
``buildkernel'' and ``installkernel'' targets build and install
the kernel and the modules (see below).  Please see the top of
the Makefile in this directory for more information on the
standard build targets and compile-time flags.

Building a kernel is a somewhat more involved process, documentation
for which can be found at:
   http://www.freebsd.org/handbook/kernelconfig.html
And in the config(8) man page.
Note: If you want to build and install the kernel with the
``buildkernel'' and ``installkernel'' targets, you have to build
world before.  More information is available in the handbook.

The sample kernel configuration files reside in the sys/i386/conf
sub-directory (assuming that you've installed the kernel sources), the
file named GENERIC being the one used to build your initial installation
kernel.  The file NOTES contains entries and documentation for all possible
devices, not just those commonly used.  It is the successor of the ancient
LINT file, but in contrast to LINT, it is not buildable as a kernel but a
pure reference and documentation file.


Source Roadmap:
---------------
bin		System/User commands.

contrib		Packages contributed by 3rd parties.

crypto		Cryptography stuff (see crypto/README).

etc		Template files for /etc

games		Amusements.

gnu		Various commands and libraries under the GNU Public License.
		Please see gnu/COPYING* for more information.

include		System include files.

kerberosIV	Kerberos package.

lib		System libraries.

libexec		System daemons.

release		Release building Makefile & associated tools.

sbin		System commands.

secure		Cryptographic libraries and commands.

share		Shared resources.

sys		Kernel sources.

tools		Utilities for regression testing and miscellaneous tasks.

usr.bin		User commands.

usr.sbin	System administration commands.


For information on synchronizing your source tree with one or more of
the FreeBSD Project's development branches, please see:

  http://www.freebsd.org/handbook/synching.html