freebsd kernel with SKQ
Go to file
bde 8310ab84a1 Quick fix for non-unique inode numbers for hard links. We use the
byte offset of the directory entry for the inode number for all types
of files except directories, although this breaks hard links for
non-directories even if it doesn't cause overflow.  Just ignore this
broken inode number for stat() and readdir() and return a less broken
one (the block offset of the file), so that applications normally can't
see the brokenness.

This leaves at least the following brokenness:
- extra inodes, vnodes and caching for hard links.
- various overflow bugs.  cd9660 supports 64-bit block numbers, but we
  silently ignore the top 32 bits in isonum_733() and then drop another
  10 bits for our broken inode numbers.  We may also have sign extension
  bugs from storing 32-bit extents in ints and longs even if ints are
  32-bits.  These bugs affect DVDs.  mkisofs apparently limits them
  by writing directory entries first.

Inode numbers were broken mainly in 4.4BSD-Lite2.  FreeBSD-1.1.5 seems
to have a correct implementation modulo the overflow bugs.  We need
to look up directory entries from inodes for symlinks only.  FreeBSD-1.1.5
use separate fields (iso_parent_extent, iso_parent) to point to the
directory entry.  4.4BSD-Lite doesn't have these, and abuses i_ino to
point to the directory entry.  Correct pointers are impossible for
hard links, but symlinks can't be hard links.
2002-05-22 08:50:18 +00:00
bin Bring back the cd -L and -P options from revision 1.24, but try harder not 2002-05-22 05:15:53 +00:00
contrib This commit was generated by cvs2svn to compensate for changes in r97055, 2002-05-21 06:52:47 +00:00
crypto Remove _PATH_CP now that it is defined in paths.h 2002-05-12 01:52:11 +00:00
etc There are still many broken nameservers out there in the wild. Even 2002-05-21 02:02:23 +00:00
games Do not guess what a bool is, just use it. 2002-05-21 08:34:18 +00:00
gnu Remove ptx. It is not used anywhere in the base system, has not been 2002-05-21 09:20:34 +00:00
include Move _PATH_WALL from dump and shutdown's local pathnames.h to paths.h. 2002-05-17 11:47:12 +00:00
kerberos5 Make this -j safe. 2002-05-14 15:27:13 +00:00
kerberosIV This code is no longer WARNS level 2 OK. 2002-05-15 06:32:29 +00:00
lib Make this a little easier to build standalone. (same change as libpanel) 2002-05-21 07:08:30 +00:00
libexec Include machine/ia64_cpu.h because we use ia64_mf(). 2002-05-21 00:04:08 +00:00
release New release notes: ls(1) -m/-p/-x, sh(1) -C/-u, tabs(1). 2002-05-21 03:26:42 +00:00
sbin Allow prefix/prefixlen syntax for IPv6 to have consistency 2002-05-21 18:11:31 +00:00
secure for OpenSSL 0.9.5a 2002-05-15 09:17:27 +00:00
share Don't build doc on ia64. No groff in sight. 2002-05-22 01:04:42 +00:00
sys Quick fix for non-unique inode numbers for hard links. We use the 2002-05-22 08:50:18 +00:00
tools Update to match kernel side. 2002-05-21 20:42:51 +00:00
usr.bin Make ReadMakefile() operate using the realpath(3) name for the file handed to 2002-05-21 20:24:46 +00:00
usr.sbin Added support for ia64 and sparc64. 2002-05-21 15:36:29 +00:00
COPYRIGHT
MAINTAINERS Use more common phrasing for the "request reviews" text. Add UFS EAs, 2002-05-20 13:08:32 +00:00
Makefile Added new bsd.incs.mk which handles installing of header files 2002-05-12 16:01:00 +00:00
Makefile.inc1 Bootstrap elf2aout(1) for sparc64; used to build sys/boot/sparc64/boot1. 2002-05-20 14:42:48 +00:00
Makefile.upgrade Removed "env" commands. "sh" is a real shell, so 2002-03-19 05:58:36 +00:00
README Spell "FreeBSD" correctly. 2002-03-26 12:35:49 +00:00
UPDATING Add a note that NO_WERROR is a good idea for the time being due to the 2002-05-20 13:06:24 +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 might need to build
world before.  More information is available in the handbook.

The sample kernel configuration files reside in the sys/<arch>/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.

kerberos5	Kerberos5 (Heimdal) package.

kerberosIV	KerberosIV (eBones) 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