freebsd kernel with SKQ
Go to file
bde 5f8a4bf5ab Removed the broken code which claimed to lose the set[ug]id bits in
the !(pflag && setfile()) case for regular files unless the copy is
owned by the same user and group.  These bits have already been lost
(or never gained) in the correct way.  The code didn't actually lose
the bits; it depended on them being lost already (apparently in all
cases) and attempted to gain them as necessary, but it often gained
them (and sometimes collateral bits) when wrong:
- pflag && setfile() == 0 case (i.e., for a successful cp -p):
  setfile() copies all the attributes as correctly as possible (as
  specified by POSIX), and we sometimes messed up the up the mode by
  setting it again.  Also, if the file is immutable, then setting the
  mode again gave spurious errors (PR 20646).
- !pflag case.  If the target is created, POSIX requires it to not
  have the set[ug]id bits, but we sometimes copied them from the source.
  If the target already exists, POSIX requires its mode to be unchanged,
  but we sometimes copied the whole mode from the source.

PR:		20646
MFC after:	4 weeks
2001-06-11 13:57:54 +00:00
bin Removed the broken code which claimed to lose the set[ug]id bits in 2001-06-11 13:57:54 +00:00
contrib Understand new locale names and Latin15 too 2001-06-10 17:03:37 +00:00
crypto Switch to the user's uid before attempting to unlink the auth forwarding 2001-06-08 22:22:09 +00:00
etc prefixcmd_enable was obsoleted by syncing recent KAME. New prefix(8) 2001-06-11 13:28:05 +00:00
games Fix ISO_ to preferred MIME name 2001-06-10 20:30:41 +00:00
gnu In debug mode don't print error for C,POSIX,ASCII,US-ASCII locales 2001-06-10 23:42:31 +00:00
include Implement EDNS0 support, as EDNS0 support will be made mandatory for 2001-06-10 20:25:24 +00:00
kerberos5 Install this SUID root. Heck, it is su, after all. 2001-06-04 19:54:35 +00:00
kerberosIV Fix PAMized telnet in exactly the same way as BDE did it for the other 2001-05-11 09:39:11 +00:00
lib Sync with recent KAME. 2001-06-11 12:39:29 +00:00
libexec Fix the number of bytes allocated by realloc when more space is needed 2001-06-07 20:05:18 +00:00
release ISO_ -> ISO 2001-06-11 02:00:33 +00:00
sbin Sync with recent KAME. 2001-06-11 12:39:29 +00:00
secure Update for OpenSSL 0.9.6a 2001-05-20 03:43:14 +00:00
share Sync with recent KAME. 2001-06-11 12:39:29 +00:00
sys Sync with recent KAME. 2001-06-11 12:39:29 +00:00
tools ISO_ -> ISO 2001-06-11 01:29:40 +00:00
usr.bin Sync with recent KAME. 2001-06-11 12:39:29 +00:00
usr.sbin Sync with recent KAME. 2001-06-11 12:39:29 +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 Bootstrap install(1). 2001-05-28 16:54:02 +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 Provide better advise than the last commit to UPDATING advocated about 2001-06-10 03:09:52 +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