FreeBSD src
Go to file
Ian Dowse 42d5b03cfc Fix emulation of the fcntl64() syscall. In Linux, this is exactly
the same as fcntl() except that it supports the new 64-bit file
locking commands (LINUX_F_GETLK64 etc) that use the `flock64'
structure. We had been interpreting all flock structures passed to
fcntl64() as `struct flock64' instead of only the ones from F_*64
commands.

The glibc in linux_base-7 uses fcntl64() by default, but the bug
was often non-fatal since the misinterpretation typically only
causes junk to appear in the `l_len' field and most junk values are
accepted as valid range lengths. The result is occasional EINVAL
errors from F_SETLK and a few bytes after the supplied `struct
flock' getting clobbered during F_GETLK.

PR:		kern/37656
Reviewed by:	marcel
Approved by:	re
MFC after:	1 week
2002-12-08 18:30:44 +00:00
bin Capitalize ASCII code names. 2002-12-05 08:50:00 +00:00
contrib _NIH, __NIH__, __N_I_H__, __nih__, _niH_. 2002-12-05 18:40:24 +00:00
crypto Since OpenSSH drops privileges before calling pam_open_session(3), 2002-12-03 15:48:11 +00:00
etc Avoid using perl in the periodic & security scripts. This brings the 2002-12-07 23:37:44 +00:00
games mdoc(7) police: sweep. 2002-11-29 16:21:33 +00:00
gnu We need to support the bfd_efi_app_ia64_vec vector for loader support. 2002-12-05 18:27:22 +00:00
include Don't install old LOMAC include files; do install new mac_lomac 2002-12-03 15:05:32 +00:00
kerberos5 Update version numbers after import of Heimdal 0.5.1. 2002-11-24 21:00:51 +00:00
kerberosIV update version numbers to (consistenly): 2002-10-23 06:12:21 +00:00
lib Do not guarantee an overflow of tm_year when doing the binary search in 2002-12-05 19:54:47 +00:00
libexec Fix rtld to handle SPARC_R_UA{16,64} relocations correctly. 2002-12-05 16:58:31 +00:00
release Add FAQ entries on dealing with ACPI issues and enabling the ISA drivers 2002-12-08 17:24:38 +00:00
sbin Slow down the operation of background fsck so as to leave some disk 2002-12-07 21:40:31 +00:00
secure Remove myself as maintainer of openssl; I no longer have enough time to 2002-11-21 08:48:08 +00:00
share Provide enhanced information on configuring SMP support in a kernel. 2002-12-07 01:50:06 +00:00
sys Fix emulation of the fcntl64() syscall. In Linux, this is exactly 2002-12-08 18:30:44 +00:00
tools Add a test for what was fixed in revisions 1.39 and 1.50 of 2002-11-28 13:21:32 +00:00
usr.bin Capitalize ASCII code names. 2002-12-05 08:50:00 +00:00
usr.sbin - Use some macros to define common text between the dialog boxes to set the 2002-12-05 22:10:39 +00:00
COPYRIGHT Update to add the July 22, 1999 addendum. 1999-09-05 21:33:47 +00:00
MAINTAINERS Note file, one-true-awk, lukemftpd. 2002-11-28 00:02:25 +00:00
Makefile Minor, cosmetic change to buildworld output to make it reflect 2002-12-03 17:49:05 +00:00
Makefile.inc1 For installkernel, use the fresh tools (if we've built them with 2002-12-02 14:03:40 +00:00
Makefile.upgrade Removed "env" commands. "sh" is a real shell, so 2002-03-19 05:58:36 +00:00
README Fix broken handbook links. 2002-07-21 16:45:30 +00:00
UPDATING Add an entry for sparc64 users to warn them about potential problems 2002-12-06 13:19:35 +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/doc/en_US.ISO8859-1/books/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/doc/en_US.ISO8859-1/books/handbook/synching.html